Tip Bank

DevX - Software Development Resource

Generating SQL for List of Options

Question: This is the first time I visited your site, and its the best VB site I’ve been too! My question is, I’m writing a sql statement using Variables and

DevX - Software Development Resource

Finding Text in a Text Box

Question: I am looking for code or VBX that allows a user to use an inputbox to locate a word within a textbox. The textbox is connected to a Access

DevX - Software Development Resource

Repairing a Corrupted File

Question: Not knowing that my hard disk was almost full, I tried to load a VB MAK file that I had created in VB3. When I did, a message said

DevX - Software Development Resource

Combining VB with C

Question: Can I write a module in Ansi C language and compile it together with a VB program? If cannot, how can I combine these two modules? Answer: You can’t

DevX - Software Development Resource

Monitoring Port

Question: Do you know if there is a Win API or Winsock call that will tell me when I’ve connected/disconnected to myinternet provider. Answer: What you might want to do

DevX - Software Development Resource

Type Declarations

Question: I define a user-defined type as follow..Type Complex Re As Double Im As DoubleEnd TypeI created a function like this…Function CompAdd( a As Complex, b As Complex ) As

DevX - Software Development Resource

Changing Date Format

Question: I am having trouble saving dates into an Access 1.1 DateTime field. The aplication I am writing is for the European market, so international dates are a problem as

DevX - Software Development Resource

Generating Special HTML Tags

Question: I am trying to use Print# statements to create an HTMLtext file and VB3 that I am using keeps interpreting the HTML characters as Data Types and operators saying