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 3 years ago.
Improve this question
when there is an error in my program, it creates a log file and shows a pop-up message. The pop-up message has 2 options "Ok", which closes the message and "Show log" which, by clicking the button, should open up the log file that I created. But I do not know what to write in the method on the button click. Thanks
The most easy way to open a file with the default application is:
System.Diagnostics.Process.Start(#"c:\myLog.txt");
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 sending log files from my ASP.net application directly to Microsoft Azure Storage, which is working fine. However, I keep having a dialog pop up in the Azure Storage Explorer that says "File Changes Detected"
'C:\Users\Name\AppData\Local\Temp\157264315013847\06082020_log.log' has been modified by an external program. How do you want to handle the changes?
No matter which option I select a second later the dialog pops up again with the file being modified in a different folder in ...\Local\Temp
Why are these files constantly being added to this Temp folder and how do I make it stop?
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 5 years ago.
Improve this question
I have tried OpenFileDialog but I just can not do it right. What should be my C# code that would allow me to add and remove files from my playlist?
for your problem in wpf for open file dialog whatch thi link Open file dialog and select a file using WPF controls and C#
and for add and remove items by code watch this link http://www.c-sharpcorner.com/resources/643/how-to-add-and-remove-items-in-a-wpf-listbox.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 6 years ago.
Improve this question
When I debug the project, I get the following error
Unable to copy file "obj\Debug\TestAutomation.dll" to "bin\Debug\TestAutomation.dll". The process cannot access the file 'bin\Debug\TestAutomation.dll' because it is being used by another process.
Getting this error:
I have closed the locked file also from the Process Explorer but still getting the error .
How can I fix it?
I use Windows 8.1
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 need to press the ok button when this popup appear automatically
i tried with sendkeys but didn't work
this is the popup:
Doing this from a web browser is never going to happen, that is a serious security violation. The reason a popup is shown is so that a user can choose to not accept a certificate that they don't want.
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 9 years ago.
Improve this question
How can i create HTML file on submit button click in c#,I don't know any syntax about this ,Please suggest me How to create Html page in C#
You might want to take a look at some beginner tutorials:
http://www.w3schools.com/aspnet/
http://www.asp.net/web-forms/tutorials
Try to use Generic Handler in web application ( http://www.codeproject.com/Articles/353260/ASP-NET-Advanced-Generic-Handler-ASHX )...