Prev: Speed issue creating Excel spreadsheet
Next: How can I read selected text in another application, by vb program?
From: Branco Medeiros on 3 Nov 2009 10:14 vovan wrote: > My VB 2008 application uses System.IO.File.Exists method. On XP there is no > problem with accessing file located on the server. On Windows 7 the file is > not found. > The same problem with > file_reader = New System.IO.StreamReader(strSourse & "\InitialData.txt") > where strSource is the string containing the path to the file on the server. I suppose you probably tried that already, but here it goes anyway: run your application as administrator (right click it's icon and select "Run As Administrator" from the popup menu). Report back the result here. HTH. Branco.
First
|
Prev
|
Pages: 1 2 3 Prev: Speed issue creating Excel spreadsheet Next: How can I read selected text in another application, by vb program? |