The Latest

DevX - Software Development Resource

PBD to PBL Conversion

Question: Are there any tools that can generate back from PBD to PBL? Answer: There are no tools that I know of to reverse-engineer a PBD to a PBL. In

DevX - Software Development Resource

Response window looses focus in DW

Question: I have a datawindow with a couple of fields where users can double-click to see a code table. The code table window is a response window. The problem is

DevX - Software Development Resource

Primary Key Identity

Question: I have installed Service Pack 4 for SQL Server and Service Pack 4 for NT. I still receive this same error. Your Q&A suggests that this problem was fixed

DevX - Software Development Resource

NT Date Format

Question: I am trying to develop a VB program to interface with a database from a third-party imaging product. The database is SQL Server and the product stores dates as

DevX - Software Development Resource

Key combinations

Question: I’m developing an application for NT 4.0, and I don’t want that a fell key combinations works. So the question is, where can I disable functions such as Alt+Tab

DevX - Software Development Resource

DLLs on NT

Question: I’ve written an application that uses external DLLs. It works fine on Win95. When I try to load it on NT, it says it can’t find any of the

DevX - Software Development Resource

Returning strings from functions

Question: I would like to write a function that receivesan integer and converts this into a string representing the integers value in binary. At the moment I am struggling to

DevX - Software Development Resource

Array of pointers.

Question: I need to pass an array of pointers to a class to a function. The function is: void myFunc(myClass *example[]); The problem is that I need to define the

DevX - Software Development Resource

Creating a Guaranteed Unique Filename

Question: How can a unique filename be constructed that guarantees that it will be unique across processes? Answer: There is unfortunately no Java 1.1 analog to the POSIX tmpnam() C

DevX - Software Development Resource

Size of C++ executable

Question: Does one need a runtime DLL for an .exe file written with MFC in Visual C++? Can one make a standalone .exe program with C++ that is small and

DevX - Software Development Resource

Programming Languages

Question: My company, a strictly a VC++ development group, is considering developing a large real-time database/imaging application in both VB and VC++. What are the pros/cons of doing this, and

DevX - Software Development Resource

A pause function

Question: I cannot figure out a pause function for C++. Our books are very generic…can you please help? Answer: To pause for a given amount of time, you will need

DevX - Software Development Resource

fflush()

Question: I am having difficulty finding information and examples on how to use the flush function. Answer: If you are not sure how to use this function, then you probably

DevX - Software Development Resource

Extracting bits.

Question: How do I extract the value from a certain number of bits of an unsigned type? ex: date is stored as unsigned date = 0x26cf; bits meaning 0-4 Day

DevX - Software Development Resource

Applet Filename Change Problem

Question: I have a Java applet I got off the Internet that I want to use on my server. I have tested it on mycomputer and it works fine, but

DevX - Software Development Resource

Reflection – Constructors and array params

Question: I need to call a constructor of a dynamically loaded class, and thatconstructor takes a single parameter which is an array of strings,(i.e., constructor(String [] args). How can I

DevX - Software Development Resource

Simulating Keystrokes

Question: I am building an add-on application in Visual C++ 6.0. How can you send a key combination (such as Control+K) to another application to invoke a menu shortcut (for

DevX - Software Development Resource

Intercept File Operations

Question: I am trying to write a utility program. I need a way to intercept all file open/save operations and get the info about the name of the file so

DevX - Software Development Resource

How do I make a shortcut in Windows 95/98

Question: I would like to create a shortcut on the desktop. How do I do that without copying a file to the windowsdesktop directory? Answer: The basic approach is to

DevX - Software Development Resource

Frame Content to Image Object

Question: In my application, I want to convert the content of a component into a GIF image. I know how to convert an Image object to a GIF, but I

DevX - Software Development Resource

Sorting Strings in an Array

Question: I have a list of filenames in a String array. I’d like to sort them into alphabetical order. Is there a class to do this, or must I implement

DevX - Software Development Resource

Delaying a Program

Question: Can you please tell me how to delay the program flow in Java? I can’t find any implementation of delay(). Answer: To introduce a delay into your program, use

DevX - Software Development Resource

Inner Classes

Question: Why can’t I have a static member in an inner class? Answer: The simple answer is that static member variables and methods aredisallowed by the Inner Classes Specification that

DevX - Software Development Resource

Splash Page Creation

Question: I would like to show a splash page and have it time out after approximately five seconds. How do I do that? Answer: Presumably you would like to display

DevX - Software Development Resource

Writing to the NetServerEnum Description Field

Question: Is it possible using code to write to the description field that is returned by the NetServerEnum calls? Answer: Yes, you can write to the description (or comment field

DevX - Software Development Resource

NT RAS error codes

Question: Where can I go to decipher Microsoft error codes? I am having trouble making one NT workstation dial in to my RRAS server; I get a TCP/IP error code

DevX - Software Development Resource

Frame Positioning

Question: Is it possible to reposition the frame of a standalone application? My application starts up at the upper left corner of my monitor every time. Answer: Yes, you can

DevX - Software Development Resource

The Trouble with Triggers, Part III

n this section I will provide an approach to coding and debugging triggers and discuss the new features that have been added in SQL Server version 7 regarding triggers. Why

DevX - Software Development Resource

Sort by date

Question: In a project tracking database, one of the columns in a table contains the date in this format: MM/DD/YY. I would like to be able to see a listing