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. Visual Basic
  4. Smart device application - How to give the path?

Smart device application - How to give the path?

Scheduled Pinned Locked Moved Visual Basic
databasemysqltutorialquestion
2 Posts 2 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.
  • U Offline
    U Offline
    User 765502
    wrote on last edited by
    #1

    hi every one, i am new to smart device application,i am trying to create small application using smart device,the emulator which i am using for this 'pocket PC 2002'.i have a database which i created in the emulator.path of that database is "\My Documents\Personal\Mysql.sdf".this is what i am seeing while connecting the database in emulator. when i am trying to access this database,i could not open it.the code is here. Dim local_DatabaseFile As String Dim local_ConnString As String local_DatabaseFile = "\My Documents\Personal\Mysql.sdf" local_ConnString = "Data Source= " & local_DatabaseFile Sqcon = New SqlServerCe.SqlCeConnection(local_ConnString) Sqcon.Open() please tell me the correct path of this database file.which is located in personal forlder Emulator. thank you

    D 1 Reply Last reply
    0
    • U User 765502

      hi every one, i am new to smart device application,i am trying to create small application using smart device,the emulator which i am using for this 'pocket PC 2002'.i have a database which i created in the emulator.path of that database is "\My Documents\Personal\Mysql.sdf".this is what i am seeing while connecting the database in emulator. when i am trying to access this database,i could not open it.the code is here. Dim local_DatabaseFile As String Dim local_ConnString As String local_DatabaseFile = "\My Documents\Personal\Mysql.sdf" local_ConnString = "Data Source= " & local_DatabaseFile Sqcon = New SqlServerCe.SqlCeConnection(local_ConnString) Sqcon.Open() please tell me the correct path of this database file.which is located in personal forlder Emulator. thank you

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Your question would be better handled in the Embedded/Mobile Forum[^]. The information your asking is specific to Mobile developement, not Visual Basic.NET. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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