2 MINUTE WEB BROWSER!!!

This is similar to the 15 minute web browser, but is MUCH easier and has many more options!!! Original Author: Matt Evans API Declarations Code Step 1) Start up a project in VB… Make a new oneStep 2) Goto ‘Add Form’, Double-Click on Web BrowserStep 3) Goto Project1 Properties… And change the startup form to wWebBrowser1Step 4) Remove form1… Read More »

View a playing card using VBCARDS.OCX

Simple code shows how to display any playing card image using the VBCARDS.OCX. Original Author: Patrick K. Bigley Assumptions Create a form (Form1)Create a command button control (Button1)Create an image control (Image1)Create a label control (Label1)Create a VBCARDS control (Deck1)A free copy of the VBCARDS OCX control can be downloadedat http://bargainbd.com/opusopus/vbcards.htmorhttp://www.geocities.com:80/SiliconValley/Grid/7284/cardocx1.zipDon’t crowd the screen with the controls, spacethem neatly… Read More »

EZ – .ini

Access .ini files in the blink of an eye. Use one line of your input to quickly retrive .ini values. With the same one line of code write to your .ini file. If you have any improvements on this code, E-Mail me at “karatebob@hotmail.com”. Original Author: Frank Joseph Mattia Assumptions When you call this in your code, this is… Read More »

DBGrid Dropdown Listbox

Ever wondered what the button_click event was for in a DBGrid? Well, this is it! You have to populate a listbox control and display that with the selection information. This will simulate a dropdown box within the dbgrid. This is an excelent way to input specific information into the dbgrid. Original Author: Jason J. Martin Returns Nont Side Effects… Read More »

Create New Controls At Runtime !

This code will allow you to create a new instance of a controlat runtime !Imagine. When your app is RUNNING you can create a new command buttonor a textbox on the fly ! The code they didn’t want you to know 😉 Original Author: Marc A. Foumberg API Declarations NONE Code ‘Create a new project.’Add a command button.’Name the… Read More »

Print Screen (take a picture of the screen!)

Take a picture of the screen Original Author: Brent w. Assumptions Found off the web API Declarations Declare Sub keybd_event Lib “user32” _(ByVal bVk As Byte, ByVal bScan As Byte, _ByVal Flags As Long, ByVal ExtraInfo As Long) Code Sub ScreenToClipboard()Const VK_SNAPSHOT = &H2CCall keybd_event(VK_SNAPSHOT, 1, 0&, 0&)End Sub

Set ACL using low-level access control functions

This module provides a function that uses the Windows NT low-level access control functions to set the access rights on a folder (directory). The High-level access control functions (GetNamedSecurityInfo etc) do not function properly. They merge all ACEs for each SID. MS only acknowledges one of the four functions as malfunctioning, in fact they all are not suited… Read More »

CipherII

A StreamCipher encryption similar to the first ‘Cipher’ but now it can encrypt any text or binary file. Original Author: John Cui Inputs PlainText(the text to be encrypted/decrypted), Secret(the password) Assumptions There is only one function to Encrypt/Decrypt the strings. It is to this point stable that you can encrypt the same string multiple times using different passwords every… Read More »

FastTextStream

Read large text files faster. Reads lines in text files about 30% faster then the TextStream class. Skips much faster. Original Author: Jonathan Orgel Inputs Multiple functions see documentation in code Assumptions Mail me at FastTextStream@kalonymous.com if you want me to send you a zip file with a demo/test project. This project allows you to compare timings withread, readline,… Read More »

mSendEmail

If you have Outlook 98 you can send email using VB! Use this code for the basis of creating mailing programs! Original Author: Ian Ippolito (psc) Inputs vcolEmailAddress–collection of string email addressvstrSubject–email subjectvstrBody–email body (use vbCrLf to create lf) Assumptions Requires outlook 98 installed on your machine. Also, make sure you set a reference in your VB project to… Read More »