Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From VB6 to VBScript Question

Status
Not open for further replies.

Trudye

Programmer
Sep 4, 2001
932
US
Hi Everyone:

I am learning both VB6 and VBScript. I have just created 4 screens in VB6 and would like to place them on my web site for visitor use.

Since VB6 and VBScript are so close is there anything other than the database calls that I have to change, aside from making the database ODBC.

I'm not doing anything fancy (I don't know any fancy stuff yet) just fields (text/combo, ADODC) on a form. The forms also Add, Edit, Delete and Save. The only other thing they do is allow the User to switch between (.show) the four forms.

Thanks for the feedback in advance
Trudye
 
there are syntax differences in how you reference objects in the form.

on major difference is the declarations of variables. you cannot say
Dim str as String

it's only
Dim str

then datatype conversions must be used for various needs such as
cInt(str) ' converts to integer

Other then that without seeing code it kind of hard to say.
I would jsut go through a vbscript refernce and note some of the differences like

remember also, all your vbscript is going to be interpruted while the VB side of things is comiled. This leaves for less access to tasks like scheduled run times on batch processes etc.... (but can be done in other means)

____________________________________________________
get the best answer to your questions by asking the best questions "General FAQ" faq333-2924
onpnt2.gif
 
Thanks so much ONPNT for responding. I will do just that I will walk thru my code with a VBScript book.

Be well,
Trudye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top