Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / April 2006

Tip: Looking for answers? Try searching our database.

Need Help Regarding System.Security.Permissions.FileIOPermission

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Usman Ghani - 17 Apr 2006 14:59 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.