Results for "Category: Custom Controls/ Forms/ Menus"
This control allows your users to change the label captions of your fields at run time. I think this is a unique aproach and concept to customized legends. A lot of my customers sometimes don't agree with the captions I use on certain forms (nitty gritty:) so I sat down one afternoon and cooked this activex. Is not very commented but the code is very simple and easy to follow. This is a quicky control, and if you like it then I will try and improve it. This is the very first time I upload a code to planet source and any comments will be highly appreciated and motivate me for more uploads. Thanks !!
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.
I needed a simple msword compatible text editor in various parts of my system. So I sat down one night and designed this ActiveX control which you can 'throw' into any form. You can even bind it on a database. No technology breakthroughs here. Just lots of time saving when you want your users to have some control over what they write and you want to save them exactly as they want. It uses the richtextbox encapsulated as an activex and so you dont have to write any code every time you need a simple editor. Just throw it in. You can enable or disable the "New', 'Open', and 'Save' buttons. Some of the code for the richtextbox comes from some other contributors of planet-source, but I dont remember from who. Dont have to vote for it. I just hope that you find it useful.
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 :)
I wanted my software to "report back" to me, now and then, about their whereabouts. So here it’s an activex control that asynchronously and unobtrusively sends me back information. It is fully parametric and I have it set to report back the first week, first month and then every 3 months. It calls the API directly instead of the winsock control and never gives an error no matter what! It just works on the background and waits the right moment. Then it can try on predefined periods to contact the internet and send the info. In this way I know how many copies are out there, their serials etc. To demonstrate the control I have included a very simple MP3 utility that I wrote to help me clean my mp3s (Don’t burn me for this ). Unlike other software it can also take the ID Tag information and use it to rename the filename of the song (instead of 44xx23.mp3 etc ). Some of the code ofcourse comes from the great Planet-Source!! Let me know what you think because there is also the ETHICAL side of this control and I would like to know your opinion about it. I mean if it’s ethical to have your software sending back info about their users without their knowledge.
This code will change the forecolor for Labels and Textboxes (can be edited for Other Controls).
UPDATED To allow the user to resize a control at run-time with the mouse. All API, short code, just set it and forget it. Useful for picture boxes, report designers, etc. No high overhead.
A simple (and free) way to create an Outlook-style listbar on a form. This could easily be made into an ocx but for simplicity I have just designed it as part of the program.
Will let any vb coder to know usefull hidden thing in vb,that may be many of you pain a lot about it...
TabIndexManager (*array of controls bug fixed*) is a add-in for Visual Basic IDE that control the TabIndex property of the controls in the selected form. *A MUST SEE CODE !!!* ..... Special thanks to my friend Marcelo Ivan Martin. ................................................................................................................................................. *** PLEASE DON´T FORGET TO VOTE ! ***
Creates a totally customizable MsgBox replacement which can have custom icons and buttons. Report any bugs or suggestions, and feel free to modify the code (just give me credit for the original). One thing I haven't gotten around to adding yet is the support for default buttons, so if you have to, you can add that. Also, in order to use this in the sample prog (any prog for that matter), you have to compile it into a DLL and reference in the project first. PSC doesn't allow precompiled DLLs, so you have to do it. [ UPDATED ] It now has full support for changing the colors of the buttons and messagebox, as well as their colors
Colorfull Multilingual timepicker Control. Style in 3D or Flat. Timeformat in 24 Hours / 12 Hours with AM/PM. Showing the current time can be set.
This graphical scrollbar is a nice and cool replacement for the poor, boring standard scrollbar Many different styles for the bar, buttons, arrows, ... Possibility to set colours for background, buttons, ... separately Possibility to set pictures for background, buttons(normal, pressed and hoover for buttons and scroller), ... Possibility to set orientation to horizontal or vertical Property pages for colours, predifined colours, pictures, styles and values Pictures for a few bars included Tested on Windows 7 / 2000 / XP / Vista
Cool graphical messagebox/inputbox that automaticly resizes to the right dimensions based on the message and buttons needed. Code for custom formskinning, buttonskinning and textbox included.
Resize All Controls On A Form
This is a wrapper class that allows you to set minimum and maximum sizes of a form. Never do again checks on the Form_Resize() event, that flickers! This one uses APIs calls to set maximum and mimimum sizes. Four functions calls are needed in the form. I had a look into PSC, and I found nothing similar to this. Have a look at it, and leave comments! Parts of these code are from www.vbaccelerator.com, but this is easier and much better.... :-)
Here it is! Want to enter only numbers in a textbox? Or only currency? And avoid users paste something that is not valid? Try this! This is a class module that lets you turn a standard textbox into a new one, that accepts only numbers (also decimal). The decimal and currency separators depends on the locale settings, and are read via API! New features added also!! Check it out!
This is a class to extend the functions of the standard ImageComboBox (MS Windows Common controls) Features include: autocomplete, allow only present items or not, auto-set dropdown width, and more. I need a feedback from you, so please leave comments and vote. Thanks ;-)
Creates text boxes and labels 'on the fly'. Type the number of textboxes/labels you wish to have and hit create and it will create them for you. Found similar code and decided to play with it. :\
mdi non activating & reduce toolbar example (kind of like (photoshop or dreamweaver toolbars) This tutorial shows how to create non-activating toolbars in a mdi app. You can hide, reduce the toolbars, and they do not appear in the menu windowlist. There is no subclassing for the non activating toolbars, and no ocx are used, just a couple of API. There is also an example of subclassing all the child windows on the fly when creating them. That lets you specify a minimum size for all the child windows ! There is no subclassing, and no ocx are used, just a couple of (easy) API.