Hi,
I am trying to develop an activex control with the .Net by exposing an
interface to the com as described in the following article.
http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/Act
iveXInNet.aspx?ArticleID=99d9681d-84de-4d64-9c85-9ae9c15a4ee7.
This works fine for the simple control which is mentioned in the article.Now
I have to read some files on the client machine through this activex.When I
tried to read a file,I got the following error
"Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed."
I have googled about it,but could n't find some clear solution.
Can someone help me to get rid of this problem
Thanks,
Usman Ghani
Douglas J. Steele - 17 Apr 2006 16:42 GMT
Sorry, this newsgroup is for questions about using ActiveX controls in
Access, the database product that's part of Office Professional.
I'd suggest asking your question in a newsgroup that's related to .Net, such
as microsoft.public.dotnet.framework.windowsforms.controls or
microsoft.public.dotnet.languages.csharp

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
> Hi,
> I am trying to develop an activex control with the .Net by exposing an
[quoted text clipped - 14 lines]
>
> Usman Ghani