The Latest

DevX

Data Rollup

Question: I have a table containing records collected at variable times. How do I “roll up” the data to average over 15-minute periods in a query? Answer: I think I

DevX

Flipping Rows to Columns

Question: How can I select rows in a table and output them as columns in a resulting table? In other words, I need to “flip” my rows to columns and

DevX

Tools for Documenting Class Libraries

Question: Is there a third-party tool that can be used to document VFP Class libraries and their components? Answer: VFP’s Re-Engineering wizard can move your classes to Rational Rose and

DevX

Prompting After Setup.exe Runs

Question: Is there a way to prompt an end user to restart his machine after running the setup program to install my software? (I am developing in VFP 3.0 under

DevX

Using C++ for AIX Unix and Windows NT

Question: We are looking at Visual Studio 6 as a development platform. Studio 6 contains Visual C++, Java++, and VB version 6. Can I use this development platform to create

DevX

Using Auto_ptr with Arrays

Question: Can auto_ptr be used to hold a pointer to an array of objects? For example: auto_ptr p = new int[10]; When auto_ptr is destroyed, will it call the correct

DevX

Iostream Objects’ Memory Use

Question: I have written this very small program in Microsoft Visual C++ and it seems that STL is dumping memory: #include #include using namespace std ;void main(){ _CrtDumpMemoryLeaks( );} The

DevX

Ambiguous Operator Error

Question: My small program (see below) below compiles and runs correctly on one machine and generates the following error on another: ‘operator

DevX

About Box and Splash Screen Missing from App

Question: I recently modified the following under my application’s class libraries… app_aboutboxapp_splash I rebuilt the project and executable, but when I run my application, text and images from both the

DevX

Replacement for the “Finally” Keyword

Question: I’m wondering whether there is any good replacement for Java’s “finally” keyword (that executes regardless of whether an exception is thrown a keyword) in C++. I’m trying to switch

DevX

File Locations

Question: I have set Home as C:MyApp in Project Information. VFP has no problem finding the project, but when I do a build and, while running, click a link to

DevX

Simulate a PDA in a Web Page

Question: What is the best way to go about simulating a PDA (personal digital assistant) in a Web page? I want to simulate a change of menu many times. Can

DevX

Using the Find Method of the Window Object

Question: Can I find the text on an HTML page from another window (where the find option is available)? Answer: If you are using Netscape Navigator 4+, you can use

DevX

Apply Web Site Templates Using Includes

Question: I want to create a consistent look and feel to my site. Without using frames, how do I apply a template to all my Web pages that will include

DevX

Single-Threaded DLL and Web Server Application

Question: We have a legacy database system called Universe, which is owned by Ardent Software. Ardent offers a product called uvObjects which is a single-threaded DLL that can be loaded

DevX

Bevel Flat Graphics in FrontPage 2000

An overlooked feature in FrontPage 2000 is the one-click tool to add a nice bevel to your graphics. A bevel makes the image stand out from the page and adds

DevX

Mailbox and Log File Locations

Question: What is the location of the users’ mail boxes so I can back them up to a tape? Also, where are the Internet e-mail tracking log files stored? Answer:

DevX

ADO vs. ODBC

Question: Which implementation works faster, ADO or ODBC? Is there any relevant information (or benchmarks) comparing the difference between linking directly to the ODBC or accessing databases through the ADO

DevX

IN SQL Statement

Question: I have department codes like this: T, B, P, O, Q, etc. How can I find T only, B only, or others only (excluding T and B)? Answer: You

DevX

Cleaning Up Old Dumps

Question: How do you clean up old database and transaction log dumps without removing the backup device? I cannot find a way to delete a single instance of either. Answer:

DevX

Losing Timer Events

Question: When I start a timer on a window with an interval of one second, I expect to get a timer event on the window every second. I have noticed

DevX

Recovering Data from an Old .OST File

Question: Recently, we had a server die on us with bad backups. We have installed a new server and have reestablished all the mailboxes. I have one mailbox that is

DevX

Converting GETDATE to 24-Hour Format

Question: Using GETDATE returns the time portion of the date in the 12-hour clock form (“08:30pm”). I need the time portion to be in 24-hour clock form (“20:30”). I can’t

DevX

None Specified Datawindow Retrieval Arguments

Question: I have a datawindow that will be called by two functions. The first function only uses the first retrieval argument; the second function uses all three arguments. In the

DevX

Finding Column and/or Row Height

Question: I have a column that is set to Autosize Height. I would like to find the column height for this column on each row after the data has been

DevX

Is Exchange the Answer?

Question: I am setting up a new post office SYS. We have five sites over the United Kingdom. Is Exchange the right product to use? We would require replication of

DevX

Don’t include Extender properties in ActiveX Wizard

The left-most listbox in the first page in the ActiveX Control Interface Wizard includes all the properties exposed by the constituent controls currently on the UserControl’s surface. Unfortunately, this list