By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,972 Members | 1,134 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,972 IT Pros & Developers. It's quick & easy.

Win 9x and Open File Dialog Boxes

P: n/a
Me
I posted on this about two months ago and got no response. I am creating an
app in which the user needs to select a file somehow and then have its full
path put into a text box (or label). I am using the Open File Dilog Bo to do
this. The problem is that the file they need to select is an execitable
(exe). When theyhighlight it and then select the Open button it attempts to
run the program. This only seems to happen in Windows 9x but may be
happening in Windows 2000/XP also. Anyways, is their an easier way to select
the file or someway to stop this behavior in the Open FIle Dialog Box?

Thank you,
John
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
John,
This only seems to happen in Windows 9x but may be happening in Windows
2000/XP also. Anyways, is their an easier way to select the file or someway
to stop this behavior in the Open FIle Dialog Box?

This is a funny question, your development computer has to be a Windows
2000/XP computer. This behaviour happens on a W98 computer. You don't know
if it happens on a Windows/XP computer, did you not even test it yourself
before you made this question?

Just my thought,

Cor
Nov 21 '05 #2

P: n/a
Me
Hey Cor...Thanks for the reply. What I meant was that I can't tell if it's
happening in the NT OS family. It's a small quick exe and the 98 system I
test on is slow so I can see it run or attempt to run. Sometimes it hangs.
The NT systems I have are newer and faster and it just fills in the text box
with the file name without any problems. The problem on 98 is not so much
that it attempts to run but that it sometimes hangs when attempting to run
and doesn't fill the filenam into the textbox like I want.

Thank you,
jcrouse
"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
John,
This only seems to happen in Windows 9x but may be happening in Windows
2000/XP also. Anyways, is their an easier way to select the file or
someway to stop this behavior in the Open FIle Dialog Box?

This is a funny question, your development computer has to be a Windows
2000/XP computer. This behaviour happens on a W98 computer. You don't know
if it happens on a Windows/XP computer, did you not even test it yourself
before you made this question?

Just my thought,

Cor

Nov 21 '05 #3

P: n/a
John,

I don't know this, however it is as easy to test by you as by me.

The only thing you need is a program with a openfiledialog box (you even
dont need a form) and than see what that does on the W98 computer when you
click on a exe file.

In my opinion it is better when you do that yourself (and tell us the
results)
\\\
Public Class test
Public Shared Sub main()
Dim OFD As New OpenFileDialog
OFD.ShowDialog()
End Sub
End Class
///

I hope this helps?

Cor

"Me" <Me@nowhere.com>
Hey Cor...Thanks for the reply. What I meant was that I can't tell if it's
happening in the NT OS family. It's a small quick exe and the 98 system I
test on is slow so I can see it run or attempt to run. Sometimes it hangs.
The NT systems I have are newer and faster and it just fills in the text
box with the file name without any problems. The problem on 98 is not so
much that it attempts to run but that it sometimes hangs when attempting
to run and doesn't fill the filenam into the textbox like I want.

Thank you,
jcrouse
"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
John,
This only seems to happen in Windows 9x but may be happening in Windows
2000/XP also. Anyways, is their an easier way to select the file or
someway to stop this behavior in the Open FIle Dialog Box?

This is a funny question, your development computer has to be a Windows
2000/XP computer. This behaviour happens on a W98 computer. You don't
know if it happens on a Windows/XP computer, did you not even test it
yourself before you made this question?

Just my thought,

Cor


Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.