Use Maxlength to Protect Your Database
We often design HTML forms to gather information. The data is later stored in a database backend such as SQL Server. In such databases, you have to specify the length
We often design HTML forms to gather information. The data is later stored in a database backend such as SQL Server. In such databases, you have to specify the length
In a Command Prompt window, you can start the SQL server in minimal configuration mode by typing: sqlservr -c -f This command also starts the SQL server in single-user mode.
This may seem a bit off-topic, but it has been a fertile source of guesses and flame wars in C++ newsgroups for years: how to pronounce the name of C++
Improper use of objects and object references can cause your application’s objects to stay resident in memory. Such “memory leaks” often causes system performance degradation and prevents your application from
R++ is an extension to C++ that supports rule-based programming. Thus, programs written in R++ have all the facilities of C++ plus a new programming construct: a rule. A rule
In the past, VB allowed an app to have only one icon. However, resource files expose any contained icons to Windows. Simply add the icons you wish to show to
Question: I’ve developed an application using JavaScript to access Oracle database and display results in sets of tables on an HTML page. Recently, I got a request to place the
Question: What is an XML server and how would I use it? Answer: There are a number of possible answers, depending upon the specific product. However, typically an XML server
Question: Is there a way to select a structure of a database row and send it once from a server to a client and after that send thousands of rows?
Question: I copied an XML document and an XSL document out of my XML for Dummies book. It said that to make the XSL document affect the XML document, I
Setting up the control tab order can be unruly-a sore point with many VB developers. In fact, in Jeff Hadfield’s recent editorial, “Five Things You Hate About VB6” [Editor’s Note,
It is possible to set a default timeout value for your Web application via Internet Service Manager. However, there are occasions when an ASP might process longer than this default
It is common for an application to retain user preferences between sessions.In Java, the java.util.Properties class provides you with a simple, elegantmechanism for storage and management of properties. An extension
Unlike C, C++ does not impose any restrictions on the length of identifiers. Implementations set their own limits, but these are so high that identifiers can consist of tens of
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