Tip Bank

DevX - Software Development Resource

Using Radio Buttons in a Form

Question: I read an article about how to search a database upon the criteria provided by users. In the example, you showed how to use a drop down menu (combo

DevX - Software Development Resource

SQL Web Authentication

Question: Given that NTCR is only good in a network environment, how can I redirect a user back to a login page (or trap something) if I pass their username

DevX - Software Development Resource

Action Queries and ADO Objects

Question: Which is better to use for inserting or updating a record: Recordset object or Command object? Answer: When using an Action Query (a query that performs an action and

DevX - Software Development Resource

Finding the First Date of a Week

Question: If I have the number of a given week of a year, how can I get the date of the first day of that week? For example, I want

DevX - Software Development Resource

GetCookies – Get local cookies for a given URL

Private Declare Function InternetGetCookie Lib “wininet.dll” Alias _ “InternetGetCookieA” (ByVal lpszUrlName As String, _ ByVal lpszCookieName As String, ByVal lpszCookieData As String, _ lpdwSize As Long) As Boolean’ Get locally-stored

DevX - Software Development Resource

Accessing External Table

Question: How do I define an external table (that is not in my current database) in Informix and access the data in it? Answer: If you’re connecting to an external

DevX - Software Development Resource

Converting Input String to Proper Case

This is a simple string manipulation functionality that is often required.It converts the input string into a proper string (eg., “how are you doing?” will return “How Are You Doing?”).

DevX - Software Development Resource

VB Control Space Completion

You can use to activate Intellisense to prompt you forvariables/methods/properties/events at any point in a code window. For example:If you have a variable named myvariable, typing myv and then doing