×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

VB.NET 2009

VB.NET 2009

VB.NET 2009

(OP)
I've searched the net many hours for code on how to create a new access database file (.accdb or .mdb) in VB 2008.

I've tried the method of creating a file and adding the .accdb or .mdb extension but it won't accept it because it hasn't the proper structure.

Anyone who has an idea?

RE: VB.NET 2009

Something like this?

Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

RE: VB.NET 2009

(OP)
something like that, I allready tried to insert that snippet it didn't work. haven't found a clear cause for it.

thanks for the suggestion

RE: VB.NET 2009

Hmm, worked fine for me. Did it error for you? If so what message did it return?

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

RE: VB.NET 2009

(OP)
ok i'm experimenting with the visual basic 2008 express edition.

I copy paste the code and get an error here:

Dim cat As Catalog = New Catalog()

type catalog is not defined, I think it doesn't accept the imports ADOX statement

RE: VB.NET 2009

Have you set the COM reference to Microsoft ADO Ext. 2.7 for DDL and Security?

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

RE: VB.NET 2009

(OP)
Nope, I've just read it on a MSDN article

thanks and next time I'll read the f*cking manual !

RE: VB.NET 2009

No worries, glad you got it sorted smile

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close