I think you'll have to supply a bit more information - we cant read your mind
what sort of project ?
how many dependencies & 3rd party libs/dlls are there ?
what is the target system - does it have the same C# runtime/framework version ?
Are you talking with a database for example
do you need to do a firewall change request for the deployment machine
The last time I had to do this I simply created an msi and made sure that had all the dependencies/3rd party dll's within it, copied that to the deployment machine, ran it, and off I went - but every situation varies
I doubt that I understood your question, but lemme give a shot:
If you ask on how to write code in C#, you are best off starting here[^]
If you are asking how written code can be deployed (e.g. how to create a setup to deploy your executable) you should read this[^]
The scariest moment is always just before the Start - Stephen King Die Frauen warten auf die Liebe, und die Männer warten auf die Frauen - Wolf Wondratschek
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
i want to insert multi rows from datagridview to another datagridview.
my form :
- 2 datagridview : datagridview1 and datagridview 2
- 1 button
when i select one or more rows from datagridview1 and push button. it' ll pass to datagridview.
please give me a easy solution with my project.
I have search this on this net but most XML data they have used only with one attributes. My XML structure as follows and this data is in the file called "CountList.xml"
<Countries><Country><ISO>USA</ISO><Name>United States</Name></Country><Country><ISO>RUS</ISO><Name>Russian Federation</Name></Country><Country><ISO>PRC</ISO><Name>China</Name></Country></Countries>
How do I load above data to a combobox, have Display Member as Name and the Value Member as ISO?
Note: I don't want to use any form of LINQ!
I have a scenario in which I have to send series of commands to command prompt. I have achieved It almost using system.diagnostics.Process but when I execute my program in windows XP, it does not behave propely as it behaves in Windows 7.
I am trying to open other applications in interactive mode.Honestly I am able to do it in windows 7 but in win XP process are just started and lives in background. as soon as I close the console they begins to launch one by one. There is something missing in my code which is not letting them launch(Problem is Only in XP).
Following are the steps I'm doing in C# code.
Step #1: Opening command prompt
using (Process process = new Process())
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.WorkingDirectory = @"C:\";
process.StartInfo.FileName = Path.Combine(Environment.SystemDirectory, "cmd.exe");
// Redirects the standard input so that commands can be sent to the shell.
process.StartInfo.RedirectStandardInput = true;
// Runs the specified command and exits the shell immediately.
//process.StartInfo.Arguments = @"/c ""dir""";
process.OutputDataReceived += ProcessOutputDataHandler;
process.ErrorDataReceived += ProcessErrorDataHandler;
// Send a directory command and an exit command to the shell
Step 2: Giving commands one by one by using standard input.
I need you people to correct me if I am going in wrong direction.
Please help me identify the problem that who is blocking programs and why they are launching after closing console
The Assembly Fusion log viewer[^] will show all paths searched during assembly loading and is a useful tool to have running, especially if you make a mess of editing the config file. It's helped me out more than once!
Hello. I'm streaming a webcam using DirectShow. I can open the camera fine on a windows form once. But, If I close the camera and then try to reopen it my code fails on the RenderStream line. Once I restart my application everything is fine again. I'm quite certain I'm freeing everything up, but i'm stumped. Any help would be GREATLY appreciated.