Sending Plain Text Via ASP
Question: I wrote simple ASP code that reads a TXT file and sends it to the browser. I change the Response.Header to plain/text. Internet Explorer 4 displays the text file
Question: I wrote simple ASP code that reads a TXT file and sends it to the browser. I change the Response.Header to plain/text. Internet Explorer 4 displays the text file
Some languages, like C++, let us declare optional parameters. For example, the following is a valid method signature in C++: public aMethod(int x, int y=0, int z=0); where parameters y
It is very easy to add a shadowy effect to drawn text in Java. All we have to do is to pick a darker color for the shadow and draw
Sometimes in an application you will have a “home” directory associated with the application, and then some files associated with that home directory. To have the files in an independent
Suppose you are writing a Java application on the windows platform and want to make a JNI call to a C function written with Microsoft Visual Studio 6.0. Well, here’s
Browsers Targeted: Internet Explorer 4+ One of the capabilities that JavaScript has long had that VBScript hasn’t supported is being able to associate an event handler with a specific function.
Browsers Targeted: Internet Explorer 3+ It used to be a truism that manipulating strings was always much slower in DHTML than working directly with the Document Object Model (DOM), but
Question: I would like to get the permissions for the users of my app. I have setup groups for users with the appropriate permisions. Now all I want to do
Question: When I learned VC++, I found a bizarre statement inevery .cpp produced by AppWizard: “static char THIS_FILE[]=__FILE__;” Why does AppWizard redefine THIS_FILE?I find that THIS_FILE is just defined as__FILE__
Question: It’s been years since my paws had to pound out a solution in C, so I’m a bit rusty and would like a second opinion.. or third… or fourth.
Question: How do you create an array of pointers to vectors?The different vectors will, eventually, have different lengths. Answer: You declare an array of pointers to vector like this: std::vector
Question: How do I use a variable to reference a control on a form? For instance, if I have five controls on a form named Edit1 through Edit5, and I
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 Related Posts Lower your internet costs with these tipsReasons to Invest in Legal Workflow SoftwareTip: How to Turn on TLS Versions