473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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.

Jul 25 '06 #1
2 1311

<ba***@hotmail.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
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
Jul 25 '06 #2
ba***@hotmail.com wrote:
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.

Jul 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: moonriver | last post by:
I write a program accessing files in network drive o:. It is doable as a standalone application. However, if it is running under windows service, the following exception will appear: 13/07/2004...
5
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a...
1
by: brian.oneil2 | last post by:
Is there a way to install this onto a network file share and allow a team to access it? I would say share a CD from a networked CD drive, but there are multiple CD's that would have to be inserted....
8
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve,...
5
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a...
3
by: Miriam | last post by:
Hello, I created a Windows Service in VB.NET, which is to purge files periodically in the local system and also in the shared network drive. Here is my problem: 1. If I set the “Account”...
2
by: Michael | last post by:
We have an ASP.NET 2.0 web application running on a Windows 2003 domain controller. Part of that application needs to read and write files from and to a network share ( living on a MAC Xserveraid)...
0
by: jarmar | last post by:
We have a network share \\fileserver1\share that users have mapped individually/manually to any drive letter of there liking , not thru a login script. I have created a network share...
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am trying to accesss a Mapped Drive from my asp.net code running on IIS 6.0. I am using a FileUpload control and fileUpload.SaveAs() to save the file to the server. I want to save the file to...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.