Results for "Category: Custom Controls/ Forms/ Menus"
This ActiveX control makes it extremely easy to create server applications. It uses an array of Winsock controls to handle multiple connections. Start the server with one line of code! I included a sample project and a detailed explanation of all the events, properties, and methods, so you can see exactly how it is used (readme.rtf). Since PSC removes the OCX file from my zip, you can get it here: http://www.bouncefilterware.com/drew/ServerControl.ocx -- Your comments/questions/suggestions are welcome. UPDATE: I added a broadcast function. Although it's not the proper way to broadcast data, it works.
Visual Basic Listbox with highlight and scrollbar. It allows multiple fonts, and different backcolors and forcolors concurrently. This demo uses a mini database to populate the listbox.
This is a great button control if you want to build professional-looking applications. It provides 6 different styles, including a Cool (Rebar) style, flat, standard (3D) and 2 different Options styles. Allows for different pictures, colors and fonts in all 3 states -- normal, hover and selected. Has all the other properties of a standard button, so it is a great replacement. 12/21 -- added Cancel and Default properties. **Feedback is greatly appreciated**
Autotext is an extended API implementation of Visual Basic's Combo Box. The control can be used as an autotype combobox or an autotype textbox. This code contains a proper implementation of an API timer class as well, using soft references to avoid GPFs. Allows custom context menus and allows the default context menus to be disabled. Raises a Menu_Click event which specifies which menu item was clicked. Has mouse down, mouse move and mouse up events. Code shows how to create a mouse hook. Switchboard code insures that the proper control recieves the right notifications. Has a SyncByItemData function to select an entry by an ItemData entry. Has a FillWithRecSet function to enable it to be filled directly with a recordset. You can specify the ordinal postion within the recordset that you want the drop-down list to be filled with. If you do not require the ItemData to be set, you must specify the optional default ordinal position of one to be zero. Implements an extended interface to make the control faster than the default implementation. eg. Dim eboName As IAutoText Set eboName = cboName.Object I have borrowed many snippets of code from this site an thought that it was my turn to share one of my gems with the people of Planet Source Code. This ActiveX is being used by many programs and has been thouroughly tested for flaws. My thanks to all the people who have contributed to Planet Source Code. PS. Vote if you want to.
Have Tabs without Microsoft big OCX. I think this is nearly finished. Try right clicking on the frame control to bring up a popup menu.
Want anyone with a common web browser to be able to upload files to your ASP application? Here's a great little component to help you do it. This component builds on the standard mechanism web browsers provide for uploading files. Since IIS doesn't provide any simple built-in way to deal with this, this component fills the void. Here's how simple your ASP code can be: Set Upload = Server.CreateObject("Carnicelli.FileUpload") Upload.Save "C:\Temp" Response.Write "<LI>" & Upload.Form("Email") Response.Write "<LI>" & Upload.File(1).FileName I crammed a number of useful features for manipulating the resulting files, generating unique file names, and more. This code teaches many programming lessons. It demonstrates MIME processing, array and string manipulation (includes powerful array and string manipulation libraries), generating unique file names, real-time stream processing, interfacing with IIS' built-in objects (e.g., "Request" and "Session") without help from the ASP code, binary file manipulation, processing with a finite-state-machine model, MTX (Transaction Server) components, and more. Please comment on this code and vote for my hard work if you like this code. -------------------------------------------------- Now there's a commercial version of this product available. It's been rebuilt from the ground up, correcting all the issues you've reported here and including new features. And it comes complete with extensive documentation and good service. Check it out!
I came across an alternative progressbar. I thought it was a good idea, but it didn't use smooth 'scrolling'. I came up with this sub routine. I included an example.
Ever wanted to make a cool shaped form....well....this code is for you. Just look at the screenshot. Oh and, don't feel obligated to vote!Thanx yall!(inspired by previous PSC entries.)
It is an example how to make a popup menu using a file (popup.ini) like mIRC. This code is fully commented. I'VE ADDED SUPPORT TO UNLIMITED SUBMENUS AND SUPPORT TO BACKGROUND. I'VE INCLUDED THE SOURCE OF SSUBTMR.DLL IN THIS PROJECT. SO IT ISN'T USING DLLS. THIS IS A GREAT CODE GUYS. PLEASE VOTE FOR ME IF YOU LIKE IT. AND LEAVE A FEEDBACK.
Did you know that VB 5/6 applications will not render their controls with the new visual themes under Windows XP? Obviously, this is not good. This is the solution to this problem. This creates a REAL themed button under Windows XP by calling the Theme APIs, all wrapped up into an easy to use control. All you have to do is drop this control in your forms in place of the regular command button. Plus, as an added bonus, this control is completely backwards compatible! If the OS that your program is running on does not support Themes (or if they are disabled), this control simply displays the standard command button, without any extra work by you. This will give your applications a truely professional touch!
A custom control that allows you to use an Office XP-style toolbar with your applications. Combine with the vbAccelerator Icon Menu Control (www.vbaccelerator.com) and you can make your apps look almost completely like Office XP!
This code is an enhanced version originally written by John Colman. Revisions include: Adding the following events: DblClick, KeyDown, KeyPress, KeyUp, MouseDown, MouseMove, MouseUp, OLECompleteDrag, OLEDragDrop, OLEDragOver, OLEGiveFeedback, OLESetData, and OLEStartDrag Properties added include: Default, Cancel, CenterLineOffsetFactor, Enabled, RightToLeft, and BackColor Properties removed include: Red, Blue, Green, (replaced w/ BackColor), BorderStyle Added auto caption sizing (more work than I thought) and embedding round corners into the control. Added Help File and property pages. Bound checking for property values. Scaling for mouse movements over both the control and the controls label.
first, my apologies for my bad english, hehe. this example demonstrates how to accept only numbers in a textbox control with ONE LINE OF CODE AND FAST CODE. * MUST SEE *
Numeric textbox with complete control, including number of decimal places, negative number acceptance, number and position of the negative sign and the decimal separator, automatic replacement of the decimal separator according to the users PC international settings.
This code will make your form stay on top of any other windows running, just like winamp stays on top.
Let you lock your textbox for inputs and it will NOT be grey, but will be able to highlightning and scrolling. One line code is all you need!
With this code you are able to display vertical Text in a Flexgrid. This is very helpfull, when you need to display a column which only has a YES/NO Value and would waste to much horizontal Column Space to display the Column Header
Scrolls an image across a picturebox and randomly chooses a new height to place the image
This is a splitter control with many customizable features. You can alter the splitter width and color etc.
Easy.Fast!Create your gadients!My code is only 20 line without Api.it works great.I will upload and a better version.This code i created on my own so i may have done some mistakes.Please vote for me and send me any comments.