Results for "Category: Custom Controls/ Forms/ Menus"
With this control, all you need to do is drop it on your form, and then ANYTHING on your form that is pruple will become transparent. This would be a useful tool for created custom shaped forms. On the example form provided, I have set a command button, label, frame control, text box, and shape control to purple, so they become transparent, incase you somehow got confused on how to use this.
I always wanted to 'imprison' microsoft word and this is the execution of the sentense. I wanted word to reside inside an activex control and not run by itself. I also wanted full control of it and also use it as a report generator. Of cource you must have microsoft word 2000+ on your computer (Sorry for that, but we are going to IMPRISON it so feel a bit better). I have only tested this with word 2003 and I would like your feedback. First loading can be slow (Microsoft!!). This is the VERY first version (pre-alpha) and any comments will be highly appreciated. Forgive my dirty programming demo program but this is the work of a single day and I put effort on the control and not the demo. The concept is for word to live inside the Webbrowser control. You can create named bookmarks and replace them with values at runtime. This is the backbone for custom reports (or templates like reminding letters etc). You can insert pictures, files etc at will anywhere. You can toggle various things on-off. You can print, load and save documents in various formats (see code for 'Save File'). Click on the 'Load Test file' to test the predefined bookmarks. Also there is a technique to load files from the resource file (see code in the control). Well I hope that somebody out there wanted something like this. I wil keep on improving it as I need it in one of my projects (Radiologist reports with IC10 codes etc) but thought that I get some feedback from you while at it. If you care to vote then please leave a message as some sort of feedback that will help me in this project. Have fun and enjoy VB = Very Beautyful :)
This is my ListGrid control..so called because it basically merges the functionality of a listbox with a listgrid control. Some of its appealing features are (1) with a short, simple call you can get or set the text of a specified "cell" in the list (2) you create attractive header (2 possible styles) with as many columns as you wish. (3) clicking any of the columns headers cause the list to be sorted in ascending or descending order (alphabetically) just like in outlook or kazaa (4) There is a property call .highest_index which makes for slightly easier looping...for example with the listbox or any of ms controls..there is a property such as the listcount so if you want to loop through the list you go> for i = 0 to list1.listcount -1 the .highest_index property already takes that into account so now you just loop by>> for i = 0 to listGrid1.highest_index. The listcount is still available to you as well if you prefer that, (5) your can set the font/forecolor/backcolor, individually for both the header and the list itself. If you prefer the lightweightness (not a real word i dont think) of the listbox, and used the settabs api to try to increase the functionality of the listbox but felt like you wish you could take the improvements many steps further than that then you will love this control. Suggestions for improvement will be implemented so suggest away.
a replacement for the standard line control. creates a line that looks more like the line that makes up the edge of the frame control (screenshot) there are 3 types, (single,double, triple) and 2 different types (embossed, raised). Not a huge or fancy control but will save you about 4 or 5 lines of code, without having to think too hard. with there control there is no coding whatsoever..like the standard line control..just drop and position and your done
Custom Compass control, will show direction or degrees. Private Sub Text1_Change() 'some basic error checking If Val(Text1.Text) > 359 Then Text1.Text = (Val(Text1.Text) - 360) End If 'call the control Compass.Value = Text1.Text End Sub Easy example of using sin in graphics applications.
New release. Hope now working correctly on W9x, too. // Added 'Enabled', 'Bitmap' and 'MaskColor' R/W properties for caption buttons. Fixed centering of bitmap. // 15Kb.
This is a webclass that makes it super easy for you to access the document object, the document.body object, all of the links, image, input elements, and table cells for a web page. And because there is no visible interface (directly anyway)..the pages load super super fast...the second part of this submission is a quick and dirty way to provide your applications with multiline tool tips. Please vote because my Im not strong enouph to pick my head up off the sand and put it back on my body but if i get a lot of good votes that will inspire me a little
This is a draggable toolwindow inside another window. Normally windows can only be inside an MDI form, but this is a great control which looks and acts like a real window. Completely customizable!!! If you plan to place many toolwindows inside a form, try duplicating the source files and adding each toolwindow as a separate toolwindow so you can customize them according to your needs. [ See another demonstration of this control in my other project: City Builder (txtCodeId=57486&lngWId=1)]
Today VB6 has become the most widespread dead (programming) language. In celebration here's the only(AFAIK) ownerdrawn treeview published in VB.
How do you change the icon that appears in the Alt+Tab window? This is nothing new can be found on MSDN. The notes I added here are of interest. More info for skinning forms. Changing a form's icon doesn't affect the Alt+Tab window; you need to change the icon in an upper level, hidden window. Code below shows how. Notes to keep in mind.... The icon does NOT have to be one assigned to a form! If not, the only thing to remember is to cache that icon handle and don't destroy it until your application closes or you reassign using the same code below. Should you not cache the icon, and it is destroyed, the Alt+Tab will show a "blank/invisible" icon instead.
This code set a balloon tool tip with the standard windows API on every type of control with or without window handle (no hwnd or windowless) Please vote if you like it Adapt this code for your needs
A Fully Ownerdrawn Implemetation Of A VSNet Style Property Tree (Supporting Nested Levels). Supports: Picture Object,Common Dialogs (Open,Browse etc), Font Object, Custom Lists,Spin Button, Nested Levels blah blah blah.... There Is No Calander Support As Yet But You Can Format Each Property Item and Validate It Before Updateing. Caveats: No For Each Suuport And No Delete On Property Items But you Can Clear and Reload. List Only Need To Be Created Once and And As Many Property Item(s) you Like Can Be Pointed To It. I'm Not Going To Bore You With Anymore Details, Check The Screen Shot And download The Code. A Big Thanks Goes To Paul Caton For the Hook Code, Vlad Vissoultchev For The Drawing Code, Fred Cpp For The isButton And Carles PV For His Coolist. Notes Before Use: You Must Copy The WinsubHook2.tlb To Your System Folder. As Always Comments and Constructive Critism Is Always Welcome. The Sample Included Is A Basic Sample But I Will Update When I have More Time. Note: This Has Only Been Tested On XP Pro And Home SP2 I Would Like To Know If It Works On Other Os's Kind Regards Gary
A great button changer example which can change the shape of a simple command button. just set the command button style property to graphical and see the difference.
Closes your form in an interesting ways. Which is most useful in your applications
Asked how I might make a transparent frame or picture box? After a moment of wondering why, I realized that was a neat idea & one solution provided; there are more but this doesn't use custom controls. Would give credit to the person for the idea, but when he commented it was by a "No-Namer". Idea isn't mine; just the routines.
Share memory between processes. Write a port daemon to continually read data and make it available via shared memory to any number of running applications. Easy To Use: Dim S as new CSharedMemory : S.sharedMemory "BlockName",1000 : S.memory="Shared Data" : Print S.memory
This is a control used to display that your program is doing something, such as checking the internet for updates or checking for previously installed applications. Sort of a "please wait while" control. Basicly fully customizeable. Many options. Rate it if you like it.
This sample app demonstrate how to use the designed button constructed under Flash and incorporated it with vb6 in a way that such button shall behave the way a vb6 normal button does (Click Event in this example). Please vote..thanks. In this way we shall be able to add more better look for the interface which we would think would only be applicable on the web browsers. by default, shockwave control add-in in vb application does not support click event.
Here is mseditor2 greatly updated from mseditor1. I received many emails with a lot of ideas as to what to add to the control. This is the new version. Now you can print WYSIWYG, insert pictures, files and OBJECTS (Like msword Charts, excel, ANYTHING). You can find and replace text without affecting its formatting. There is a status line with current line, column total lines etc. I did remove the databound properties but this is only a couple of lines of code anyway. You can always implement this outside the control. If there is interest I will add more features. The whole idea is the same. Just THROW the control into a form and USE IT. In the examples in the screenshots below there is absolutely no code in the form, JUST the control. It is fully parametric with a lot of exposed ‘methods’ which you can call from your program. There is a technique for a form to call back on the control (in the find replace form). This might be educating to novice programmers. If you don’t want almost instant status refresh then remove the timer and its code. The status gets informed when you change something or click the mouse somewhere. It’s a lean mean word editor and with your help it gets better all the time. Thanks for your feedback, both online and into my mail box.
Are you looking for a quick and easy bar chart for you program? Then this just might fill the bill.This is a user control so all you have to do is plug it in,set a few values and go.Howdy from Texas.Ya'll.On update: added Number of Bars (NOB) to show with resize.Also you can now set the scale you want.