Win 9x and Open File Dialog Boxes

  • Thread starter Thread starter Me
  • Start date Start date
M

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
 
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
 
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
 
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
 
Back
Top