Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to VBScript runat=server script?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00714936
Message ID:
00715142
Views:
17
>>Response.Write does not work within vbscript - it is used within asp script. Akhan’s example works fine and uses standard HTML for the message.
>>
>>If you want to use vbscript and not asp, use alert(“Hello world”) within the script tags.
>>
>>
>>Tom
>Thanks

Terry;

For “kicks” I tried a number of things using your first example as a starting point. Then I tried variations of htm/html, and asp extensions while using response.write, alert(“”), runat=server, and so on. I think I can write a book about what works and why.

By the way, what were you attempting to accomplish? Did you succeed? And now there is APS.NET for our “pleasure”.

By the way I work with ASP using Visual Interdev 6.0, only because it is our corporate standard. That is my main tool at work. I am about to start using ASP.NET at home to learn a few things before we get surprised with, “our new corporate standard is .NET”!

ASP has many limits but it does have its place. We use it on our corporate Intranet. One thing I found out about ASP. In case you are not aware (I am sure you are) I.E. works with ASP and other browsers – well do not waste your time is the short answer. This limits your audience thus Intranet applications are a natural along with a corporate standard of I.E. Browsers only.

I.E. 5.0 allows you to do specific things that will not work in versions 5.5 or 6.0. As it turns out after working with Microsoft on these issues it was determined that I.E. 5.0 has “bugs” which allow specific code to run that deletes all data but not the records in 5.5 or 6.0 browsers, when you attempt to do a “Save”. A change of code for 5.5 and 6.0 browsers solved that problem. So not even I.E. is a "standard".

Now you have me going! There are many print limitations using a browser and each version mentioned before behaves differently. The problems could be a show stopper in some cases. By the way I never (NEVER) use the DTC’s and code each object line by line as I have as many as 200 objects on a page. I have to have absolute positioning of each object as I have to emulate complex forms.

Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform