View Single Post
Old 13-05-2004, 12:02   #3 (permalink)
Cosy
Registered User
 
Join Date: May 2004
Posts: 71
I personally prefer ASP to PHP, thats because I am very experienced with VB and its just VBScript... (actually, you can use JScript as well, but I never have)

The things to remember (these are important differences between VB and VBScript) are:

1. Declaring a variable, the variable can never be declared as a specific variable type, so where you would do:

Code:
Dim thisVariable As Integer

in vbscript:

Code:
Dim thisVariable

I personally dislike this feature but in the end it works...

2. Where you create objects from 3rd party registered COM libraries, you need the Server object to create them for you...

Code:
Dim thisObject Set thisObject = Server.CreateObject("objecttype")

This may still be unclear, but if you are quite confident in VB, ASP will be easy. Check out sites like the Microsoft ASP site, or even PlanetSourceCode.com for examples...
  Reply With Quote