
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
Question: What are the main differences between C++ and HTML? If I can use HTML, how hard will it be for me to use C++? Answer: For the most part,
Question: I need to figure out a way to insert a chunk of HTML after the begin tag of the body element without causing the HTML that is in view
Question: In a VBScript function I assign the window.event.ToElement to an object for some functionality. The problem is that if the mouse is moved outside of the browser window, the
Question: I have two TField400s. The first TField400 contains the value “12345678” and other TField400 contains the value “11111111”. I want to move the “5678” from the first TField400 and
Question: I have used InsertAdjacentHTML to insert a dynamic number of images onto a page in Internet Explorer 4. Having given the new images a single ID, I can refer
Question: I am having trouble creating a site where customers can click something in a parent window and have a picture appear in another child window. I then want customers
Question: I have built several pages that use VBScript to pull information from a Microsoft Access database. My problem is that if a user tries to use a single quote
Question: Is there a difference in the way that strings are passed between an application written in Delphi 1.0 and a DLL and between an application written in Delphi 3.0
With Swing, you can easily change the Look & Feel (L&F) at run time to match one of the L&F implementations in your system. This program contains strings identifying three
Using Swing you can easily make the image on a button change when you touch the button with the mouse and change again when you press the button. To run
Using Swing, you can easily add tool tips to any of the components in your GUI. Tool tips aren’t normally visible, but they become visible when you point at the
Question: Is Delphi available for a Macintosh platform? Answer: At this time, there is no version of Delphi available for the Macintosh.
By declaring a variable that doesn’t change throughout program’s execution as const, you make your code safer and more readable. But there’s an additional advantage: efficiency. An optimizing compiler can
A common mistake is to assume that a vector is like a vector if Derived is a subclass of Base. However, there is no relationship between classes generated from the
Swing makes it easy to place an image on just about any component. To see an image on a button, substitute the path and file name of an image on
If you intend to optimize your software’s performance, make sure to profile the release version rather than the debug version. The debug version of the executable contains additional code (about
C++ is used in as diverse fields as high-level GUI through the lowest level real-time applications. In time-critical sections of C++ code, you can ensure enhanced responsiveness by combining inline
Tired of the same old buttons? My car radio has buttons in buttons, and you can do the same with Swing. Swing components are also containers which can contain other
When multiple inheritance is used, it is sometimes necessary to use virtual inheritance. A good example for this is the standard iostream class hierarchy: //Note: this is a simplified description
Instead of going to the Edit menu to comment out a section of code, you can add the comment command to the shortcut menu you access by right-clicking in a
Have you ever needed to determine if an object variable is holding a valid reference? TypeName() returns a class name if the object holds a valid reference. It returns the
Do you have an application you need to launch on Windows startup? Typically, you do this by placing an item in the Startup directory. However, you can also do this
One of the enhancements to the RichTextBox control in VB5 is the addition of an OLEObjects collection, which allows Rich Text documents to include linked or embedded OLE objects. However,
Question: When we copy an image (in bmp format) in a help file, we get a “not enough memory space” error when we compile. What are the formats of images
Question: At our school we have a Windows NT Server network (10O Base T and 10 Base T mix) for our students to use. We have a five-station peer-to-peer Windows
Question: I want to trap the special keys of Windows NT: Alt+Tab, Ctl+Alt+Del. In the first 10 minutes, I set a kbd hook and took a look at what were
Question: Other than specifying the “/o” option, is there a way to direct isql output to a file? I would like to specify the file name dynamically in a stored
Question: My problem is that once I get the logged-on user id, I need to get their full name from the NT security. Is this possible? For example: UID: jsmith123Name:
Question: I attempted to import a package (*.PAK) file from another MTS server, and I got an error message. Both MTS servers are running the same version ofNT and MTS.
Question: We are trying to reset the NT password using structure USER_INFO_1003. Everything worked fine. Then we also needed to set ‘User Must Change Password at Next Logon’ option. There

