Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / October 2004

Tip: Looking for answers? Try searching our database.

Access97 mdb creation from VB.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NullRef - 19 Oct 2004 21:17 GMT
Hello - I'm trying to create an ACCESS97 database MDB as well as tables w/in
the db all programatically from VB.NET -- is this possible?  I've seen
examples for creating Access2000 database using interop w/ "Microsoft ADO
Ext. 2.7 for DDL and Security"  BUT I cannot seem to open w/ Access07, is
there another approach I can use?

Any thoughts?

Thanks in advance.
Cheers!
Scott M. - 19 Oct 2004 23:15 GMT
I've heard of something called ADOX that can create the db and tables.  From
there ADO.NET allows you to modify the db.

> Hello - I'm trying to create an ACCESS97 database MDB as well as tables
> w/in
[quoted text clipped - 7 lines]
> Thanks in advance.
> Cheers!
Paul Clement - 20 Oct 2004 16:50 GMT
¤ Hello - I'm trying to create an ACCESS97 database MDB as well as tables w/in
¤ the db all programatically from VB.NET -- is this possible?  I've seen
¤ examples for creating Access2000 database using interop w/ "Microsoft ADO
¤ Ext. 2.7 for DDL and Security"  BUT I cannot seem to open w/ Access07, is
¤ there another approach I can use?
¤
¤ Any thoughts?

You need to specify the correct database engine type (Jet OLEDB:Engine Type). The value should be 4
for an Access 95/97 database.

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
Scott M. - 20 Oct 2004 23:10 GMT
Are you referring to the OLEDB version (as in
Provider=Microsoft.JET.OLEDB.4.0)?

If so, I was always under the impression that for Access 95/97 the correct
version was 3.51 (although 4.0 will work) and for Access 2000 or higher it
was 4.0.

> ? Hello - I'm trying to create an ACCESS97 database MDB as well as tables
> w/in
[quoted text clipped - 13 lines]
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
Paul Clement - 27 Oct 2004 18:18 GMT
¤ Are you referring to the OLEDB version (as in
¤ Provider=Microsoft.JET.OLEDB.4.0)?
¤
¤ If so, I was always under the impression that for Access 95/97 the correct
¤ version was 3.51 (although 4.0 will work) and for Access 2000 or higher it
¤ was 4.0.
¤

No I was referring to the Engine Type parameter and not the Provider.

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.