Results for "Category: Custom Controls/ Forms/ Menus"
Study of why vb6 applications with xp theme enabled sometimes crashes when closed. I have included an example of an application that crashed and two examples to show how to prevent it from crashing. Conclusions: It seems to be related to XP Theme not being closed correctly when an internal vb6 UserControl is placed on the main form. A simple way to fix this is to ensure it gets cleaned up either by placing an imagelist or a commond dlg control on the form. Unzip the download and compile each of the 3 examples and study the source. I have tried to keep it as simple as possible. Votes appreciated :)
I made this composite control to mimic the Media player 10 because i wanted to have the same look no matter what mediaplayer version 9,10,11 installed on the machine and at the same time i did not want the FF and REV controls and position Slider. The control is using Charles P.V's ucSlider and a modified version of the Simple ActiveButton by Gene Martynov. Graphical resources included. /Dracull
Learn how to use the cCommonDlg class to open and save via common dialogs 32 starting in Thumbnail view mode and page setup and printing to scale. There are many different examples of doing custom open dialogs with preview for images but the thumbnail view quite fast and will allow you to browse the entire folder. This project contains an update to Steve's all in one class but with support of 2000 / XP / Vista. I have added ability to set initial view for Open and Save for example to show thumbnails. Also added methods to get papersize: GetPaperMeasure, GetPaperSizeX, and GetPaperSizeY Based on work by Steve McMahon and Bruce McKinney and VBnet, Randy Birch. Example based on : Clint LaFevers "vb Calendar Maker". This was made for DracullCalendar - a Showcase Application that allow you to create and print Monthly Calendars, but I cleaned out the calendar functionality to make it simpler to follow the Common Dialogs examples. You can find Clints original submission here: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=42227&lngWId=1 Comments and Votes appreciated :)
v1.0.0 (BETA!!) A UserControl that downloads files > 4GB via HTTP/FTP. Support for redirects (and MaxRedirects property), custom UserAgent, etc. This is not supposed to be a complete implementation of the HTTP or FTP protocols! However, just enough to make it work reliably (I hope!). If you have any bugs please let me know and I will fix them. Next version I will try to support Transfer-Encoding: chunked for some HTML files. Official thread can be found here: http://www.vbforums.com/showthread.php?goto=newpost&t=514329
removes the need for mscomctl just for a progressbar + it shows how to work out percentages form a number (great for working with winsock) none of the code ive seen was any good so i made my own its not great code but it works
This Control, will put a Outlook 2007 Navigation Pane to your application.
Visual Studio 2005 Style ToolBox
Must SEE!!! This project includes VistaAeroForm, VistaBasicForm, and other controls with Vista visual style. PLEASE NOTE THAT THIS PROJECT ISN'T COMPLETED YET. Comments and suggestions are welcome.
Are you sick of the webbrowser control and all its bugs and problems? Especially since the change from IE6 to IE7. Seems like microsoft goes out of its way to make programming difficult. Well this control called the IE controler is a solution that I came up with that works and works great!! With this control you can create a hidden or visible instance of IE and set it (the visible one) as a child of any control on your form like a picturebox. With this control you have easy access to all of the webbrowsers built in functions and properties as well as the underlying document. With one line of code you can have access and control to all the documents elements such as its links, images, forms, tables, table cells, etc. The possibilites will excite you. Here are some of the routines and what they can do for you. Functions/subs LinkByText: returns a link in the document whose text matches desired value Go: makes the browser go back, forward, home, or search return_links: returns, in event, all the anchor objects in the document return_tables: returns, in event, all the table objects in the document return_forms: returns, in event, all the form objects in the document return_images: returns, in event, all the image objects in the document return_tablerows: returns, in event, all the tr objects in the document return_tabledowns: returns, in event, all the td objects in the document CreateHiddenDocument: creates a hidden webpage from the url passed to it, from which you can extract and manipulate all of the objects and elements on it. WriteHtmlToDoc: allows you to insert your own html within the browser createIE: creates a visible instance of ie and navigates to the url you specify. You have the option of removing its titlebar, make it unresizable, make it the child of any control on your form which has the visible effect of embedding the ie browser seemlessly into your application. bShowContextMenu: Allow or disallow the right click context menu Events Event IEDocReady(odoc As HTMLDocument) Event IEdocState(state As String) Event HiddenDocReady(odoc As HTMLDocument, surl As String) Event HiddenDocState(state As String) Event HiddenDocTimeout(lelapsed As Long) Event IEDownloadStart() Event IEDownloadDone() Event returnedLinks(olink As HTMLAnchorElement, cnt As Integer) Event returnedImages(oimage As HTMLImg, cnt As Integer) Event returnedForms(oform As HTMLFormElement, cnt As Integer) Event returnedTables(otable As HTMLTable, cnt As Integer) Event returnedTableRows(oTr As HTMLTableRow, cnt As Integer) Event returnedTableDowns(oTd As HTMLTableCell, cnt As Integer) Event contextMenu() Event mousedown(ibutton As Integer) Event closing() Event IEcreated() Event processingDone(sFunctionName As String) Event Error(sProcName As String, iErrNum As Long, sErrDescr As String) Event NewWindow()
To customize your own skin onto your form, maximize the form, as well as set optional transparency.
FormSkinner UserControl lets you create and load-in your own graphics to skin your form with custom Titlebar and borders. There are surtain rules for the graphics, but you'll get a good idea if you check the included pics. (I know this will increase the size of the download, but it's helpful. At least for beginners. In that matter... use "folder names" when extracting) You can also put your Company Logo up along with the caption and icon. Link to web is also included... Added for the "Online Update" purpose. There is more useful properties that can make your form(s) innovative. Thanks!
A basic listview manipulation, wherein you can use manual edit on every column and row by double clicking the specified cell. You can edit and delete the text on a cell, set alternate background to every row. I am just sharing... For some instance that i have similar codes to you that doesn't mean that I copied your code. I have coded this on my own and I already give comments to some author. If you like this code please vote...
This is a ocx I started to allow a user to use the winsock control with a socks4 or socks5 proxy, as well as without. It basically functions like the winsock control but with added socks4 and 5 support. It's a work in progress. If you like it please vote.
This API_ProgressBar control emulates most of the properties of Microsoft's ogirinal ProgressBar control. I wrote this control because I have an obsession with not including OCX files in my applications... because I prefer to create single-file programs without dependencies. Included is support for visual styles, if used, and properties specific to XP and Vista, such as Marquee and State. See included readme file for further details.
FAEL is a template to buil a sales manager and inventary system
Pre-Requirements : Pak Urdu Installer Or East Asian Language Support (XP) http://www.mbilalm.com/download/ Introducing first time on the whole world of internet, there are all Urdu Programming Controls in VB6. You will not be able to find anywhere else. When I've started to fight for Urdu Language's Programming, i realized that there are no Urdu Programming Controls (UPC) available anywhere, that programmer can use for there Urdu Language programming. So, it is a effort by me to solve this problem. These are only the 'Simple' controls to show only that how these controls can be made and used in VB6 applications. I hope, all beginners & professionals will like it. I 'll feel glade to get feedback from all buddies. Please give me your feedback on my email address ([email protected]) about this code, Also must rate & vote for this code on PlanetSourceCode. Thank You. Join Urdu Programming at Facebook http://www.facebook.com/pages/Urdu-Programming-VB6/263338567072301
This an update to the award winning code of Goober MPC wich you can find on http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=68342&lngWId=1. I amnot trying to take credit for his creation. Just added some extra functionality that is very usefull for me. I got tired of trying to figure out ways how to fit controlls in my forms in such a way you can expand of collapse the controll, so you could have more space for what you are doing at the moment and you can push other controlls witch are taking a lot of screenspace aside. I also figured that with resizing and collapsing controlls on the fly it would handy if you don't need to write code to resize inner controlls any time, so I made a small function for it. I have been getting a lot of great code and ideas from this website for years so I tought it would be fair to add something myself. =========================================== UPDATE TO PREVIOUS VERSION IS OUT 11-06-2010 =========================================== Fixed a view bugs and added some interesting new functionality - The frames can collapse jointly from left to right, from right to left, from top to down or from down to up, depending on how you set it - The borderstyle in the frames can be set to FLAT or SUNKEN or whatever FOR ALL CONTROLLS contained in the frame with one line of code. JUST DRAG IT ON yOUR FORM, EDIT SOME SETTINGS AND YOU ARE READY TO ROLL, so you can concentrate on what your app should do and not on those silly lines regarding resizing and organizing controlls on your form. The only interesting feature I would like to add is the ability to load forms in the frame, because then you could easily make dockable apps that don't act unpredictable and come with shiploads of code.
This is the fastest thumbnail view control with mouse wheel support ever seen before, even in PSC please vote me if you like this code.
2º UPDATE: Fixed crash when more than 30 controls added. Add control array sopourt UPDATED: Fixed a Focus bug UserControl to replace SSTabDialog OCX. Works like te SSTab, you can add controls wich can only be seen in the active tab. Includes a PropertyPage to edit Tabs and change the active Tab. Please do not insert controls without the hWnd property or the control will fail
Picasa ListBox. Custom ListBox like Google Picasa ListBox Control. It's support almost all google listbox function. You can custom each header, item. It's support separator style for item too :D. See the screenshots. Hope you like it :D Please vote :D