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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Calogero FSt
    New Member
    • Sep 2014
    • 1

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

    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.
  • pod
    Contributor
    • Sep 2007
    • 298

    #2
    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 (asp.net VB)

    Hope that helps


    P:oD

    Comment

    Working...