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: How can I find the current cursor position in text box? Answer: You can use the SelStart property of the TextBox to indicate where the cursor is in the
Question: How do I change an ASCII value to a letter in C++? Answer: You can directly assign the ASCII vlaues to a variables of type char.The decimal value is
Question: I want to make a menu, where you can select from 1-4. By pressing one of these keys you should get into a subprogram. Now I have to press
Question: Is it possible to create DLLs in Visual Basic? If so, how? For example, I want a DLL with a function that can accept 2 integer arguments and returns
Question: How can I define a second SMTP e-mail address, specify that the new e-mail address be the reply address, and retain the old address easily for many (>1000) users?
Question: I am starting to see the benefits of using XML and XSL in Web site development, but my challenge is convincing the decision makers. Their usual responses are: “Show
Browsers Targeted: Internet Explorer 4+ You can find a string of text within a document programmatically using the textRange object, which handles most of the internal string manipulation capabilities in
Question: I have a limited understanding of XSL (Extensible Stylesheet Language) and have been trying to figure out how to write an XSL document that will transform a highly de-normalized
Question: We are running Informix On-Line Database Engine 7.23 on an HP UX 11.0 machine with 4 CPUs.The database is connected through a middle-tier, which is ENTERA Application Server running
Users of Visual InterDev sometimes report getting an error message when they try to create a new project. The error claims that there is no Web named “”. This can
f you’ve spent any time at all working with databases, you know that the time comes when you scratch your head and ask, “Now what was the name of that
his 10-Minute Solution is the second of a series of three articles covering how to display data from a database in the form of logical pages, so that the user
ne of the more common questions asked here at “Ask the XML Pro” has to do with the dilemma of maintaining large databases of XML data. Specifically, suppose that you
any of the more common questions asked of the VB Pro involve formatting and validating data. In this 10-Minute Solution, you’ll learn how to validate and format a phone number.
ava continues to make inroads at all levels of computing. Mostrecently, Java has returned to its roots and found a home in the smalldevices for which it was originally designed.
untime errors can occur as a result of attempts to complete an invalid operation while the program is running. There are two causes of runtime errors: either one of the
You should be very careful while establishing database connections from your Web-based application. MDAC 2.0 (Microsoft Data Access Components) provides automatic connection pooling behind the scenes. Connection pooling in OLE
You should always mark your VB server components for
With MDAC 2.1 (Microsoft Data Access Components), you can generate a XML file quickly from a Recordset object. The Save() method of Recordset object takes in an optional parameter, adPersistXML,
Question: I’m running Outlook 2000 and would like to import my *.pst file into my home system. However, I receive an error message saying that the file needs to be
s Visual Basic and VBScript have progressed from version to version, chances are you have not kept up to date with some of the new functions introduced in the later
Browsers Targeted: Internet Explorer 3+ Depending upon your bandwidth availability, you can incorporate AVIs into your Web pages as navigational elements. If you set the dynsrc property of the tag
Elsewhere in the TipBank we show how you can display a custom popup menu on a TextBox control by subclassing the WM_CONTEXTMENU message that Windows sends the control when the
The TextBox control supports the capability to undo changes, but there is no property or method that exposes this feature. You can achieve the same goal with a a set
You can quickly determine how many lines of text are contained in a multiline TextBox control whose Scrollbars property is set to 3-Both – that is, when the TextBox behaves
To determine the index of the first visible line in a multiline TextBox control you only need to send it the EM_GETFIRSTVISIBLELINE message: Private Declare Function SendMessage Lib “user32” Alias
If your video display has 256 colors or less and you assign a dithered color to the BackColor property of a TextBox control, you’ll find that the background color under
By default, DreamWeaver 2 assumes that your page will be downloaded with a 28.8 KB per second modem. The estimated download time appears in the status bar. If you are
Java lets you cast an integer into a byte and vice versa. While this provides power and flexibility, we should be aware that Java’s byte data type is signed, meaning
We can use java.text.DateFormat to validate dates. DateFormat is an abstract class for date/time formatting subclasses. It provides parsing methods for conversion of text into date. If the conversion cannot











