Lauch VB.NET App From Network Drive Or Network Share.

B

bannp

Hi All,

Please excuse my ignorance in this post I'm new to vb.net. I have read
a few articles about launching vb.net programs from a network drive,
but I'm unsure of how the best way to deploy.

Let me explain, say I create a Windows form call DataConnect.Exe, all
the application does is connect to a generic sql database and does
stuff. I want to deploy my exe to various different branches, remember
I only need to deploy the exe. I 'm familiar with using Caspol.exe,
is there nothing you can put in the start-up code of your application
to register security for an application.

Thanks In Advance.

Pete.
 
S

Skip

Hi All,

Please excuse my ignorance in this post I'm new to vb.net. I have read
a few articles about launching vb.net programs from a network drive,
but I'm unsure of how the best way to deploy.

Let me explain, say I create a Windows form call DataConnect.Exe, all
the application does is connect to a generic sql database and does
stuff. I want to deploy my exe to various different branches, remember
I only need to deploy the exe. I 'm familiar with using Caspol.exe,
is there nothing you can put in the start-up code of your application
to register security for an application.

Thanks In Advance.

Pete.

Did you investigate the Install Mode on the Publish page of the project
properties? I think that might be what you want.

see
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/0aee
5fc1-e966-4bda-9b8f-d9997aeaa779.htm
 
C

Chris Dunaway

is there nothing you can put in the start-up code of your application
to register security for an application.

That's kind of a catch-22. Your code can't run without being granted
trust and you can't trust during your app's start up because it can't
run!!

The easiest way that I see would be to run caspol during the
installation or have the user run a bat file that performs the caspol
command.

I'm not sure if there is a way to 'push' the caspol operation from the
network.

Good luck.
 

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