September 8, 1999

Special Folder Path

Question: I want to find the path to the Startup special folder. How can this be done within a VB application? Answer: It takes a couple of steps, but is actually pretty easy: Start a new VB project. Open Notepad and copy the code below into Notepad. Save the file

Save Inputted Data From a Form as a CSV File

Question: How do I get all the inputted information from an HTML form and save it to my server as a CSV (comma-separated values) file which updates itself? Answer: If you are using Active Server Pages (ASP), this is very easy. The secret to working that magic is in the

Running Stored Procedures

Question: In the Tastrade sample framework and application that ships with Visual FoxPro, I only see examples of running stored procedures in a VFP database from a rule or validation of a table. How can I run some from a form? (I have Visual FoxPro 6.0.) Answer: Stored procedures can

View Information Stored in Type Libraries

You can use this method to view all the CoClasses, and Interfaces present in thetype library. In order to run this tech tip you need following things:(a) VB5 or VB6(b) Reference to Type Lib information object component (TLIBINF32.dll). This method takes in the name of the com component (or dll)

Registering COM Components (*.dll) and Type Libraries (*.tlb)

In order to run this tech tip you need following things:(a) VB5 or VB6(b) Reference to Type Lib information object component (TLIBINF32.dll). This function takes in the name of the com component (or dll) or the typelibrary which needs to be registered. Private Function RegisterTypeLib(ByVal strTypeLibName As String) As Boolean

Use an HTML Form to Call the User’s E-mail Application

Although you can process e-mail addresses using server-side code, sometimes it is easier to let your server-side code set up the original parameters for the e-mail and then just let the user’s own e-mail application handle the rest. Here’s a method to get the process started from within an HTML