Author: eitanmiz | Posted on: 11/8/2010 1:57:38 AM | Views : 238

Hello.
There is a possiblity to use win-form in web (translate the form to user-control, and use in html page class = ...), but there are many security issues.
One problem is that when using OpenFileDialog - I suceed open the file dialog, but when doing something like :
string s; OpenFileDialog myOFD; ... if (myOFD.ShowDialog(this) == DialogResult.OK) { s = myOFD.FileName; // ******** run into exception. }
 
 
The line :
s = myOFD.FileName
run into exception
request for the permission of type 'system.security.permissions.fileiopermission,mscorlib, version = 2.0.0.0, Culture = neutral,PublicTokenKey=b77a5c561934e089' failed

 
Why, and what should I do?
 
...

Go to the complete details ...