Creat Access DB file!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zamolxe

    #1

    Creat Access DB file!

    In my application I need to creat a new Access DB file and insert into
    it some tables bla bla... but,
    the insertion part is easy the createing of the file is not known so
    how can I create an Access db file\?

  • Nick Weekes

    #2
    Re: Creat Access DB file!

    Check this post for the use of ADO interop approach to creating Access
    DB's:

    http://tinyurl.com/cjjsq

    Cheers,

    Nick

    Comment

    • Zamolxe

      #3
      Re: Creat Access DB file!

      Thx a lot .... for the help I will try it an see if it works....

      Comment

      • Mark Rae

        #4
        Re: Creat Access DB file!

        "Zamolxe" <Radu.Micu@gmai l.com> wrote in message
        news:1116238065 .793705.103600@ g43g2000cwa.goo glegroups.com.. .
        [color=blue]
        > In my application I need to creat a new Access DB file and insert into
        > it some tables bla bla... but,
        > the insertion part is easy the createing of the file is not known so
        > how can I create an Access db file\?[/color]

        You can't natively. You have two options:

        1) Use InterOp and ADOX

        2) Ship a blank database with your app as an embedded resource, and extract
        it as and when required...


        Comment

        Working...