Vista makes me crazy, please help.
- From: "Jack" <replyto@it>
- Date: Sat, 15 Nov 2008 19:29:32 -0500
I tried both:
as administrator and as an user with administrator privileges:
1.
open for binary a text file located in c:\Program Files\<App Name>
2.
and put some data into it.
There is not any error indication but the file is not written!
The same code works fine in WinXP.
If FileExists(gstrDestDir & "\any.txt") = True Then
Debug.Print lpString
FileNum = FreeFile
Open gstrDestDir & "\any.txt" For Binary As FileNum
Put #FileNum, 53, lpString & vbCrLf & Chr(9) & Chr(9) & "Release
No. " & Release & vbCrLf & Chr(9) & Chr(9) & "OS: " & WindowsName & " ver."
& WindowsVersion
Debug.Print "done"
Close #FileNum
End If
Your comments appreciated,
Jack
.
- Follow-Ups:
- Re: Vista makes me crazy, please help.
- From: Ivar
- Re: Vista makes me crazy, please help.
- From: Mike Williams
- Re: Vista makes me crazy, please help.
- From: expvb
- Re: Vista makes me crazy, please help.
- From: Jack
- Re: Vista makes me crazy, please help.
- From: Norm
- Re: Vista makes me crazy, please help.
- Prev by Date: Re: How to detect multiple instances of my app?
- Next by Date: Re: Vista makes me crazy, please help.
- Previous by thread: How to detect multiple instances of my app?
- Next by thread: Re: Vista makes me crazy, please help.
- Index(es):
Relevant Pages
|
Loading