473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Win 9x and Open File Dialog Boxes

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
3 1349
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Martin | last post by:
Again drawing on the groups experience:- 1. For general file opening and file saving, using VB6, are there any issues with using the FileOpen and FileSave Common Dialog Boxes? 2. Is using the...
4
by: John | last post by:
Hi, I generate a report in a comma delimited file and give it a name like MyReport.csv . I then set a Hyperlink control to point tp the file HyperLink1.text = "Download"...
7
by: theyas | last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE I've asked about this before and didn't get a...
0
by: Dune | last post by:
Hi there, I have an aspx page that allows users to enter several parameters using drop downs and text boxes. The users then press a button that produces an extract based on the parameters they...
8
by: **Developer** | last post by:
Open some dialog boxes and the mouse cursor moves to one of the dialog buttons. I'd like to implement that . Is that simply something I have to program, i.e. figure out where I want the cursor...
3
by: The ants are driving me crazy | last post by:
The open file dialog control in Windows forms has an "Open" button. Is there a way to change the text of the button to something other than "Open"?
2
by: Mattbooty | last post by:
Hello, Not sure if anyone else has seen this bug, but I have a form where the entire form is covered with a picturebox. The picturebox has a mouseup event. I also have an open file dialog for...
3
by: MLM450 | last post by:
I have extended the open file dialog as described in the MSDN article "Extend the Common Dialog Boxes Using Windows Forms 1.x". I now need to change the minimum height of the dialog. How do I do...
7
by: Peter | last post by:
ASP.NET 2.0 I am trying to open a Word document and Excel document from a dialog web page, what's the best way to do that? I have tried the following: Response.Clear();...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.