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