The Latest

DevX

Backward compatibility

Question: Is it possible to convert a VB 6 file to a VB 4 or 5 file? Answer: Sorry, I can’t tell you exactly how to do it. But I

DevX

Accessing graphics file from VB

Question: I need to store thumbnail graphics in an Access database (as an OLE object?) and be able to display the columns including the graphic in a table or grid.

DevX

How to use Properties

Question: I’m trying to set and save user preferences for an application to a local file. The java.util.Properties class looks like what I want, but I don’t understand how to

DevX

Object Oriented Databases

Question: How well can Visual FoxPro be a front end for object-oriented databases? Are there any in particular that work well with VFP? Answer: I am not familiar with any

DevX

Getting the active window

Question: I am using VC++ 5.0 to develop applications based on Windows 95. I want to get the HWND of the active window, which is receiving the keyboard or mouse

DevX

Smart Pointer

Question: Could you give me an exact definition of smart pointers, and how does a reference counting smart pointer work? Answer: I don’t believe there is an exact definition, since

DevX

Versions 5 and 6

Question: Can you have both versions 5 and 6 of FoxPro installed and make applications that work with either versions 5 or 6? I want to make an app for

DevX

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

Bringing another application to the foreground

Question: How can I bring an open application to the foreground (that is, move the PowerBuilder app back a layer). Answer: To bring another application to the front, you will

DevX

Performance

Question: I have two Visual FoxPro applications (App1 and App2) running in the same computer. App2 runs every 30 minutes. When App2 runs, App1 is slow because App2 consumes lots

DevX

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

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

SQL Server scripts in VB 6

Question: I have several SQL Server scripts that either CREATE or RUN stored procedures in a SQL Server database. I need to run these files (which I have in .txt

DevX

Data Corruption

Question: I have a table where after an import from an ASCII, I see some funny characters in some fields. After using asc(), I show that the characters where the

DevX

Header Records

Question: I am using Visual FoxPro 5. Is it possible when exporting a table to a text file to have the field names exported on the first line of the

DevX

Setup

Question: The setup wizard gives the capability to the end user to change the directory into which the setup will copy the files. How can I prevent this? If the

DevX

Thread Timing

Question: How can I determine the total time it takes for a set of threads to execute? Answer: When you time a set of threads, you generally want to know

DevX

Dispatching Mouse Events

Question: How can I pass or send a mousedown to a choice menu when a button is pressed? Answer: Sending an event to an AWT component is as simple as

DevX

SQL fucntion calls

Question: Does SQL have a function to get only the time–rather than getDate()–which gets the date and time, or a function to get the Unix time() time. (the one that

DevX

Simple C++ Dynamic Link Library

Question: I am trying to interface VBA with a C++ DLL. I am very new to C++ programming. I understand the declarations from the VBA side, but I am having

DevX

Insert a bitmap into Word 97

Question: I’d like to get a bitmap file (c:mypic.bmp) placed on a MS Word97 file (msfile1.doc) using Powerbuilder (6.5). I am interested in printing that file afterwards. Answer: The following

DevX

Deleting a structure from disk

Question: I have written a videoshop program in C++. I need to be able to delete a video structure off the disk. At the moment, the user enters a video

DevX

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

DevX

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

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

Phone dialer

Question: Is it possible to connect and disconnect a Microsoft phone dialer that calls my Internetservice provider from a VB program? Answer: It sure is, and VB makes it very

DevX

TreeView Control

Question: I would like to know how I can add, remove, and see if an item is in the TreeView control. For example: Prism Pros 4/30/99 7:39AM 4/30/99 8:00AMMcFarley 4/30/99

DevX

Form Load

Question: What happens in the Form Load? If I try to retrieve information from a database (using a DataControl and TextBoxes connected to the database), I can’t get the program

DevX

Canceling a call to a dll

Question: In a program, I’m calling a function in a dll. The time before that function is finished can vary from a few seconds to an hour, depending on the