Results for "Category: Miscellaneous"
Opens programs located in the Windows Control Panel
RGB and VB color coder has 3 ways of picking colors (scrollbars, slider bars, and common dialog colors). After picking a color it shows the RGB color code, the VB color code, and the color example... Not hard...
This is the source code to the Diablo 2 Item Socketer I made. I'm just posting it for anybody who doesn't know where to start on a project like this :) I remember how hard it was for me to get started, so I thought I'd make it a little easier for newbies...
Create Flash movies and allow them to launch ANY associated file on your system. Ideal for use as a CD menu and the like. (Excuse the name, I always call Flash, Shock because I use ShockMachine a lot :-0 )
This is a technique for late-binding to controls on your forms or usercontrols. Other techniques that I've seen on this web-site involve using control arrays. But in order to do this you need to include a reference to the control from the components menu. This is called early-binding and can disasterous for your programs if you're utilizing a COM object that frequently changes interfaces. The late-binding technique requires only the ProgID of the object as listed under HKEY_CLASSES_ROOT in your registry.
This program roasts AIM passwords for sending to a TOC server. Ths program also shows the process it goes through as it's doing it.
This code will extract AIM (AOL Instant Messenger) screennames and passwords from the registry and then decrypt them with an extremely long algorithm. Then it adds them to listboxes.
This code is the easiest clock ever... The code doesnt get any easier. If you like it vote for it.
Working with control arrays in VB3 was frustrating, but with VB4 you can pass a control array as an argument to a function. Simply specify the parameter type as Variant:
This code successfully compiles VBScript code into a .VBS which acts as an .EXE! It has many functions such as "Run" and "Last Run", along with the usual "New", "Open", and "Save" abilites! If you know VBScript (it is almost exactly the same as Visual Basic) then this program will be a temendous help. VOTE FOR THIS!!
This code creates a Genuinely Unique Identification Number, {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
The code bellow creates a Global Unique Identification Number (GUID), using the CoCreateGuid API found in OLE32.DLL on Windows 95, Windows 98, Windows Me, Windows NT and Windows 2000. The created GUID has five parts that represent the individual parts separated by dashes that you would see when viewing a CLSID or GUID in the system registry.
a very simple and very easy way to enable, disable controls in any form. You can also get all editable controls list in the form. no other code can be as simple as this :) This is my first submission in PSC....please vote for me (i just uploaded a simple application to explain how to use)
For Beginners. Copy the contents of ListBox1 to ListBox2 where the contents of ListBox1 is checked off. Remove any duplicates from ListBox2 and remove contents of ListBox2 where the contents of ListBox1 becomes unselected. (uhmmm... hope that made sense)
This sample code will show how you can create wonderful, flexible and robust reports using DataReport utility that comes with VB6. It only takes minutes to create reports in VB using this utility. You can connect via dataenvironment and drag the fields you want to show in your report to the form, thats it!!! happy programming!!!!
Found on a chinese site, tidied up by myself, but not my original code, thought a few peeps would find this handy. This code allows a richtextbox to launch the default browser upon clicking a link in a richtextbox control.
....to make 7segment displays with ease!
This tutorial (in Microsoft Office .doc format) teaches some basic things about making a good app in Visual Basic, and about several basic functions, plus some stuff on data types. You'll learn lots of things to help you become a better programmer.
The first line of the DAS.INI file are boolean, You set what days of the week a task needs to be run, and assign a File to run, The Sample file included is a .BAT file. You will have to modify the Days.INI file in order to have the program execute properly. I wrote this simple program for the purpous of signing a system onto the mainframe on weekdays. You can replace the Shell() function with AppActivate() and SendKeys() if you want to advance the program. I used it to launch an AS400 macro.
Easily log events. Log errors by passing the ERR object.