Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to make a C# WindowsFormApplication project to collect and store answers.
I then want to use these answers to generate input for selenium web driver which is a console application.
Is it possible to join the two projects together so I first collect my answers on the form, and when I click run on the windows application form, for the console application to start running? If so, how would this be done?
In case you don't want to use database as suggested by kat0r you can use sockets to make them communicate together.
The obvious answer would be to store the questions in a file/database, and simply access it from both applications. You can start other programs with something like Process
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm looking for alternatives to "FolderBrowserDialog" and "SaveFileDialog" or how I can edit these screens.
I need to create exactly the same interface of the image attached and the big challenge for me is how navigate/access the Windows Explorer like that in C#, as I didn't found how to edit the default save or select folder screens provided by C#.
Create log screen
You can create your own file dialog using TreeView
Check Daniel's answer on this post
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I wonder that can we run a c# project for two times which contains several solutions inside it. For example We have runned our project firstly then we have have button which is start new one. I writed this code for 'start new button': System.Windows.Forms.Application.Run(new FormName_Main());
But this does not work as I want. Also I used the same code with Program.cs class.
Can someone tell me that how to run this project without closing the first one?
I think you need this:
Process.Start(Assembly.GetExecutingAssembly().CodeBase);
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to make a console application in which if a certain user types "volume up" and presses the ENTER key then the system volume to go up.
Any ideas?
For creating a console application in c#:
How to: Create a C# Console Application
To read the input text from a console application: Console.ReadLine Method
To set the system volume programmatically: Paedow's question and answer
Having these links your job is quite easy now. :)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am a novice software developer and I am building desktop applications using C#. I want to make my applications expire and generate a license file to activate the application after it expires. Meaning I want to include a time bomb to all my applications and detonate it by using the generated license file.
There are many ways to achieve this - the .NET-Way is described here in this MSDN-Article:
How to: License Components and Controls
If you are developing a windows 8 app and you want to find out a way to create a trial version of your app then I think the following article does a pretty good job of explaining how to do it.
http://msdn.microsoft.com/en-us/library/windows/apps/hh694065.aspx
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I just wanted some general information about some technologies that would allow me to link a website to a console application in C#.
Let's say for example that users on my website fill a textfield with some information, then I want to take this information, process it into my Console Application, and print some results.
What's the technology to do this?
Thank you very much!
You can use the class System.Diagnostics.Process (see http://msdn.microsoft.com/en-us/library/vstudio/system.diagnostics.process(v=vs.100).aspx) to start your console application.
Then, you can read/write to/from StandardOutput, StandardError and StandardInput, which are normal Streams.