473,325 Members | 2,608 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,325 software developers and data experts.

Select file from dialog box

RP
I have a text box in which I need the path of the file a user selects
from the dialog box. I also want that the dialog box is filtered to
show only image files, and when the user selects this file, the path
of the file is shown on the text box.

Oct 11 '07 #1
3 2892
On Oct 11, 11:33 am, RP <rpk.gene...@gmail.comwrote:
I have a text box in which I need the path of the file a user selects
from the dialog box. I also want that the dialog box is filtered to
show only image files, and when the user selects this file, the path
of the file is shown on the text box.
It's not clear whether you're talking about a web application or a
WinForms application, but have you looked at the OpenFileDialog class?

Jon

Oct 11 '07 #2
RP
Windows Forms application.

Oct 11 '07 #3
On Oct 11, 11:40 am, RP <rpk.gene...@gmail.comwrote:
Windows Forms application.
And have you looked at OpenFileDialog?

Jon

Oct 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Peter Wallington | last post by:
Hi All, Can anyone help me out with this one. I have a basic aspx page with an image placeholder on it. I want to be able to click a button on the page and have a dialog window appear where I can...
0
by: hamil | last post by:
I have a graphic file demo program that almost works. My form has a PageSetupDialog, PrintPreview, PrintDialog, and a PrintDocument control. Sample code follows. Now here is the quesion. When I...
8
by: Christian Blackburn | last post by:
Hi Gang, In most programs Ctrl+A is Select All. I'm inclined to use the most common keyboard shortcuts, whenever possible. What are the names of some programs that have a key assigned for...
4
by: joseff | last post by:
Hi evryone!! I' m very new not only to Python and Tkinter but to programing. I'm a bit stuck here and would be grateful for some help. I have 3 radio select buttons(see below) which I want to link...
1
by: vicsauer | last post by:
Hi! I'm just searching for a solution in creating some kind of a custom "Save" dialog in JavaScript. The goal: I have a string variable which shall be serialized as an XML file via file operations....
3
by: =?Utf-8?B?UHVyZSBIZWFydA==?= | last post by:
hi i want the user when he opens the dialog for selecting file i like it to open in specific network path and he cant change the path to another folder, haw can that be done -- Ammar S....
3
by: ArmageddonAsh | last post by:
I'm trying to make an application that will allow the user to enter data into a flexgrid (that's done) and then save the data from that flexgrid into a CSV file but even though the file is made none...
1
by: Tony Johansson | last post by:
Hello! I use VS 2005. A Datasource can be a Database, Web Service or an Object. So I select Data->Add New Data Source in the menu. In the dialog data Source Configuration Wizard I choose...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.