View Single Post
 
Old January 12th, 2004, 11:45 AM
ecaro ecaro is offline
Registered User
 
Join Date: Jan 2004
Location: Aguadilla, PR, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Imar
 Hi there,

You may want to read this article: http://imar.spaanjaars.com/QuickDocID.aspx?QUICKDOC=143

It describes how to create a database in ASP, but the concepts are identical for VB6. Just change lines like this:

Dim catNewDB ' As ADOX.Catalog

to this:

Dim catNewDB As ADOX.Catalog

By removing the ' you're making the code strongly typed. Then, instead of using Server.CreateObject, use CreateObject, or Set your objects to a new instance of your required type (Set catNewDB = New ADOX.Catalog)

If you need help, please post a reply here. I could do a VB6 version of the article.....

---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.

Hello Imar,

   I try to convert your ASP code in Visual Basic mode. I need your help, because I have problems with Data Types declaration when define the columns the CreateAccessTable routine. Please send me your code in VB mode or write me the solution of this problem to fix it.)

Thankyou,

Edgar Caro