How to install C# App from one computer to another [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
My scenario is that I have two computers A and B. Computer A has an installed C# windows forms application on it. Pretending that I dont have the source code to publish onto B, is it possible to move the app from A to B? If so, what files do I need in order to copy it over?

You have to check if the C# application requires files found in the local appdata directory, if so you'll need to copy them.
It can be difficult when apps require a certain DLL then you'll need to find the dependencies for the application and install them on Computer B.
After you've done that you can copy all the files that are in the programs directory and you MIGHT be good to go.
Best thing to do is make sure you have the installer handy :)

Can't answer without knowing the application.
Sometimes it's enough to just copy the files over. However, if the app relies on registry entries, databases or some other prerequisites copying files is not enough.

Related

Run project or .cs file developed on other computer [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have several projects and .cs files developed on other computer.
How can I run all of them on different computer? What if I already have project with same name on it?
Thank you in advance!
Just copy the whole directory of the solution and open in visual studio? Projects aren't linked to the machine they are running on. The only issue you might have is with installed components (like crystal reports or devexpress) or Linked Projects with an absolute location (basically stuff which doesn't reside the the solutions directory)
If you already have projects (with different paths) but with the same name, just make sure you open the right one. if the paths are the same well just like with files you'll overwrite them.
There isn't anything special about source code, it's just files on the machine

Developing .Net app and embed in CD [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have an application (Stand alone app) , that basically reads & writes data with UI . And i have to embed it in CD and make it auto-run.
But i have few confusions , needs your help for the same
Whether to choose Windows or web application of .Net?
Which Data Storage mechanism is preferable ?
How to handle the DB part , since app will be CD how to write the data.
Thanks
You can't run a web application from a CD. You probably want to use a Windows application.
You seem to be assuming a database, so I'd guess your storage mechanism is to use a database. Look at the data you need to store and how you need to use it, and make a decision based on that.
You can't write to a CD. You need to either write to a known location (say, the AppData folder) or ask the user to specify one in your application.
Also worth noting: you can't auto-run an application any more (since Windows 7, and I believe back-ported to Vista). The best you can do is have the auto-run dialogue include an option to run your application.

could obfuscated .Net C# Application be Decompiled? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have written a program in .net C# to encrypt some information.
To accomplish the task I used an array which contains confidential information.I need to know that is it possible to crack the exe.I mean can anybody get the array from the exe file.The array values are not shown in the application.I used community version of Dotfuscator which comes with Visual Studio.NET.
All I want to know that is it possible to extract the exe to access the member variables used in it.. ??
Yes, it would be very easy to decompile the application. You might want to install and run Reflector (or a similar equivalent) and see what gets exposed. Fundamentally, if there's sensitive information embedded in the application, it can always be found.
Definitely yes, if you didn't encrypt the Exe by using Dotfuscator or any other protection software, the cracker not just can see your array variables, but can return the whole source code of your application.

Give users "Debug folder" of windows form application or published setup: Which is the better option [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have to give my windows form application to other users and We are using shared drive.
I am not sure which is the better option: Giving users "Debug folder" of windows form application or published setup.
There are seveal options available for installing the application on the user's machine, instead of simply allowing them to run it from a network share.
One option is to use ClickOnce to generate a setup file, which can be accessed from a network share.
Compared with giving users access to the debug folder, it allows better control over updating (you can compile and run debug versions as much as you want, then when you're ready, publish it to your users, who will automatically get the latest version). It also allows for giving the users an optimised version of the program, without additional debugging overhead. It also manages installing dependencies, such as the .net framework.
For other advantages see here: http://www.msigeek.com/330/advantages-of-clickonce-deployment
See also: http://msdn.microsoft.com/en-us/library/142dbbz4(v=VS.90).aspx

c# how do i programmatically create a replica [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am developing winform app that runs in two differen pc's
I want to create a replica and get the changes over the internet
How can i do that?
& how can I create replica and sync it using C#?
any ideas will be appreciated
I assume that you are talking about replicating changes in one ms-access "database" such that two instances stay in sync, As such, you'd be better off abandoning ms-access and upscaling to a single centralised database.
this sounds like a bad idea all around.
The common patterns apply;
use GUID id's,
send offline datasets,
cross fingers and look for a job that allows you to use other free tools, suited for the job http://www.microsoft.com/sqlserver/en/us/editions/express.aspx
Avoid conflict resolution (don't edit the same entities on both ends)
Edit
PS. after visiting hamsaweb.net; if you need this to be web deployable on a shared host:
How to deploy SQL CE 4 CTP to shared hosting?

Categories