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

FileOpenDialog from vbScript custom action appears behind main dialog

I'm creating an installer at work that must open a file browser. There is no file browser in wix, so I built a custom vbscript action that uses the Shell.BrowseForFolder method. It's working fine, but the file dialog shows up behind the main wix…
user2437443
  • 2,067
  • 4
  • 23
  • 38
0
votes
1 answer

How do I get the location of a file to use in my PowerShell script?

I've been trying to figure this out for a while, but no luck, I would like to pop up a file open dialog, which I have been able to do with a function I found online, and then use the file location further down the line in my script, but I can't…
SalmonMode
  • 281
  • 6
  • 17
0
votes
1 answer

How can i add optional directory for bmp.screenshotsave

I need help please. I want to implement the ability to choose a folder before saving screenshots. This is my working code that I have created: bmpScreenshot.Save("C:\\test\\pictures\\scr_(" + pict_no + ").Jpeg", ImageFormat.Jpeg); pict_no++; It is…
0
votes
1 answer

Failing To Load Script File in WPF via FileOpenDialog

I am developing a WPF app and I just came across Loading a Script File(.xml) operation where I should load it from the system, get the file from the combobox and call Load Method. Xaml:
StonedJesus
  • 397
  • 1
  • 5
  • 26
0
votes
1 answer

Failing To Cancel The Load File Operation in WPF

I am sorry for the weird title. I am working on a WPF app where I am supposed to load a text file from the system by clicking a button and read the contents of the file and display the content of textfile in a textbox. I have done the…
StonedJesus
  • 397
  • 1
  • 5
  • 26
0
votes
1 answer

How to open the file that is selected using Fileopendialog in javascript?

I am using a Html input tag with type="file" to allow the user to select a excel. After the file is selected, where it will be stored? From where can I get that file? I want to read the file using javascript/jquery. I searched a lot in net. But…
Kokila
  • 997
  • 3
  • 8
  • 14
0
votes
2 answers

File Open dialog box is not going to right directory in c# application on windows xp

I have created an application in C#/visual studio 2010. In that application, i have some background images for software.when i select to change the background of software, it goes to that folder for file selection. It is working well on win7, but it…
t4taurus
  • 345
  • 3
  • 13
0
votes
2 answers

How to load data into listbox from text box?

HI I need a little help. Part of my Problem: First, Read a text file. Add the items from text file into TextBox and ListBox. Sample Data in my text file is like this: A;Cat;Dog;Rat;Bird Where, ";" is the Delimiter and data is just one…
postIT
  • 23
  • 1
  • 4
-1
votes
2 answers

passing value to handler

I have code like this: private void button1_Click(object sender, EventArgs e) { openFileDialog1.ShowDialog(); } private void openFileDialog1_FileOk(object sender, CancelEventArgs e) { string ext =…
Pacijent
  • 139
  • 1
  • 12
-1
votes
2 answers

open dialog in MFC C++

I'm trying to open a file via the default open button in menu in a MFC project in visual studio 2013. I have used a browse button and I'v used "OnBnClickedButton" function to get the address of opened file but now there is no such function. what…
AmirAhmad
  • 153
  • 3
  • 12
-1
votes
1 answer

Multiple selected files in openfinedialog c#

I would like to select multiple excel file using openfiledialog,the output of each excell has to be stored at datatable, and i have to gather the datatable in dataset in order to use it as datasource of gridview in my application, i use windows…
-1
votes
2 answers

Open Local File using Javascript

Is there a way I can open a file in my local computer using javascript whether it is a jpg, doc, or pdf? I tried all the codes I found in the internet and I got an "Access Denied" or "Permission Denied" error when running it. I think it is also a…
-2
votes
1 answer

Files do not open anymore from OpenFileDialog nor form workbooks

Using VB on Windows 11 (64bits) I have a windows form application containing two buttons. One shows the OpenFileDialog and the other opens on Excel workbook with a name based on the current date (i.e. 230701_Data.xlsx). That worked but at some point…
SoftwareTester
  • 1,048
  • 1
  • 10
  • 25
-2
votes
2 answers

How to copy a file to pre-destinated folder using File.OpenDialog?

Using File.OpenDialog how can i make a copy of selected files to a certain (predeclared or even better from a string variable taken from textbox) location? I assume i can firstly simply use the ofd method, but where to determine the location to…
xsairo
  • 1
  • 3
1 2 3 4 5 6
7