By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,558 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,558 IT Pros & Developers. It's quick & easy.

migrating CurrentDB and CurrentProject in MS Access VBA to VB.Net

P: 1
I have been coding in MS Access VBA and am migrating my code to VB.Net. It all works fine except for uses of CurrentDB and CurrentProject: I can't seem to find how to convert these.

Thanks in advance for any help you can give me.
Sep 26 '14 #1
Share this Question
Share on Google+
1 Reply

P: 298
Although a lot of syntax is the same, there are many changes you will have to do. I presume you have a .NET Solutions with a Project that contains a Windows Form. I suggest you take the n-tier architecture approach (also described as multitier), creating objects and separating your data layer from your presentation layer, both as different projects.

Now as for your form connecting to the database, read this article I wrote Connecting to multiple databases using N-TIER architecture ( VB)

Hope that helps

Sep 26 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.