Questions tagged [fileopendialog]

A User Interface (UI) that provides a dialog box, to open file(s). Also known as `OpenFileDialog`.

104 questions
0
votes
1 answer

How to know the textbox finish to read all the file

I have a WPF application that reads a huge text file and shows it to textbox, but I need to know that all the file has been read before changing the normalize button to visible. My question is how can I know that all the file was read and displayed…
yosi
  • 23
  • 6
0
votes
1 answer

Upload a file with specific filename

For me to easy browse the right file before uploading, this what i want to accomplish. How to do that? My input codes: Inside the form are two inputs. And with likely similar filename. Submit button will trigger the "uploadnow" function. …
c.k
  • 1,075
  • 1
  • 18
  • 35
0
votes
1 answer

How to cope with charset >128 && <256 in a textbox

In a WPF project I have a OpenFileDialog that gets a filename from filesystem and puts it in a textBox. Now if I put the phi greek letter with charmpa in a filename and create this the textbox that receives the filename doesn't display the phi…
Patrick
  • 3,073
  • 2
  • 22
  • 60
0
votes
3 answers

Delphi OpenDialog without letting the user navigate away from the inital dir

I am trying to create an open dialog (in Windows 7) where the user is confined to the initial directory. On the open dialog I have set the optionsEX to [ofExNoPlacesBar] and that removes the bar that would let them select folders and directories to…
Tim
  • 1,549
  • 1
  • 20
  • 37
0
votes
0 answers

Populating multiselect OpenDialog with a series of filenames

I use an OpenDialog with Multiselect enabled to allow more than one jpg file to be displayed on a screen. When the dialog is closed, I iterate through the Files list and create a delimited string of filenames which is stored in a memo field of an…
TrevorH
  • 49
  • 4
0
votes
1 answer

When i open file first time file is opened but if choose the second time same file not opened how to do it in java swing?

Firstly open file through open menuitem but when second time open i choose the same file it opened in new tab. my requirement it not opened in new tab and display the message file already exist. Here is my code, public class Open extends…
0
votes
1 answer

Automate open dialog box

Is there any way to automate a opening files with open dialog box on Mac OS? The application asks user to open files with the standard open dialog box. But I need open files automatically. The idea is to write script or a small application which…
Andrey M.
  • 3,688
  • 3
  • 33
  • 36
0
votes
1 answer

WPF C# Opening files in multiple directories

I have 3 open file buttons which open a file open dialog, whenever one file is opened the starting directory for the next button is always the same as the last button that was used. I need to be able to have each button open only the last directory…
Andy
  • 259
  • 1
  • 4
  • 16
0
votes
1 answer

.Jar won't finish my OpenDialog Command

Hey guys one of the aspects of a program of mine opens .txt files via the OpenDialog javax command. My bufferedreader works fine in my developing environment but when I try to export the project to a .jar my program doesn't seem to load in the…
0
votes
1 answer

Multi File Selection using using Custom WPF OpenFileDialog

I'm using Custom WPF Dialog box to select one or more files. Problem is that When you select more than a file, it'll throw Argumentexception("Illegal characters in path.") because of void OnPathChanged(IFileDlgExt sender, string pathName) method on…
Ben
  • 1,196
  • 2
  • 11
  • 25
0
votes
1 answer

Most efficient way to get the handle of an Open window given its parent?

I'm working on a program to simultaneously control a handful of other programs of the same type. So far I use EnumWindows() and collect the handles of the appropriate windows(programs) that I'm going to be controlling. Upon recognizing some keyboard…
Victor Stone
  • 498
  • 5
  • 18
0
votes
1 answer

Open File Dialog box on Clicking Link Label

I've created a log in panel in which I've used Transparent group box(with user name text box and password text box), and used a wallpaper on background, now I've Used a link label on this log in panel by clicking on which the user can change the…
Ahsan Hussain
  • 952
  • 4
  • 21
  • 42
0
votes
0 answers

JNLP file services denied access to local files

I am trying to write a small java applet to read user browsing history. Thus all I need to do is to read files on the user's local filesystem. I haven't succeeded in it though. When I try to use JNLP API's ExtendedService openFile(), the…
Vic Seedoubleyew
  • 9,888
  • 6
  • 55
  • 76
0
votes
1 answer

Java reading file content

Hey I need to read a text file content and store it (for example inside a string). The problem is, that I don't want to read a certain file, like here: btnOpen.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) …
user3235376
  • 87
  • 1
  • 2
  • 10
0
votes
1 answer

VBA "store" a workbook in a global variable

I'm trying to work out if it's possible to open a workbook using the file open dialog box and "store" it in a global variable so that it can be accessed by several subroutines. I have Workbooks.Open Filename:=FileToOpen which works fine to open a…