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.
I wanted to distinguish between different print jobs. I tried to find a way to set the print job name that appears in the printer queue, but even some nasty
This is a common error among C programmers who have recently switched to VB. This code would result in A and B as Variant variables and only C as an
I often include a module called Utilities.bas in my projects. It contains routines that are not directly used by the application, but instead are invoked in the Debug window, usually
Question: I can press Windows Key + M to minimize all windows, but how do I minimize only the current window without using my mouse? Answer: Well, I can give
Question: I am trying to set up delegate rights on different clients in a domain. However, when I try to pull up the Properties tab on folders on some of
Question: Instead of using: oXML.Load “c:program filesxml notepadAppntmts.xml” I want to do something like: oXML.Load Command() where the Visual Basic Command function returns an XML formatted data stream passed on
Question: What types of applications can I use XML in? Also, how do I convert my existing ASP-based applications into XML? Answer: While there really isn’t any application that probably
Question: Is there an NT Account Operator equivalent in Exchange? Answer: Yes, in a manner of speaking. To give a user, such as an assistant, permissions to create, modify, and
Adding this META tag: to the document prevents the Web page from being cached by the browser. This tag ensures that a new copy of the document will always be
You can use GetString() method of ADODB.Recordset object if you want to dumpthe complete table in an active server page. GetString() method returns thecomplete recordset as a string. You can
Question: How do I host multiple domains with Exchange Server 5.5? I have six domains that I would like to host on this server, but I only know how to
Question: In Outlook 97 it was possible to edit the body of a received e-mail message. This is valuable because I ask people for information about themselves, which they e-mail
Question: Do you know of any way to use offline folders by default but to have your calendar work online? (I am using Outlook 2000.) I want to work offline
If you are developing a game in VB or an application that plays sounds, you probably want to check that a sound card actually exists. There is an API function
You can use the ShellExecute API function to programmatically open a window of Explorer and display the contents of the Recycle Bin. This is the function’s declare: Private Declare Function
Option ExplicitPrivate Type SHQUERYRBINFO cbSize As Long ‘ bytes in this structure i64Size As Currency ‘ 64-bit integer with size of items in the Recycle ‘ Bin i64NumItems As Currency
Private Declare Function SHEmptyRecycleBin Lib “shell32.dll” Alias _ “SHEmptyRecycleBinA” (ByVal hWnd As Long, ByVal pszRootPath As String, _ ByVal dwFlags As Long) As LongConst SHERB_NOCONFIRMATION = &H1Const SHERB_NOPROGRESSUI = &H2Const
ne way to implement an inactivity timeout in an application is to keep track of the last time a MouseEvent or KeyEvent was sent to an application. In a separate
n last month’s 10-Minute Solution, you learned how to display data from a database. This time, you’ll see how to use this technique to pick and choose what to display
ere’s an interesting conundrum. You have an application that doesn’t have an object model (or has one that’s so hideously complex that you’d just as soon not pay a programmer
he experience of answering e-mail to the SQL Server Pro on DevX has made me appreciate the limits of my knowledge and experience. Some questions are funny because they are
he Outlook View control released by Microsoft allows you to display an Outlook folder in your application. The folder displayed in the control is fully functional; you can create, open,
There are techniques for creation of objects (read allocation of memory)widely known as lazy Instantiation and Eager Instantiation.Lazy instantiation is a memory conservation technique, by which, a programdelays the creation
Everyone is getting into XML but most of us have our data in Access or SQL databases. You can dump your data to an XML file in an instant by
It might be useful to garner an enumeration of all thread groups and theirthreads in your running application. The following method shows you how todo that: public void printOutThreadGroups(){ //create
When passing arguments to in-process OLE servers, you can pass everything by reference. This is because the OLE server shares its client
Each MTS component can contain one or more classes which, in MTS terms, are referred to as MTS Objects. Visual Basic 6.0 provides a new property called MTSTransactionMode that can
sp_spaceused can be used to compute the amount of disk space used for data and indexes, and the disk space used by a table in the current database. If no
If you make changes to the SQL Server Registry entries, then you should first back up those entries by using the Regrebld -backup command-line utility. Usage is: Regrebld -backup You
If you are running the windows 98/95 version of SQL Server, then you can use the Windows 98/95 specific scm.exe utility to stop and start SQL Server. The scm.exe utility
