DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using example VB.net project as a template (security issue)

 
Post new topic   Reply to topic    DPlot Forum Index -> Basic
View previous topic :: View next topic  
Author Message
kornfein



Joined: 03 Feb 2006
Posts: 3

PostPosted: Thu Mar 16, 2006 1:15 pm    Post subject: Using example VB.net project as a template (security issue) Reply with quote

I'm a newbie to DPlot and VS2005. I planned on starting an example using Project1.net as a starting point. Per VS2005 documentation I copied the files to a new location and opened the project. When i try and run the project I get the following Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

The example project ran fine before I copied it to a new spot. Is this related to the fact that I have a trial version of DPlot? (In the process of purchasing a license) Or is there some other issue here?
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Thu Mar 16, 2006 2:04 pm    Post subject: Reply with quote

That's not due to anything I've done in the example... at least not intentionally. And it is unrelated to the trial version vs. the licensed version. I'll have to look into this more. The only thing that I can think of at the moment is that you don't have permission to write to the folder where the project is located. But I'd think if that were the problem you couldn't have copied the project there in the first place.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Mar 28, 2006 11:18 pm    Post subject: Reply with quote

I was probably being thickheaded before; it occurs to me that the problem might be in the Form_Load event with the ChDir command. The example changes the working directory to 3 levels above the project folder, where dplotlib.dll is located. If your project isn't at least 3 levels below the root, then this will at the very least give you an error message.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Basic All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group