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.
Here is an example of how to make your application auto start from the registry.The code also shows how to query and clear this. ‘Module: Module1 Option Explicit Private Const
Clicking a submit button on a Web form can create havoc. Here is an easy way to restrict a Web user from clicking the submit button more than once. Once
Most ASP books and articles state that you need to set the Respose.Expires property to 0 or -1 to prevent the end user’s browser from caching an ASP page. However,
This control reproduces the Flat Combobox control introduced in Office 2000: the combobox has a flat or 3D border according to the mouse cursor being or not over the control.
uch of the focus of XSLT has been on its “stylesheet” capabilities?the ability to convert XML into some form of displayed HTML. However, XSLT is a functional language, one that
ames, distributed database systems, multimedia and graphic applications use persistent objects extensively. Yet presently, C++ doesn’t support persistence directly (there are proposals for adding persistence and reflection to C++ in
orm validation is a checking process that occurs between the time the user clicks the submit button and the actual submission of the form. In this article, you’ll see how
s XML has increased in popularity, the number of applications and uses for it has increased exponentially. Developers are rapidly realizing XML’s true power and flexibility of as both a
atabase performance is one of those things that goes unnoticed, until it starts flagging. There are three broad areas relevant to database performance: System resources (essentially, the hardware) Data structures
n the article, we will create a simple SOAP service, and a client to access thatservice. The service will be in the form of an Active Server Page, which I
‘ a variation of the Split function that works with more than one separators’ note that separators can consists of 2 or more chars’ Example:’ Dim res() As String’ res()
‘ generate a random string” the mask can contain the following special chars’ ? : any ASCII character (1-127)’ # : a digit’ A : an alphabetic char’ N :
‘ Concatenate a variable number of text files into a single result file” Params:’ – ResultFile: the complete path of the result file you want to create’ – Separator: a
Private Declare Function IsCharUpper Lib “user32” Alias “IsCharUpperA” (ByVal _ cChar As Byte) As Boolean’ Check is the specified string is composed only by upper case characters (no ‘ digits
Private Declare Function IsCharLower Lib “user32” Alias “IsCharLowerA” (ByVal _ cChar As Byte) As Boolean’ Check is the specified string is composed only by lower case characters (no ‘ digits
lthough IronFlare’s Orion Application Server is hardly a giant in the app server market, there is no arguing its position as a hunter in pursuit. Orion has quietly grown in
When you use the Add-Ins project template to build your own add-ins, the description of the add-in appearing in the Add-Ins Manager window is always “My Addin.” It isn’t immediately
A pointer to member of a base class can be converted to a pointer to a corresponding member of its derived class. The opposite, however, is illegal: you cannot convert
The std::string has a data member that holds its size. Calculating the size of a string object is therefore a fast constant time operation, which is independent of the number
You can make your code more readable by always adding a remark on top of all your procedures. Create an add-in that makes it fast and easy. First, run New
Since the introduction of DHTML and client-side scripting, developing Internet applications can be a real challenge. If you don’t have the luxury of a “pure” Internet Explorer environment, there’s a
You can retrieve information about all the available drives using calls to Windows API, if you like the hard way of doing things. A much simpler solution is offered by
HTML elements can be made inactive and non-responsive by using the disable attribute. When HTML controls are disabled, they appear dimmed and don’t respond to user input. This is useful
This is achieved by using the Windows Script Host. First, create an instance of the object WScript.Shell. Then, use its Run method to execute the DOS command. For example, say
Setting Response.Expires to a negative number or 0 disables caching. Sometimes, the use of Response.Expires = -1 doesn’t work because of mismatches between the clocks on the server and the
From the command prompt, type: nbtstat -R This will reload the lmhosts file, and you won’t have to reboot the system for the changes to take affect.
Before starting, add the Microsoft DAO 3.51 Object Library Reference. Private Sub Form_Load() Dim WkSp As Workspace Dim dB As Database ‘Define the file .MDW where are the users and
You can use the ‘With … End With’ statements if you are using VBScript 5.0 or later. It helps to improve performance. This runs slower: PersonObj.FirstName = “Sandeep”PersonObj.LastName = “Gain”PersonObj.City
Oracle DBA’s can run this query to terminate sessions if users are inactive for more than certain time period for any Security/Performance reasons. select s.username “User”, s.osuser “OS User”, s.sid
Use Environ var. This Works Only on Windows NT and 2000. Me.Label1 = “Temp Dir – ” & Environ$(“temp”) Me.Label2 = “Sys Dir – ” & Environ$(“windir”) &IIf(Len(Environ$(“OS”)), “SYSTEM32”, “SYSTEM”)











