Type BITMAPFILEHEADER
bfType As Integer
bfsize As Long
bfReserved1 As Integer
bfReserved2 As Integer
bfoffbits As Long
End Type
Type BMPInfoHeader
(Read More) i run vb6.0 code in xp for getting hdd physical id and it run ok. but when i run same programme in vista it does not display any hdd physical id. please solve the problem
(Read More) Easily allows temporary message to be displayed on any label for a programmable length of time.
This is a very simple way to display a temporary message on an existing label (or textbox)without doing a lot of coding.
(Read More) There are alot of things which doesn't need to type alot of junk code while our task can be completed without declaring useless variables, constants, etc plus they use alot of resources when we run our executable so i decided to put some simple codes here which can achive our task easily
(Read More) Let you choose between all printers available on your pc or network. Download zip and enjoy. Royal free.
(Read More) this function will calculate a string formula which support cos, sin, log, abs, mod, and example : /(5 mod 4) and you will get the answer, and this function it really easy to plugin with you code.
(Read More) Hello friends i made a small program like a scanner it will scan an image file to a Rich Text Box.
My friend helped me in providing the code to access the pixels of an image.Hope you will like the code.
Try it ....
This need :
Reference files :
(Read More) This is code for Encrypt and Decrypt. this a simple logic of encryption. Please leave comment or feedback if this code helps you. Thanks. Jery. :)
the encrypt function place in a module.
This Code needed :
1 Module
1 combo box (For input before encryption) text1 in this program
2 label (For...
(Read More) This code snippet convert Number to String in VB6. For instance input 100 will be return as Hundred, It converts upto Core....
(Read More) This code is to split a Microsoft Access database and re-connect it on launch so that you can use Access on a multi user network...After Splitting the database manually, place the following code in the form that launches when the database is launched...
(Read More) This snippet shows you how to connect to a database using ODBC in vb.net 2005
(Read More) Here's possibly the single most useful function that I use. It simply takes an ADO record set and dumps the column names and row values into an Excel worksheet. To use it make sure you have Excel marked in your project references.
(Read More) An example of using the ToString() DateTime Strings to produce common date & time output formats in Visual Basic.Net
(Read More) Swaps Two Elements Of An Array (So that say, indice1's value would become indice2's value, and vice versa). Simple Code Piece Really...
(Read More) This is a visual basic 6.0 wav sound player class that plays any selected sound file in .wav format. It has the filename property to select the file and play property to play the sound file. Visit http://www.mycplus.com for more codes.
(Read More) This is the coding needed to password any button on any switchboard from used in Access Database
(Read More) Here is some code that will help you connect a LCD module to Parallel port of a computer.
Almost any 16x2 LCD module should work. It has complete VB6 code. It works on Windows XP very well. I have used hwinterface.ocx from Logix4u.net that provides basic Inport and OutPort functionality (Thanks...
(Read More) Visal has contributed code for computing a formula. I have updated his code
to reflect vb.net coding style. I have also refactored the code, so it is easier
to understand.
I have not checked the code.
The vb.net project files are as attached.
Jerry Dusing (email: jerrydusing@yahoo.com)
(Read More) Gets the names of all the partitions in a system. Note that media must be in every removable drive for this to work (can be fixed easily)
(Read More) Clearing Controls & Forms in Access (VBA)
(Read More) Uses the API to get the regional short date format from the PC
(Read More) A Simple Function To Generate A Random Password Of A Given Set Of Characters
(Read More) There are probably a few different version of this...here's the one I use which I find pretty simple:
(Read More) Another Small And Simple Function To Take Each Character of a string, and put it into an Array, This helps significantly when you need to sift through a string. This Function Uses The spush (String Push) Function, Also In Code Snippits.
(Read More) The Relative of push is pop. Pop removes the last item in an Array, and returns the value into a single (scalar) variable. Again, due To VB Limitations, this one works on strings.
(Read More) Simple Function To Simulate The Push Command, due to VB's limitations, This one is Specific To Strings. (Simple enough to modify for integers or variants, etc)
(Read More) This is a very basic way to make a delay that someone new to VB might be able to use.
(Read More) This code uses field level validation to check for data in fields in an Access form, and instead of using message boxes (as the "Validation Rule" and "Validation Text" properties of a field (in the table design window) do, it turns the associated label and control (textbox/listbox/combobox)...
(Read More) Place the file with part one of the code on the server. This part of the code gets placed in a batch file (text file with the extension *.BAT) and placed on each client's machine. Again, you will need to change the paths used to the real paths on your network. This will get a fresh copy of the...
(Read More) Simple CLS for Resizing CTLs on a FRM
(Read More)