المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Creating an ActiveX Control



C# Programming
09-14-2010, 03:40 PM
Hi,

I'm trying to create an activeX for my project and followed the steps specified in below.

http://www.c-sharpcorner.com/uploadfile/dsandor/activexinnet11102005040748am/activexinnet.aspx[^ (http://www.c-sharpcorner.com/uploadfile/dsandor/activexinnet11102005040748am/activexinnet.aspx)]

I'm able to see all my controls in webpage. I've a button (for browsing files)in design , and on clicking that I need to select a file from the folder. While accessing file, its throwing below exception.
"Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework Configuration Tool.\"
Please guide me to solve this issue. Thanks in advance.