Questions tagged [opendialog]
38 questions
1
vote
0 answers
how can i browse the file ,if file is another process in silverlight
I am using OpenFileDialog to select file. while trying to select the file. Am getting error : File in use.
How can i select the file even file in use ?

Kavitha
- 1,447
- 2
- 22
- 37
1
vote
1 answer
"SecurityError: The operation is insecure." in firefox and "Uncaught ReferenceError: openDialog is not defined" in chrome
I tried
openDialog('http://stackoverflow.com');
and
openDialog('http://localhost');
Both throw an exception:
SecurityError: The operation is insecure
in firefox and
Uncaught ReferenceError: openDialog is not defined
in chrome
openDialog()…

Mohammed H
- 6,880
- 16
- 81
- 127
1
vote
5 answers
How to find modal dialog opener from javascript?
I have a page that opens a modal dialog. After the operations done on dialog I want to refresh the opener page. But when I open the popup by using "openDialog" I cannot access to the opener by using window.opener on popup page. It appears…

Ali Ersöz
- 15,860
- 11
- 50
- 64
0
votes
0 answers
Notification Request Permission Prompt not showing on ios sfari
we implemented fcm webpush notification That are working fine on other browser except on ios safari
Notification.requestPermission not open consent prompt on safari & ios
Notification.requestPermission().then((permission) => {
if (permission…

Shoaib Ahmad
- 1
- 1
0
votes
1 answer
opendialog to show a file and save it with checkbox vb.net
I'm trying to connect to a database (mdb file of my choice) in a login screen and i want to save it for faster logon next times i boot the software.
I click on choose database button, opendialog lets me choose the file, i click OK and the db…

Izzy
- 29
- 7
0
votes
2 answers
ReactJS: "Can't perform a React state update on an unmounted component" when open dialog
I got an error when open dialog from another class component: "Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks…

Tùng Huynh
- 21
- 5
0
votes
0 answers
showOpenDialog different in Mac and Win
I am writing a simple filechooser and in it I have the code:
JFileChooser fc = new JFileChooser();
int result = fc.showOpenDialog(null);
When I run this under Windows (7) I get a chooser with a text field in which I can enter a file name (Note…

BAleiHi
- 11
- 2
0
votes
0 answers
how i control 2 picturebox upload photo with one button
private void button6_Click(object sender, EventArgs e)
{
OpenFileDialog fd = new OpenFileDialog();
fd.Filter = "Image Files(*.jpg; *.jpeg; *.gif; *.bmp)|*.jpg; *.jpeg; *.gif; *.bmp";
fd.ShowDialog();
…

Bekir İnan
- 13
- 4
0
votes
2 answers
How to get User input in one Frame and get output in another JFrame?
We programmed a game with two windows: MainMenu and Playfield. When you click on start in the MainMenu - Playfield opens. In the MainMenu there are 2 JTextfields, where the two players can enter their name. At the moment the 2 JTextfields doesn't…

Rebecca Heberer
- 59
- 1
- 5
0
votes
0 answers
Android Implementation of File Chooser Dialogue Java
I have written a save text encryption tool in Java, which i want to run and share on Android, But i have problems at implementing a File Chooser Dialogue in Android. So how to convert this:
int rueckgabeWert=0;
JFileChooser chooser = new…
0
votes
3 answers
GetDir in Delphi2010 not working under Windows 7?
I have the following sequence of commands in Delphi2010:
var netdir:string;
....
OpenDialog1.InitialDir:=netdir;
....
OpenDialog1.Execute...
....
GetDir(0,netdir);
....
After executing OpenDialog I should have in string netdir the…

Petra
- 803
- 1
- 11
- 12
0
votes
2 answers
How to know user close open dialog without saving?
SaveFileDialog sfd = new SaveFileDialog();
sfd.ShowDialog();
sfd.Filter("Wave Files|*.wav");
ss.SetOutPutToWaveFile(sfd.FileName);
ss.Speak(richTextbox.Text);
ss.SetOutputToDefaultAudioDevice();

kch4416
- 31
- 2
0
votes
0 answers
disable close button in a dialog opened from backingbean (primefaces)
there is a bug when opening dialog from ManagedBean with:
requestcontext.getcurrentInstance().opendialog("mydialog",map,null).
I set closable to false in the map as:
map.put(“closable”, false);
but the button close[X] appears in dialog.
I also…

iem
- 93
- 1
- 1
- 11
0
votes
1 answer
How to make a simple file dialog on Windows 7?
I am trying to create a simple file select dialog in VBScript. I have searched around for and answer but not come up with a simple solution. I don't need Filter options or the like.
In extended script I would use myFile = File.openDialog().
Can…

Trevor
- 525
- 2
- 6
- 19
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