Category Archives: Visual Basic 6 (VB6)

Hide your program in the Ctrl-Alt-Delete Dialog!

Always wanted to hide your program in Ctrl-Alt-Delete Dialog box, So people dont close it from there when you dont want them to….Well use this code and your problems will be solved…They cannot close your program unless you let them through yours…MUST HAVE!!!! Original Author: Neo Assumptions Create a Module and put the code below and call the Subs… Read More »

DecryptBase64String

This one is to show how to DECODE Base64. Base64 is used to encode Mime Attachements. This not a complet Mime Decoder, this routine should just show how to build one!By the way the hole programm, which is able to decode Mime will follow… Original Author: Sebastian Inputs Base64 StringI build an example programm, just look! Assumptions Copy the… Read More »

Custom serial number generator and scanner!

The code creates a file with a custom serial number hidden in thousands of other serial numbers just like it. Then, after you created it, you can scan the file with the serial number scanner. Original Author: Daniel Errante Returns Generates a serial number file Side Effects no side effects Attachments File Uploaded Size CODE_UPLOAD42.zip 9/3/2020 3:45:00 PM 7664

Smooth Clock

This is another example of animating an analog clock. This sample demonstrates a smooth motion of the hands giving a more realistic clock appearance. Also shows how to use the Polygon API Original Author: mike Returns Draws a clock on the form Attachments File Uploaded Size CODE_UPLOAD23.zip 9/3/2020 3:45:00 PM 3784

AutoResize

This code resizes a form and its controls according to the screen resolution. It also takes into account the size of the screen fonts (although this is untested!). Original Author: Mark Parter Inputs designwidth – the width that your app was designed at (i.e. 800 or 1024)designheight – the height that your app was designed at (i.e. 600 or… Read More »

Another Star Field (updated!) – well documented

Draws an animated StarField. A left-click with the mouse will move the StarField center to the mouse position, holding down the left mouse button while dragging the mouse will continually change the StarField center, holding down the right mouse button will activate a “hyperspace” effect (of sorts). The form can be resized. Each star’s size and brightness is… Read More »

RTPrintPreview

(Also known as DocPreview) A functional program to provide print preview and actual printing facilities for RichText documents in a text editor. Written in VB, the program includes functions such as preview Zoom-in and Zoom-out, page margins setup, selection of any specific page to preview and selection of any ange of pages to print. It even allows you… Read More »

SendBugReport NEW ROUTINE ADDED

Do you ever want to have a easy possibility to get in contact with your users? Here it is! You just have to add the form to your projekt and config it before you compile your projekt! Your users just have to write their comment or bug report in a textbox and hit the send button. You will… Read More »

Encryption

Encrypts and Decrypts a string easily Original Author: ND4SPD API Declarations Public Function Encrypt(text)For much = 1 To Len(text)word = Asc(Mid(text, much, 1)) + 10c$ = c$ & Chr(word)Encrypt = c$Next much End FunctionPublic Function Decrypt(text)For many = 1 To Len(text)jin = Asc(Mid(text, many, 1)) – 10d$ = d$ & Chr(jin)Decrypt = d$Next manyEnd Function Code ‘create 3 text… Read More »