VB.NET

Moderators: seancampbell
Number of threads: 4020
Number of posts: 10026

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
OpenFileDialog box question Posted by Matrix.net on 15 Oct 2005 at 8:18 PM
Hi can someone please tell me how I could open a file for reading when the user clicks on the "open" button? Currently I'm able to show the open file dialog box but when I pick a file and click on "open" , nothing happens so if someone can tell me how I could open it for reading I would really appreciate it . Thank You
Report
Re: OpenFileDialog box question Posted by cheezy71 on 15 Oct 2005 at 8:22 PM
Hi
what type of file are you triny to open and for what purpose.
I recently had the same problem, I was creating a media player.
My example would be"
         OpenFileDialog1.ShowDialog()
        AxMediaPlayer1.FileName = OpenFileDialog1.FileName


This was used to open a media file into the windows media plyer.



Hi can someone please tell me how I could open a file for reading when the user clicks on the "open" button? Currently I'm able to show the open file dialog box but when I pick a file and click on "open" , nothing happens so if someone can tell me how I could open it for reading I would really appreciate it . Thank You
:

Report
Re: OpenFileDialog box question Posted by cheezy71 on 15 Oct 2005 at 8:23 PM
Hi
what type of file are you trying to open and for what purpose.
I recently had the same problem, I was creating a media player.
My example would be:
OpenFileDialog1.ShowDialog()
AxMediaPlayer1.FileName = OpenFileDialog1.FileName


This was used to open a media file into the windows media player.
Hope this is helpful.



Hi can someone please tell me how I could open a file for reading when the user clicks on the "open" button? Currently I'm able to show the open file dialog box but when I pick a file and click on "open" , nothing happens so if someone can tell me how I could open it for reading I would really appreciate it . Thank You
:



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.