Visual C++ 2005 Projects on Network Drives

R

R.Kaiser

I am teaching Visual C++ 2005 in a classroom where the students don't
have administrator rights, and where they only can save their projects
on a network drive.

If I create a new project on a network drive, the project can't be
executed because the network drive is considered unsafe. Can anybody
give me some hint, e.g. how to configure Visual Studio in such a way
that the executables are placed on a local disk. I tried to do this but
I didn't succeed.

Or is there a better way?

Thanks
Richard
 
B

Bruno van Dooren [MVP VC++]

I am teaching Visual C++ 2005 in a classroom where the students don't have
administrator rights, and where they only can save their projects on a
network drive.

If I create a new project on a network drive, the project can't be
executed because the network drive is considered unsafe. Can anybody give
me some hint, e.g. how to configure Visual Studio in such a way that the
executables are placed on a local disk. I tried to do this but I didn't
succeed.

Or is there a better way?

There are basically 2 things you can do:
- set the output folder of your project to a local folder, for example a
subfolder in the temp folder.
- change the zone permissions in the .NET configuration tool.

for (2) you need admin privileges, and you have to do it for each computer
of implement a class-room wide policy.
(1) should be fairly easy to do, using the correct environment variables.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top