
creating access db within vb 3.0
I am having a very basic problem trying to create a new database with VB
3.0 Professional Edition. The code below results in a "invalid argument"
error for the entire "set DB = ..." line.
Dim DB as DataBase
Set DB = CreateDataBase("C:\MYDB.MDB", DB_LANG_GENERAL)
Also, if I try to declare a new field, and then assign it a type, I get an
"invalid field type" error
I am getting the feeling that I haven't properly setup VB for databases or
something...
Any help would be greatly appreciated.
Thanks,
Steve Bronstein