
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: I have a DLL called math911.dll and a function called a101. Private objM As MATH911.questionsSet objM = New MATH911.questions’use the functionCall objM.a101(level, TOPlevel, tipe, problem, ans, cpt, INSTRUCTIONS, AMT,
Question: Is it possible to append all the elements of a nodelist to a node as children without using a for loop? I want to overcome the performance problems incurred
Question: How can I finalize an object without waiting for the garbage collector? Answer: The System class contains a convenience method called gc() that canbe used to ask the JVM
A lesser-known, new feature in VB6 is the ability to have MultiUse and GlobalMultiUse classes within an ActiveX control project. This is useful if you have ActiveX controls and creatable
For some reason unknown to me, the designers of java.util.Calendar class have enumerated months of the year from 0 to 11 inclusive. So, January would be month zero, and December
To test your applets using the applet viewer, put the following comment in your Java file: /* */ Then you won’t need an HTML file for your applet code. The
In ASP pages, you can share script functions or libraries using the #INCLUDEdirective. This feature allows you to share subroutines and functions acrossmultiple pages. Instead of repeating similar (or rather
IObjectControl is the second COM interface (besides the COM interface IObjectContext) of the component class factory, as stored in MTS when the component is installed. This interface is useful for
There are two limitation about writing ASP code with VBScript. First of all, all variables must be variants. Second, VBScript can currently retrieve output parameters only when they are declared
Depending on what the code is doing, early binding may significantly improve the speed of the code. Also, syntax errors in OLE Automation code, which otherwise fail at run time,
Trying to parse a set of TreeView nodes and their children’s nodes and their children’s nodes can be confusing. This algorithm makes the process easier. Recursion describes an algorithm that
People sometimes complain about the inaccuracy of floating point arithmetic. To demonstrate the level of floating pint inaccuracy, consider the following program: #include using namespace std; int main() { float
Question: I have this table: declare tbl1 (x int,y int,z int); I don’t have a column I could use as a unique key. There are some duplicate rows (not just
Question: I am using history objects back(1) ( history.back(1) )method in my HTML application to go to previous screen and it is working alright but I am not able to
Question: Designing with JavaScript by Nick Heinle talks about using Internet Explorer’s Object tags for simple data binding of CDV databases. Is there a Netscape Embed tag (or other equivalent)
Question: Is there a way I can load a Web page from the top frame into the bottom frame, when a user clicks on a link in the bottom frame?
Question: How do I replicate the pasteHTML function supported by Internet Explorer in Netscape? Rewriting the layer isn’t the problem. The problem is determining the position of the text returned
Question: I want to present the results of a search in a table with two background colors, so that every other row will change color. How can I do this?
Question: I am trying to build a warehouse. The steps involved are: Make a snapshot replication of the OLTP onto the staging area. Run a DTS package that makes transformations
Question: Can JavaScript access CGI environment variables? Once a user has logged into my site, I would like to retrieve the user name from the “REMOTE_USER” variable. Answer: No, there
Question: Is there a way to declare and invoke methods in JavaServer Pages? Answer: Methods can be declared in the same way as variables in JavaServerPages. It can help to
Question: Is it possible to cache a JavaScript or remote .JS file on a client? It seems that while you can cache images, HTML, objects, and so on, caching .JS
Question: I have an issue with date formats. I have a VB client piece of software that generates a select based on a particular date. However it only works on
Question: How do I limit an SQL SELECT statement to returning just the top ten producing offices? Answer: Use the TOP operator or SET ROWCOUNT to 10.
Question: When I add sites to my Microsoft Internet Explorer Favorites, the site’s logo (or icon) appears by the Web page’s name instead of the little “e” that usually appears
Question: JavaScript provides straightforward methods for detecting things like browser version and platform, and a few options such as whether the client will accept cookies. But is there a way
Question: I am trying to put lines of text into an array: messageArray = new Array();messageArray[0] = ‘Information deduced from the document’s content.’ I’m running into problems with the single
Question: Is there a way to programmatically reset the status of a record in an ADO 2.1 recordset? For example, I would like to change the status of a record
Question: I have a VB database application that, when I pass a unique id to a client object, opens that record (this explanation is simplified). I have to write an
Question: I have a program that calculates the number of people the government could send to college with the money they spend on certain defense programs. The script works, but











