
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: Can I rename a SQL column without making a new table or relying on GUI? Answer: The ALTER TABLE ALTER COLUMN SYNTAX supports either dropping an existing column or
Question: What’s the best way to write null values in file, then read them back from file? Answer: If you are using the built-in PowerBuilder functions to read the data
Question: How can I find out which Informix products/versions are compliant/compatible with other Informix product/version combinations? Answer: Try calling your local Informix office. They may have something. As a general
Question: I just installed IDS 7.31.uc5 on HPUX 11. When I try starting it up (oninit -iy) I get the following error: unable to open input file ‘s’unable to open
Question: How do I sort by year a datawindow that already sorts in ascending or descending? (The field is in mm/dd/yy format.) Answer: Create a computed column on the datawindow
Question: How do I animate an image in PowerBuilder? Someone told me I would have to split the gif into frames and then set up a timer. Answer: You can
The ADO Recordset object exposes the GetString method, which returns the values in the Recordset into a formatted string. Here’s its syntax: res = GetString([StringFormat As StringFormatEnum = adClipString], _
The stardard method to register and unregister ActiveX component is running the REGSVR32 utility, which forces you to bring up the Start|Run dialog and manually type the command line. A
All ActiveX DLL or OCX export two functions: DllRegisterServer and DllUnregisterServer. They are used to register and unregister the ActiveX in the Windows registry, and are usually invoked from regsvr32.exe
To programmatically copy text from the WebBrowser control you can use its ExecWB method, to which you must pass the OLECMDID_COPY constant as its first argument. WebBrowser1.ExecWB OLECMDID_COPY, OLECMDEXECOPT_DODEFAULT You
The WebBrowser control doesn’t expose any method to directly print its contents. You can achieve this effect through the ExecWB method, by passing the OLECMDID_PRINT constant in its first argument:
You can easily download an HTML page by using the Internet Transfer Control (INet). Here’s a reusable routine that uses this control to download the HTML page at the specified
All COM-oriented VB developers know how to register and unregister an ActiveX DLL, using the REGSVR32 utility. However, there is no such an utility to register and unregister a type
By adding a couple Registry keys you can add a commond to the context menu that appear when you right-click a directory when inside Windows Explorer. The new command lets
Here’s a quick way to retrieve the textual (that is, without any HTML tag) contents of a WebBrowser control: Dim Text As StringText = WebBrowser1.Document.Body.InnerText Getting the HTML text is
When trying to use an applet inside a servlet using the applet tag: out.println(“” + “”) Two things must be kept in mind: 1.You must include the codebase in the
You can use an enum type as you would use any other type: You can create arrays thereof, allocated it dynamically using operator new, define pointers to it and return
Function lookup stops at a scope. In the case of class hierarchies, this means that a function?either virtual or not?declared in a derived class can hide a virtual member function
The 16-bit operating systems Windows 3.1x and DOS had a very intricate memory model that required the use of functions like GlobalAlloc() and GlobalLock(). These functions addressed a specific problem
The ANSI function getenv() returns the value of an environment variable. getenv() takes a C-string containing an environment variable and returns its value. In the following example, getenv() detects the
The standard typedef name size_t represents a platform-defined unsigned integral data type. If you’re a Unix or Linux programmer, you may have come across another similar typedef, namely ssize_t. This
There are two ways to embed a data island into an HTML document. The first is inline, where the XML data structure is surrounded by the tags. 3345 Deepak Pant
Question: I want to call another function only if the key pressed is a letter. Is there a way to check whether the key the user has typed is a
Question: Does STL use any synchronization, or do I have to implement it myself by critical section? Answer: The C++ standard doesn’t specify whether STL is thread-safe or not (which
Question: I am trying to convert all the LAYER tags to DIV tags. In my code, I am using LAYER.SRC to execute a sever-side macro that returns an HTML document,
Question: Is there a way (using VB) to load a Web page (without actually showing the page through a browser or otherwise) and then extract the HTML code for use
Question: Can you provide any insight on whether spider-based search engines, like AltaVista and Inktomi, can index DHTML text? Answer: The phrase “DHTML text” can mean different things to different
Question: I have an ASP called ‘default.asp’ that creates a recordset object called ‘objRS’ via ODBC. When a certain set of conditions is met, I linked it to another ASP
Question: How do you automatically select all text in a TextBox when it receives the focus? Answer: For a text box named Text1 you can use the following code: Private
Question: I can’t seem to get the switch statement to work with chars.For example: #include char answer[2];void main(){ cout > answer; switch(answer) { case ‘a’ : cout











