TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vitek
NA
20
0
C# opening the file
Aug 23 2004 9:57 AM
Hi all, I'm using Visual Studio 2003 and am creating simple program. I need to open a file using openFileDialog, I dragged the open file dialog and I need to know how to use it to open. this is what I've got [code] DialogResult buttonClicked = openFileDialog1.ShowDialog(); if (buttonClicked.Equals(DialogResult.OK)) { openFileDialog1.OpenFile(); } if (buttonClicked.Equals(DialogResult.Cancel)) { openFileDialog1.Reset(); } [/code] I only know that I use this: openFileDialog1.ShowDialog() and openFileDialog1.OpenFile() but even though I write OpenFile into the code, it does nothing, do I have to use some streaming or something? how do I force the program to open the file? it's a normal windows file, with *.udl extension thank you for your help
Reply
Answers (
7
)
Reading Images from a Word Document
Hashtable arrays