Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

music file explorer c#

using (OpenFileDialog openFileDialog1 = new OpenFileDialog())
            {
                openFileDialog1.InitialDirectory = "c:UsersMarcoGTMusic";
                openFileDialog1.Filter = "Musics(*.wav)|*.wav*";
                openFileDialog1.FilterIndex = 2;
                openFileDialog1.RestoreDirectory = true;
                if (openFileDialog1.ShowDialog() == DialogResult.OK)
                {
                    //do what you want with the file location
         
                }
Comment

PREVIOUS NEXT
Code Example
Csharp :: c sharp tenery operator on an action 
Csharp :: how do make internet 
Csharp :: how to connect google play services in unity 
Csharp :: Razor switch statement 
Csharp :: convert physical path to virtual path in c# 
Csharp :: xamarin forms uwp button hover 
Csharp :: how to print a word in C# 
Csharp :: string in char list f# 
Csharp :: erlang start net kernel 
Csharp :: calculated field gridview asp.net 
Csharp :: asp.net issue 
Csharp :: how to remove a parten transform unity 
Csharp :: httprequestmessage with authorization .net 5 
Csharp :: c# supplier equivalent 
Csharp :: wpf user parent controller datacontext 
Csharp :: C# Custom setter with parameter 
Csharp :: RGB Arduino uno r3 
Csharp :: mock return exception c# 
Csharp :: how to move the camera rotation in phone in c# by touch 
Csharp :: ms transform 
Csharp :: Thread.Sleep() without freezing the UI 
Csharp :: bootstrap daterangepicker change language to french 
Csharp :: JAJAAJAJAJ 
Csharp :: 1.1 0da14962afa287e5ba55c7d30c902392.cloudfront.net w 
Csharp :: reversing linkedlist C# 
Csharp :: blazor OnInitializedAsync Unhandled exception rendering component: Cannot wait on monitors on this runtime. 
Csharp :: why icollection is use with virtual keyword in c# 
Csharp :: leave two decimal in double c# 
Csharp :: add getenumerator to class c# 
Csharp :: linq cross join 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =