Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET General > Security message


Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2006, 07:04 AM
Robgould Robgould is offline
Newcomer
 
Join Date: Dec 2005
Posts: 9
Default Security message


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?
Reply With Quote
  #2  
Old 09-13-2006, 10:50 AM
mdusoe mdusoe is offline
Freshman
 
Join Date: Dec 2004
Location: Maine
Posts: 36
Default

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.
Reply With Quote
  #3  
Old 09-13-2006, 01:05 PM
Robgould Robgould is offline
Newcomer
 
Join Date: Dec 2005
Posts: 9
Default

Quote:
Originally Posted by mdusoe
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->