Hey all,
I'm trying to create an app with VB6 that requires the creation of a database, tables, etc. for a Windows XP environment and above AND regardless of whether or not the end user has MS Access.
I've worked with databases before via PHP/MySQL so I know certain concepts. Also, my skill level with vb6 is ok; but I've never done anything with databases.
I've come across several tutorials discussing creation of a database via code such as the following:
'Dim catNewDB ' As ADOX.Catalog
Dim catNewDB As Object
'Set catNewDB = Server.CreateObject("ADOX.Catalog")'... etc.
However, I'm not quite understanding the concept of DB creation using VB6. I know there's a CreateDatabase Method that creates a database object; but I'm not sure how it ties into creating the elements of a database and inputting data.
Can anyone point me in the right direction as to how to create a database with vb6 from scratch? Or, at least, give me the 'quick and dirty'?
Any and all help is greatly appreciated.
Peace!
- Thank You Have A Nice Day
I'm trying to create an app with VB6 that requires the creation of a database, tables, etc. for a Windows XP environment and above AND regardless of whether or not the end user has MS Access.
I've worked with databases before via PHP/MySQL so I know certain concepts. Also, my skill level with vb6 is ok; but I've never done anything with databases.
I've come across several tutorials discussing creation of a database via code such as the following:
'Dim catNewDB ' As ADOX.Catalog
Dim catNewDB As Object
'Set catNewDB = Server.CreateObject("ADOX.Catalog")'... etc.
However, I'm not quite understanding the concept of DB creation using VB6. I know there's a CreateDatabase Method that creates a database object; but I'm not sure how it ties into creating the elements of a database and inputting data.
Can anyone point me in the right direction as to how to create a database with vb6 from scratch? Or, at least, give me the 'quick and dirty'?
Any and all help is greatly appreciated.
Peace!
- Thank You Have A Nice Day