How to open a file using a text path [closed] - c#

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 want to write a code in click event of Open button which should Open File Specified in Textbox.
Is there any code wich can do this Task?

maybe System.Diagnostics.Process.Start(textBox1.Text)

Related

Adding and deleting files from my playlist. (WPF) [closed]

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

How to make a form "reload"? [closed]

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
After opening a WinForm I want to have a button that "reloads" the form. I want to make the Load Event run again.
Is that a way? Thanks!
Just call it again like this:
Form1_Load(null, EventArgs.Empty);
Just remember to use your own form's name
I hope this helps.

How do I put an image in VisualStudio with C#? [closed]

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 really don't know how to put an image in my form.
Can someone help me out?
If it is WindowsForms that you are using, you can use the PictureBox control.

Retrieve Image From Program Resources [closed]

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 trying to add a image to an image list from a PNG stored in the program resource file. How might I go about doing that at runtime?
Try it like this:
imageList1.Images.Add(Properties.Resources.myImage);

C# capture internet audio stream [closed]

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
Is there a way to capture an audiostream from the internet using C#?
There are several. Among them:
http://www.un4seen.com/bass.html
http://naudio.codeplex.com/

Categories