
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.
You can always write a stored procedure which can return some value in the form of parameters. This feature to return information from stored procedures in the form of parameters
VBScript is not case sensitive. JScript on the other hand, is case sensitive. So when Web scripts reference JScript keywords, care must be taken to type the keyword exactly as
If a Web application does not make use of IIS sessions, Internet Information Services snap-in should be used to disable session state for the entire application, if possible. Sessions in
Create a new standard exe project and add reference of sqldmo.rll. This file can be found in BinnResources1033sqldmo.rll under SqlServer70 directory.Now add following code and declaration in your form’s code:
Through reflection, Java code can obtain information about, and performoperations on, data fields, methods, and constructors of loaded classes. Of coure, there are security restrictions. The reflection API (encapsulated in
You can hide the implementation details of your stored procedures from end users of the application using WITH ENCRYPTION option. ENCRYPTION indicates that SQL Server encrypts the syscomments table entry
The following class will give you a label with underlined text. public class UnderlinedLabel extends java.awt.Label { public UnderlinedLabel() { this(“”); } public UnderlinedLabel(String text) { super(text); } public void
Java doesn’t offer direct support for pointer to functions. But this doesnot mean that you cannot have a set of functions that can be accessed via amapping index. The code
The idea behind the Java’s handling of double-clicks on the mouse is that if the mouse is clicked fast enough for two times in the same spot, a “java.awt.event.MouseEvent” event
You can use, or extend, java.awt.List to create a simple multi-column list. In order to do so, you need to use a fixed character width font set like Courier. Suppose
Question: I want to find the path to the Startup special folder. How can this be done within a VB application? Answer: It takes a couple of steps, but is
Question: How do I get all the inputted information from an HTML form and save it to my server as a CSV (comma-separated values) file which updates itself? Answer: If
Question: In the Tastrade sample framework and application that ships with Visual FoxPro, I only see examples of running stored procedures in a VFP database from a rule or validation
You can use this method to view all the CoClasses, and Interfaces present in thetype library. In order to run this tech tip you need following things:(a) VB5 or VB6(b)
In order to run this tech tip you need following things:(a) VB5 or VB6(b) Reference to Type Lib information object component (TLIBINF32.dll). This function takes in the name of the
Although you can process e-mail addresses using server-side code, sometimes it is easier to let your server-side code set up the original parameters for the e-mail and then just let
Question: What is the best (fastest) method to add records to a SQL 7 database using VB and ADO? I am currently using the recordset methods and it could take
Question: I have a numeric data field where zero is a valid value. When a number has been entered and then it is deleted, I want it to become blank
Question: Using Visual Basic 6.0, I created a reference to a HTMLDocument object. I built a basic HTML page template and displayed it within a Web browser control on a
Question: I can set the cursor to a variety of stock cursors (e.g., HAND_CURSOR)but would like to use my own images to extend the availablecursors. Is this possible? Answer: JDK
Question: How can I make a form that accesses and modifies SQL databases the same way I do with a .dbf database? Answer: You can accomplish what you need by
Question: In Java, how do I achieve the same functionality which is provided byclass destructors in C++? Is there a destructor method in Java? Answer: Java does not possess the
Question: How can I change the values of the Cascading Style Sheets (CSS) clip property after the DIV is created? Answer: For the current releases of Navigator and IE (IE
Question: What are Abstract Classes? Please explain with an example. Answer: An abtract class has at least one pure virtual member function. A pure virtual member function is a non-implemented
Question: Can you expalin the difference between the following statements in some examples and when do we need them: const char *ptr; //char *const ptr; // Answer: The following statement:
Question: I am having problems designing my XML doc. I’d like togeneralize it using common structure names but it appears that the DTD/Schemafor it can’t fully describe it. Here is
Question: I am calling one form from another. But after working in the called form, when I come back to the calling form, the grid that was there in the
‘ Indexed ShellSort of an array of any type” Indexed Sorts are sort procedures that sort an index array’ instead of the main array. You can then list the items
‘ Bubble Sort an array of any type’ BubbleSort is especially convenient with small arrays (1,000′ items or fewer) or with arrays that are already almost sorted” NUMELS is the
‘ Return the volume label of a disk’ Pass a null string for the current diskFunction VolumeLabel(drive As String) As String Dim temp As String On Error Resume Next temp
