The Latest

DevX

A Shorthand for Internationalization

The software industry uses the term “I18N” as an abbreviation for the terminternationalization. The idea is that I18N begins with an i, ends with an n, and has 18 characters

DevX

Shorthand for Assignment Expressions

For recursive assignment expressions such as the following: x = x+5; x= x/5;x = x * 5; C++ defines shorter versions that eliminate the need to repeat the variable’s name

DevX

Parenthesize Complex Expressions for Clarity

Although C++ clearly defines operators’ precedence, the compiler is allowed to compute subexpressions with identical precedence in a platform-defined order. Besides, many programmers don’t remember which operators have higher precedence

DevX

Referring to a Class Member

You can refer to a name of a class member only in one of the following contexts: In the scope of its class or a class derived from its class

DevX

Generating WML via an ASP

Question: Can I generate WML via an ASP? If so, do I no longer need a WAP server installed on top of IIS? Answer: ASP is a server-side scripting language.

DevX

Using the CDO for NTS Library With WML

Question: I have installed the library in my server but when I try to do Server.CreateObject(“CDONTS.NewMail”) in my ASP file, it returns an error: ‘ASP 0177 : 800401f3’ “Server.CreateObject failed”

DevX

Between Statement

Question: How do I write a statement that selects data between two dates? Answer: You can select data within two dates using the BETWEEN operator. Using the Orders table in

DevX

Converting Datatype Within Informix SQL

Question: I am trying to select various values from various fields. I want to be able to concatenate the results into a string variable, then insert the string into another

DevX

Accessing Parameter from HTTP-Request

Question: I want to attach a parameter to a URL like this, “url?name=value”, and use the parameter on the HTML page. Is this possible? Answer: Yes; you can do this

DevX

Informix Definition

Question: What is the definition for Informix? Answer: Informix is a database company that develops and sells high-powered commercial databases. It’s main competition is Oracle. Related Posts Musk under fire

DevX

Heap Issue

Question: I have a class A (from a DllA) inside a method that does a new on a class B defined in the DllB, uses it and deletes it. When

DevX

Exporting a Table Informix 7.25

Question: How do I export only one table, then import the same table back into Informix? Answer: Use the SQL UNLOAD command: UNLOAD to filename.unl select * from tablename When

DevX

Saving Form Data Within the Form Format

Question: I want users to be able to save a partially completed form, preferably to their hard disk with a user specified name, so that they can retrieve the file

DevX

Initialization of Built-In Types

Question: What does the declaration int i(0) ; mean? Does C++ have a type ‘int’ constructor? And why doesn’t Visual C++ accept a char* p(0) ; declaration? Answer: This expression

DevX

STL Set Performance

Question: How do I improve an integer set’s performance when it is used in multithreaded environment? Answer: Many factors affect a multithreaded application’s performance: the operating system, the duration of

DevX

The MB MsgBoxEx Control

This control is an extended and object-oriented version of the VB’s MsgBox function. You can center the message box on your form or place it everywhere you want, display any

DevX

Display the Connect To Printer dialog

Under Windows NT you can programmatically display the Connect To Printer dialog using one simple API function: ‘ This works only under Windows NT and 2000Private Declare Function ConnectToPrinterDlg Lib

DevX

Cannot Register ActiveX DLL Remotely

Question: I have downloaded an ActiveX DLL (A third Party ActiveX component) for uploading files to my server. The problem is I can not register the DLL in my Web

DevX

Simple Table Grids Without Images

When designing an internet application that must provide results in a grid, many developers will use small (1 pixel by 1 pixel) images in order to create a grid effect

DevX

Populate a Flexgrid With Desired Columns and Filtered Rows

Populate a flexgrid control with specified columns and filtered rows by drawing the control and calling this routine: Dim strWhere As StringstrWhere = ” WHERE PeopleAddressesID=4502″Call PopulateFlexGrid(Me.MSFGrid, “tblPeopleAddresses”, strWhere,”PeopleAddressesID”, “BuildingName”,