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. MS-Access problem with Vista - C#.net Windows Application

MS-Access problem with Vista - C#.net Windows Application

Scheduled Pinned Locked Moved C#
csharphelpcssdatabasequestion
3 Posts 3 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
    shw 234
    wrote on last edited by
    #1

    Hi, I keep getting the following problem only on Vista. My application is working fine on XP. Need your expertise to advise me on what went wrong. //Code fragement GetRecords() //from Access Database ComputeValuesforRecords() //I am modifying the record values in dataset DisplayRecords() //I am showing them in Grid --- This code fragement always shows an error message "There is no row at position 0' when ComputeValuesforRecords() is called. This happens only on Vista. I am not sure why this is happening. Any clues? Thanks

    L 1 Reply Last reply
    0
    • S shw 234

      Hi, I keep getting the following problem only on Vista. My application is working fine on XP. Need your expertise to advise me on what went wrong. //Code fragement GetRecords() //from Access Database ComputeValuesforRecords() //I am modifying the record values in dataset DisplayRecords() //I am showing them in Grid --- This code fragement always shows an error message "There is no row at position 0' when ComputeValuesforRecords() is called. This happens only on Vista. I am not sure why this is happening. Any clues? Thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Without knowing anything other then your method names, did you include your access database file with your project? Did you hardcode the path to your access file, if so is that path still valid under vista?

      Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

      OriginalGriffO 1 Reply Last reply
      0
      • L Lost User

        Without knowing anything other then your method names, did you include your access database file with your project? Did you hardcode the path to your access file, if so is that path still valid under vista?

        Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        EliottA wrote:

        is that path still valid under vista?

        And do you have the necessary access permissions?

        No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        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