Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Creating mdb file at runtime

Creating mdb file at runtime

Scheduled Pinned Locked Moved C#
csharpdatabase
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sayed Sajid
    wrote on last edited by
    #1

    Hello Am writing a application using C# (studio 2008) which is retreiving the logs from a Smartcard Terminal. As I wanted to create a empty mdb file at run time if it does not exist at a specific location. I kindly expect some stuff to solve this query. regards Sayed Sajid :)

    M J D 3 Replies Last reply
    0
    • S Sayed Sajid

      Hello Am writing a application using C# (studio 2008) which is retreiving the logs from a Smartcard Terminal. As I wanted to create a empty mdb file at run time if it does not exist at a specific location. I kindly expect some stuff to solve this query. regards Sayed Sajid :)

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      Use Office Interops

      Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      1 Reply Last reply
      0
      • S Sayed Sajid

        Hello Am writing a application using C# (studio 2008) which is retreiving the logs from a Smartcard Terminal. As I wanted to create a empty mdb file at run time if it does not exist at a specific location. I kindly expect some stuff to solve this query. regards Sayed Sajid :)

        J Offline
        J Offline
        JoeSharp
        wrote on last edited by
        #3

        hi add a reference to DAO activeX lib regards

        1 Reply Last reply
        0
        • S Sayed Sajid

          Hello Am writing a application using C# (studio 2008) which is retreiving the logs from a Smartcard Terminal. As I wanted to create a empty mdb file at run time if it does not exist at a specific location. I kindly expect some stuff to solve this query. regards Sayed Sajid :)

          D Offline
          D Offline
          delyk
          wrote on last edited by
          #4

          Hey there Sayed, Easiest way I can think of would be to keep a master copy of an empty .MDB file and then just copy it to the specified location using the File class when you want to... // example File.Copy(path, path2, true);

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups