We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

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.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX - Software Development Resource

Different Toolbar Text from Toolbar Tip Text

Question: How do I get short names for my toolbar text, but longer text for the toolbar tips? For example, I’d like the toolbar tip to read “Usage Statistics” but

DevX - Software Development Resource

Message Box for Unsaved Changes

Question: How do I get a message box to appear if users have not saved their work, asking them if they want to save their work? (I am using PowerBuilder

DevX - Software Development Resource

SQL Query in FoxPro Reports

Question: I am doing calculations in reports using SQL and FoxPro 2.6 for Windows. My SQL query works fine, except for one thing. I want to display information in the

DevX - Software Development Resource

Changed Permission Properties

Question: When I do a property box on a file/directory, the Security sheet changes from the normal (NT4, SP0) one to a new one. Can you explain this? (I have

DevX - Software Development Resource

Quickly clear a portion of an array

The fastest way to clear an array is to ReDim (if the array is dynamic) or Erase it (if the array is Static). However, if you want to clear a

DevX - Software Development Resource

Suppress TreeView’s tooltips

By default, all TreeView controls whose version number is 4.70 or higher display the text of the node under the cursor if the node itself isn’t completely visible. You can

DevX - Software Development Resource

Highlight the contents of a control on entry

You probably already know that you can highlight the contents of any textbox by adding two lines of code in its GotFocus event: Private Sub Text1_GotFocus() Text1.SelStart = 0 Text1.SelLength

DevX - Software Development Resource

Build a simple browser for icons

Winodws uses a special browser to show all icons contained in a file and offers the end user the possibility to choose an icon from it. You can add this

DevX - Software Development Resource

Create Preview Windows in HTML Pages

Here is a simple way to provide preview window functionality in your Web pages. The idea is to have some kind of text area on the HTML pagewhere user can

DevX - Software Development Resource

Start SQLServer Dynamically with
VB and SQL-DMO Objects

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:

DevX - Software Development Resource

What Reflection Means in Java

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

DevX - Software Development Resource

Hide Implementation Details of Stored Procedures

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

DevX - Software Development Resource

Create a Label With Underlined Text

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

DevX - Software Development Resource

Create an Array of Functions in Java

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

DevX - Software Development Resource

Be User-Friendly With Double-Clicks

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

DevX - Software Development Resource

Aligned Columns in java.awt.List

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

DevX - Software Development Resource

Special Folder Path

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

DevX - Software Development Resource

Save Inputted Data From a Form as a CSV File

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

DevX - Software Development Resource

Running Stored Procedures

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

DevX - Software Development Resource

View Information Stored in Type Libraries

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)

DevX - Software Development Resource

Adding Records

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

DevX - Software Development Resource

Empty Numeric Field

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

DevX - Software Development Resource

Dynamically Create Reports

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

DevX - Software Development Resource

Cursor Customization

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

DevX - Software Development Resource

Creating Remote Views

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