devxlogo

Tip Bank

DateAdd Function Parameters

Question: While using the dateadd() function to add the given number to an existing year, it adds the days instead of years if we use the command in the following

hWnd Attribute

Question: I have to make a programm to read DATA from a Card, the first function that I must call says: Function_name(hcaller As Long,…) This hcaller is an hWnd and

VB6 Text Box

Question: How do I get the TextBox to display automatically at the end of text instead of at the begining of the text? Answer: Set the SelStart property of the

Building SQL Strings Dynamically

Question: What is the correct format to create a SQL string using embedded variables? I keep getting a message that says I have an “incomplete query clause”. I am trying

Network Installation of VB6

Question: I have the VB6 Enterprise Edition which is going to be the development tool. Is it possible to have a network installation of VB6, so that I can put

Display Small Decimals Using VBScript

It is common to have online survey results posted via an ASP page. While for the most part it will work fine, you have to be careful when your results

Scan and Clean Registry for Dangling Interfaces

If you are developing COM components that run under MTS (Microsoft Transaction Server) then during the development phase, you will notice that dangling interfaces are often present in your system

Show the Standard File Properties Dialog

If your program has an Explorer shell-style interface, you probably want to supply the standard File | Properties dialog. Do this by using the ShellExecuteEx API function: Private Type SHELLEXECUTEINFO

Create a Disconnected Recordset

A Recordset without a live connection to a database server is called a disconnected Recordset. You can create a disconnected Recordset using the CursorLocation Recordset object property. The CursorLocation property