Results for "Category: Miscellaneous"
How to move items (up ,down) in a listview
Well After D++ and JEL i decided to finish WinScript. WinScript is a Scripting Language Which Compiles EXEs and what lloks like a Win32 App.,What it does When It Runs is kinda like Vb it create an exe in a temp folder then using Shell it opens the exe.It Has one hell of a lot of functions(theres on called sendtochat(ignore it))it has everything D++(possibly everything) and JEL has.Id Like to thank every one on PSC that submited a Scripting Language,with there help i would have finished a hell of a lot later.(Note:this is only a beta test and does not have nearly the real amount of a non-beta) Please Vote Heighly If you like my code,Also send me comments,suggestions,new functions,etc. Thanks Guy/Gals
This code is an example to show everyone how easy it is to excute any code IN DESIGN VIEW. This is to warn everyone: Viruses and trojans could be installed this way. Scan source code BEFORE even opening it in vb.
This is the quickest and most efficient way to display something with Quote symbols (" ")
Ever wanted to use the command line arguments in vb, this code lets you use it. Its pretty simple but will be an eye opener for those who have not used command line arguments in their vb apps.
Use this code to drag and drop any control anywhere on a form or another control.
Takes an input string iof words and changes first letter of each word to a Capital letter
I searched entire PSC, but I did not found any script which converts date to a format which i wanted, even VBScript's formatDate function does not allow us to cuctomize the date according to our choice, so i decided to write this.... Please vote for this code... for further clarification u can mail me at pritesh_sheth@hotmail.com thanks..
Learning basics advance and interesting aspects of writing classes. This project was originally used by me in a class room setting were some things will be lost outside this setting while many things will be just fine as a learning tool. Feedback and questions are indeed welcome. The main mission here is to share knowlege. Please note: The best way to digest the information within is to pick small chunks at a time, learn each piece before moving on. Working with classes at the most basic level is easy but as we progress it gets complex for a while then becomes easy again.
Ever wanted to have drop down combo boxes, list boxes, or check boxes in a MS FlexGrid? Well with this code you can now do it. With the code you can see how to do it for your own projects. You can add or take out what you need for your program. All you ned to to then is write the code to load the FlexGrid and save the changes to the grid. I also included two buttons that can add or delete grid rows on the fly.
At times I need to redim a multi-dimension array by adding an extra row or rows, and keep the arrays contents. In VB you can only change the size of the last dimension in a multi-dimension array, this is ok if you want to only add columns. If you want to add a row to a multi-dimension array you can’t redim it and preserve the array’s data. To get around this problem I have created a process to do this for me. Just copy the contents of the multi-dimension array to another exact copy, multi-dimension temp array. Then redim the original array’s row up by one, and then copy the temp array back to the original. Now the original multi-dimension array still has its contents plus has an extra new row to add more data to!
*For Beginners* A simple "word processor" that shows you how to use commondialog to open and save rich text box files. Uses image boxes as buttons, including the "X" button and "M" (minimize) button.
Discusses some of the easy to fall into C++ pitfalls and ways to avoid them.
Offers advice on whether you must know C before C++ and whether C is preferable over C++ because of overhead.
Tools for using vb to make cd menus Vdrive.vbs makes a virtual drive Vb6rtime.bat checks for installed run times BUT NOT VERSIONS use it with the cd Autorun ini
In response to requests for more samples here is Volume 2. This collection includes the use of scrollbars, listboxes and the treeview. Move listitems up or down in a listbox, remove duplicates etc. The treeview example demonstrates a fully functioning 'Favorites bar' for a Web browser application using Internet explorers favorites - add links, add new folders, rename, delete etc. Also included is a KeyCode giver, a picture resizer, and just for fun a random mousemover. Code for each function appear in a textbox ready to copy into your project. I hope this is of some help to people beginning VB. Good luck.
The use of Templates can dramatically reduce development time and time spent debugging. The repeated use of the same code means that over time, that code gets tested in many environments, and gets further refinement to produce robust code and bug free applications. This submission contains two small simple "Templates" that you are free to use. Using "ModCmnDlg.bas" means that you do not have to use MS Common Dialog Control (comdlg32.ocx) for the simple task of opening and saving files. Using "ModMRU.bas" enables the easy addition of recently used files to menus in a form. This can make your application easier for the user to use and gives a more professional feel to the application To those coders that have requested my Templates in the past - I am in the process of moving over to .NET and will release the more advanced ones over time, stay tuned !
Some useful routines for those just starting out in VB.NET. File handling routines, embedded resources, graphics, system icons, ownerdrawn listboxes, serialization and much more. Presented in a format familiar to those who have used my VB 6 beginners toolboxes. Source code relevent to the current tab appearing in a text box ready for copying/saving. Included in this solution are 3 other projects I did when I first obtained Microsoft Visual Studio .NET 2003. They are 3 simple clones of Calculator, Notepad and Minesweeper. I find that one of the best learning exercises you can do is to write clones of existing software. The coding strategies employed in an application are not always obvious until you come to duplicate the software yourself.
Transfer multiple field of data using the winsock control. posible to use as as central data connection to pivot data.
Ultimate Color Code Convert Tool, Support conversion of RGB/HEX/LONG/HTML Support VBColor(QBColor) and VBConst(vbYellow) Other...Capture, Random, Light/Dark, Favorites ClipBoard ecc.. MultiCoder Thanks of PSC