View previous topic :: View next topic |
Author |
Message |
kornfein
Joined: 03 Feb 2006 Posts: 3
|
Posted: Thu Mar 16, 2006 1:15 pm Post subject: Using example VB.net project as a template (security issue) |
|
|
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 |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Thu Mar 16, 2006 2:04 pm Post subject: |
|
|
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 |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Tue Mar 28, 2006 11:18 pm Post subject: |
|
|
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 |
|
|
|