
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.
I often use the following trick in my code. Let “a” and “b” be real positive numbers. You want to find the smallest integer greater than or equal to “a/b”.
Question: When I implemented a pull-down menu, it wiped out the default, anchoring color schemes. When I changed the pull-down menu to blue text, my anchored text showed blue again.
Question: When I press the right mouse click, I’d like to have a custom menu pop up instead of the usual default browser pop-up. How can I do this with
Question: I’m loading news links from our companies’ database to our home page using the tag. However, when a user clicks on one of these links, the news item appears
Question: Is there a way to read the contents of a directory into a table so that the contents of each cell of the table becomes a link? Answer: This
Question: I’m using ASP to register data in a DBF table through a SQL statement. I get data from a form (textarea) in an HTML page. However, the SQL statement
Question: My app. name contains the char “> “: myapp>name Of course, this creates huge problems. How do I get past this in HTML, when displaying or referencing the app.
If you have light menu pages but heavy graphics on pages deeper into the site, sneak a graphic or two into the user’s cache while someone is reading your home
On May 9, Mark Williams contributed the following:Manoj Singh’s tip to “Kill the Browser’s Offset Bug” was only partially correct. You can fix this “bug” under Netscape as well as
You may already know that remote scripting is a great way to access server-side functions and procedures from client-side scripting. However, when you use parameters in a server-side function intended
DHTML intrinsic behavior gives advantage to changing the user’s home page to the current page. The style block, which goes in the of the document, associates the home page class
Question: How do I activate trim trailing blanks from No to Yes? Answer: The SET ANSI PADDING statement controls the setting you are referring to. When a table is being
Question: I have to build a GSM application as written with the SIM toolkit protocol but within the WAP environment. How can I communicate via WML with the SIM card,
Question: How do you delete folders like Front Page, Outlook Express and the like? Answer: Well, from the command line you have several options. You can use DelTree to remove
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











