Security message

Robgould
09-13-2006, 07:04 AM
Hello. I have a project that I am working on. All I have so far is a single form with a menu strip. I have on menu item....Exit.

The only code I have is:

application.exit

When I run it I get this error message.

Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Can someone help me?

mdusoe
09-13-2006, 10:50 AM
is your code located on a network share?

If so, you might want to check out this post:
http://www.xtremevbtalk.com/showthread.php?t=268701

HTH,
Mike.

Robgould
09-13-2006, 01:05 PM
is your code located on a network share?

If so, you might want to check out this post:
http://www.xtremevbtalk.com/showthread.php?t=268701

HTH,
Mike.

That was my problem. Thank you for your help.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum