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
DanT
NA
1
1.1k
Dialog Box Not Opening
Jan 8 2015 8:47 AM
I have a C# window's app that uses the OpenFileDialog from a Linklabel onclick event. When I run it on my PC the dialog box opens, however when other users run it, the dialog box does not open. I'm running Window's 7 Ent Ed 64 bit, the other users are running same OS but 32 bit. The platform in the app is set at x86.
Here's the code:
public string GetFile()
{
string selectedfile;
OpenFileDialog ofd = new OpenFileDialog();
DialogResult dr = ofd.ShowDialog();
if (dr == DialogResult.OK)
{
selectedfile = ofd.FileName;
}
else
{
selectedfile = null;
}
return selectedfile;
}
Has anyone else has this experience?
Reply
Answers (
1
)
Code 39 barcode
dynamically created textbox value to save in the database