Tip Bank

DevX

Quote Syntax Error

Question: I’m trying to delete a set of records in a table attached to a data control by using an SQL statement like the following: MergeRec.Data1.Database.Execute “DELETE Patient Visit WHERE

DevX

Controlling Size of Form

Question: How do I control the size of a form? Answer: Either set it at design time, or use the Width, Height, Top, and Left properties to set the form

DevX

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

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

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

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

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

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