943,660 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 6638
  • VB.NET RSS
Dec 2nd, 2008
0

Open File Dialog

Expand Post »
today i was trying to make an alarm for my Pocket pc so that i can select the sound of the alarm and set it as one of my mp3 files...

but in vb .net for pda i realised there is no FileDialog ready to use...

any ideas...

i need to make a filedialog to select the mp3 from my pocket pc, either its on device or storage card.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Dell XPS is offline Offline
85 posts
since Sep 2007
Dec 3rd, 2008
0

Re: Open File Dialog

not sure if this will help you much
http://bytes.com/groups/net-vb/35689...dialog-problem
Reputation Points: 31
Solved Threads: 29
Posting Whiz in Training
ProfessorPC is offline Offline
270 posts
since Dec 2007
Dec 3rd, 2008
0

Re: Open File Dialog

read before u reply...

there is no OpenFileDialog ready... i must create it...
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Dell XPS is offline Offline
85 posts
since Sep 2007
Dec 3rd, 2008
0

Re: Open File Dialog

and this is how you reply to somebody trying to help. obviously other people have been able to figure it out. figure it out yourself.
Reputation Points: 31
Solved Threads: 29
Posting Whiz in Training
ProfessorPC is offline Offline
270 posts
since Dec 2007
Dec 4th, 2008
0

Re: Open File Dialog

the reason i replied like this is because i wasted my time trying to make the wrong help u gave me work... anyway thnx for trying to help but careful not to make it more difficult for those asking for help...
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Dell XPS is offline Offline
85 posts
since Sep 2007
Dec 4th, 2008
0

Re: Open File Dialog

Last edited by jbennet; Dec 4th, 2008 at 2:46 pm.
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,485 posts
since Apr 2005
Dec 5th, 2008
0

Re: Open File Dialog

Hi! according to what i understand you post is that you want to open an mp3 file from a filedialog box. If this is what you mean then do the following
1) Double click on the button that you want the filedialogbox to appear when clicked.

2) On the code editor add the following code

Dim file As New OpenFileDialog
file.Filter = ("mp3|.mp3")
file.ShowDialog()
Reputation Points: 10
Solved Threads: 1
Newbie Poster
K-Dave is offline Offline
18 posts
since Jan 2008
Dec 15th, 2008
0

Re: Open File Dialog

thanx but jbennet gave me the correct code...

but thank you anw
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Dell XPS is offline Offline
85 posts
since Sep 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Help transferring data between forms
Next Thread in VB.NET Forum Timeline: how to pass array of value from one calss to another class





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC