![]() |
| Support Home | Search | Documentation |
HOWTO: Prevent Numbers being formatted when outputting to ASP PagesThe information in this article applies to:
SUMMARY:This article will discuss a way in which you can prevent numbers and dates being formatted when outputting to ASP web pages. MORE INFORMATION:NOTE: These methods listed below are examples. There might be other methods in which this feature can be incorporated into an AVR application that is not mentioned in this article. Requirements:
Program details:Note that you will have to make a reference to the Microsoft COM+ and Active Server Pages Objects (See Figure 1 and 2). Make sure these Objects (i.e. COM+ / MTS and IIS) exist on the Web Server where this application will run. Note you will have to configure the Project Settings for this DLL to be created successfully (See Figure 3 and 4).
Here is the code that is needed for the AVR Class (i.e. VRC):
Figure 5 demonstrates the properties for the AVR Class (VRC):
Figure 5 Here is the code for the ASP page (named "datatest.asp"):
Note the results after running your ASP page in your Browser. Make sure the browser's URL begins with HTTP://. TIP: You can use the same method (i.e. using a string variable) for outputting dates to ASP pages from your AVR DLL. Other ASNA KB Articles:
Other Web Articles: Keywords: example, client, develop, IDE, "leading zeros", automation, "date format", "number format" |
Last Modified Date: 2/13/2002 3:54:25 PM
Copyright © 2005, 2006 ASNA Inc.
| Support Home | Search | Documentation |