Tip Bank

DevX - Software Development Resource

ADO won’t work in VB6

Question: What is wrong with this picture? Private Sub cmdIXEDMtest_Click() Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset Dim s As String Dim constr As String On Error

DevX - Software Development Resource

Maximum length of SQL

Question: Is there a maximaum length of an SQL program? I have used the query designer in Visual Foxpro 3.0 with many lines of criteria. When I try to run

DevX - Software Development Resource

Looped Exceptions

Question: Is there any way to catch exceptions repeatedly, instead of just once? For example, when creating a Date object with a String, an IllegalArgumentException can begenerated and caught. In

DevX - Software Development Resource

Java 2 Compatibility

Question: Why do I have problems running some programs with Java 2? Answer: Many Java class libraries and programs written before Java 2 use a technique called obfuscation to make

DevX - Software Development Resource

Access UserControl.left and UserControl.top

Question: How can I access the usercontrol’s left and top properties from within the user control? Answer: Certain standard properties such as top and left are provided to a control

DevX - Software Development Resource

MFC / Event Driven-Programming

Question: I’ve written a program using MFC that uses toolbars. I have an event that I want to change the state of some of the toolbar buttons (disable them, to

DevX - Software Development Resource

Network Authentication

Question: The new java.net.Authenticator class in JDK 1.2 seems to be the answer to generalized user-authentication. Why dogetPasswordAuthentication andrequestPasswordAuthentication both return PasswordAuthentication, butrequestPasswordAuthentication requires a security check? Answer: The getPasswordAuthentication