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
Peter Francis
NA
1
0
OpenFile Dialog on Windows Mobile iPAQ
Dec 11 2007 8:50 AM
Hi All,
I'm new to C# and I can't seem to get the open file dialog to point at the folder I want opened.
I'm writing an app for an iPAQ 1950 (Win Mobile 5.0) and despite following the correct syntax the dialog opens but not in the correct folder.
Below is an example of the code I'm using , is there something specific to the Mobile environment that I am nott doing?
All help and advise would be gratefully recieved
Thanks
Peter J Francis
--------
StreamReader readFile;
DialogResult Result;
//Configure dialog options
dlgOpen.InitialDirectory = "\\Program Files\\string3\\Resources";
dlgOpen.Filter = "Config files (*.dat)|*.dat|All files (*.*)|*.*";
dlgOpen.FilterIndex = 1;
//-------------------
Result = dlgOpen.ShowDialog();
-------
Reply
Answers (
0
)
How can you view and display your text file to your C# windows application?
CompareTo() With Generic List of Classes