473,382 Members | 1,752 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,382 software developers and data experts.

moving .exe location causes crash?

Hi,

I've developed a C# app for internal use on our LAN. I've deployed the app
with a setup project.
The problem is, when I make updates to the exe, I don't want to reinstall
the app on everyone's computer.
So I think, simple, I'll move the .exe to a network location, create a
shortcut to that file on everyone's pc, and I'll only have one .exe to
update.

But whenever I move the .exe to a different location than the one it was
installed in, it generates an "unhandled exception" error when loading.

How can I make an .exe that will run from any locations?

Norvin
Jul 21 '05 #1
1 1277
Hi Norvin,

You'll certainly face security issues when you are accessing assembly on
network.
Are there other assemblies in the same folder as exe?

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Norvin Laudon" <no************@molinospamenergy.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
Hi,

I've developed a C# app for internal use on our LAN. I've deployed the app
with a setup project.
The problem is, when I make updates to the exe, I don't want to reinstall
the app on everyone's computer.
So I think, simple, I'll move the .exe to a network location, create a
shortcut to that file on everyone's pc, and I'll only have one .exe to
update.

But whenever I move the .exe to a different location than the one it was
installed in, it generates an "unhandled exception" error when loading.

How can I make an .exe that will run from any locations?

Norvin

Jul 21 '05 #2

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

Similar topics

11
by: pinbot | last post by:
As far as I know, http headers should not work after content has been written. This is how my production box is working, but for some reason on my dev box I was getting away with a location header...
2
by: Dom | last post by:
Hi, I am trying to get a dynamic table going. You click a button to add a row. In the newly created row a button to delete the row is placed (try the code example below). In Netscape, pressing...
10
by: fabio de francesco | last post by:
Hi what do you think of the following? Why are we permitted to do that? And why the C++ Library doesn't stop someone willing to perfom that assignement (*a = 20)? #include <iostream> ...
10
by: Alex Vinokur | last post by:
GNU g++ 3.3.3, Cygwin // Stuff static char* mbuffer = NULL; // Stuff void doit()
1
by: John C | last post by:
Importing DBase files I get to the screen titled "Select Source Table and Views" And none appear in the list. (I can get the list displayed about once in ten tries) From that screen anything causes...
18
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes...
8
by: Adam Louis | last post by:
I would like help resolving this problem. I'm a novice who's been hired to query a hospital database and extract useful information, available to me only in a dynamically generated, downloadable...
2
by: Composer | last post by:
One form in my Access 2000 mdb causes a crash whenever I close it. The crash is of the type where I get a "Please tell Microsoft about this problem". Easy, you think! Well, here are the things...
1
by: Norvin Laudon | last post by:
Hi, I've developed a C# app for internal use on our LAN. I've deployed the app with a setup project. The problem is, when I make updates to the exe, I don't want to reinstall the app on...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.