I end up with the message: "Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed." in Microsoft Visual Basic 2005 Express Edition.
All I try to do is:
Dim FileData As StreamReader
sFile = "C:\Temp\Releases.txt"
FileData = File.OpenText(sFile)
I already relocated (as you can see) the file to a certainly access granted directory. It did work before. Now I reopened the project and it doesn't work anymore.
Problem solved! (RTFM)
|All times are GMT. The time now is 10:49 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.