Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
openfiledialog
- Page 1
OpenFileDialog variation help
Programming
Software Development
16 Years Ago
by scottb2
OpenFileDialog
seems to only allow files to be selected. Is there a variation of this dialog that allows you to select a folder? Thanks, Scott
Re: Differentiating between file types with OpenFileDialog
Programming
Software Development
12 Years Ago
by codes4f0x0d
… opened a .foo file"); } else if (
openFileDialog
.FileName.Contains(".bar")) { MessageBox.Show("…foo file"); } else if (System.IO.Path.GetExtension(
openFileDialog
.FileName).ToLower() == ".bar") { MessageBox.Show(&…
Re: Open file dialog
Programming
Software Development
13 Years Ago
by Joysokn
OpenFileDialog
fdlg = new
OpenFileDialog
(); fdlg.Title = "C# Corner Open File Dialog"; fdlg.…
Re: A c# code to select a file and get the name from local disk
Programming
Software Development
10 Years Ago
by BobS0327
[
OpenFileDialog
](http://msdn.microsoft.com/en-us/library/system.windows.forms.
openfiledialog
%28v=vs.110%29.aspx)
Re: How to 'restore' application startup path?
Programming
Software Development
14 Years Ago
by ddanbe
OpenFileDialog
has a RestoreDirectory property: [url]http://msdn.microsoft.com/en-us/library/system.windows.forms.filedialog.restoredirectory(VS.71).aspx[/url]
Re: OpenFileDialog
Programming
Software Development
11 Years Ago
by Ancient Dragon
… parameters so that they don't get destroyed when
openFileDialog
() returns. BOOL
OpenFileDialog
(char*path, char* filename, bool InvertSlashes = false) int main…
OpenFileDialog
Programming
Software Development
11 Years Ago
by triumphost
…I have no clue why. Please help me. OPENFILENAME
OpenFileDialog
(bool InvertSlashes = false) { OPENFILENAME OFN; char FilePath[…()); } } return OFN; } int main() { OPENFILENAME Test =
OpenFileDialog
(); cout<<Test.lpstrFile<<endl; //Prints perfectly…
openfiledialog
Programming
Software Development
13 Years Ago
by mohamedhassan
hi.. now i'm trying to use the
openfiledialog
in a gui app .. what i have done till now is that 1. open visual stdio 2008 2. select c++ project 3. select windows application project 4. drag the openfile dialog from tool box and drop it on the form .. then i stopped coz i don't know what should i do after that plz any one can help me !!
Re: OpenFileDialog variation help
Programming
Software Development
16 Years Ago
by scottb2
[QUOTE=waynespangler;439987]FolderBrowserDialog[/QUOTE] That's certainly better than
OpenFileDialog
. Is there something that combines the two or do I have to use both if I want to allow the user to either select a folder -OR- tunnel down to a specific file? Thanks, Scott
openfiledialog memory usage
Programming
Software Development
14 Years Ago
by nschessnerd
… load a file as so: [code=cplusplus]
OpenFileDialog
^ ofd=gcnew
OpenFileDialog
; ofd->Filter="Monitor files (*.hmc)|*.hmc"; ofd-&…. I tried using delete and im 100% sure its the
openfiledialog
's call to showfiledialog... how do i deallocate this memory?
OpenFileDialog at application start
Programming
Software Development
13 Years Ago
by Bigfoot73
… cancel this the program exits. Currently I'm creating an
OpenFileDialog
in the main form's constructor, but it's not… would like the main form to be visible and the
OpenFileDialog
on top of it instead of showing the main form… after the
OpenFileDialog
has been closed. I was looking for an event that…
OpenFileDialog Close???
Programming
Software Development
11 Years Ago
by themaj
I initiate
OpenFileDialog
from a btn and once the correct file is selected … End Sub The new Form2 shows on top of the
OpenFileDialog
(which is obviously on top of the Form1) only AFTER…'t have any events on Form2 all works perfect; the
OpenFileDialog
closes as I had hoped. What would possibly be keeping…
Re: OpenFileDialog at application start
Programming
Software Development
13 Years Ago
by Diamonddrake
… the application. /// </summary> [STAThread] static void Main() {
OpenFileDialog
ofd = new
OpenFileDialog
(); if (ofd.ShowDialog() == DialogResult.OK) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault…
Openfiledialog and Savefiledialog when i press cancel !
Programming
Software Development
13 Years Ago
by trippinz
…StreamWriter(l_filename); file.WriteLine(l_text); file.Close(); [/code]
OpenFileDialog
[code] private void button39_Click(object sender, EventArgs e) …IO.File.ReadAllText("c:\\text.txt");
OpenFileDialog
fdlg = new
OpenFileDialog
(); fdlg.Title = "My Xbox Live …
Re: Openfiledialog and Savefiledialog when i press cancel !
Programming
Software Development
13 Years Ago
by kvprajapati
[b]>
Openfiledialog
and Savefiledialog when i press cancel ! [/b] [code] .. DialogResult res = fdlg.ShowDialog(); if (res == DialogResult.Cancel) { return; } .. [/code]
OpenFileDialog.ShowDialog issues
Programming
Software Development
9 Years Ago
by <\Jericho>
… in a rich text box, but when I use the
OpenFileDialog
.ShowDialog() function it says: "refrance to a non shared… Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
OpenFileDialog
.ShowDialog() End Sub End Class
Re: OpenFileDialog.Filenames
Programming
Software Development
13 Years Ago
by kvprajapati
[b]>Can someone tell me what am I doing wrong?[/b] [code]
OpenFileDialog
^ dg=gcnew
OpenFileDialog
(); // Instantiate the OpenDialog dg->ShowDialog(); richTextBox1->Text=dg->FileName; // Assign a file name [/code]
Re: OpenFileDialog.Filenames
Programming
Software Development
13 Years Ago
by inisca
… tell me what am I doing wrong?[/b] [code]
OpenFileDialog
^ dg=gcnew
OpenFileDialog
(); // Instantiate the OpenDialog dg->ShowDialog(); richTextBox1->Text…
Re: OpenFileDialog Issues - Pls. Help!!! :(
Programming
Software Development
12 Years Ago
by Mitja Bonca
… = ""; } private void button1_Click(object sender, EventArgs e) {
OpenFileDialog
open = new
OpenFileDialog
(); open.Filter = "Image Files(*.png; *.jpg; *.bmp)|*.png…
Re: OpenFileDialog Issues - Pls. Help!!! :(
Programming
Software Development
12 Years Ago
by chellemits
… = ""; } private void button1_Click(object sender, EventArgs e) {
OpenFileDialog
open = new
OpenFileDialog
(); open.Filter = "Image Files(*.png; *.jpg; *.bmp)|*.png…
OpenFileDialog crashes EXPLORER.EXE
Programming
Software Development
16 Years Ago
by Siebe
…!). This happens usually when I browse through directories using a
OpenFileDialog
. They run on Windows NT build 2600 with Novell groupwise…
openFileDialog closes on 2:nd "OK" click
Programming
Software Development
15 Years Ago
by Lukezzz
… are still open. The second time I press OK, the
openfileDialog
will close. What can I do to make it close…
OpenFileDialog code help
Programming
Software Development
14 Years Ago
by dwisely
I am useing the
OpenFileDialog
component with a Button Sub to use the text file …
Re: OpenFileDialog code help
Programming
Software Development
14 Years Ago
by GeekByChoiCe
use the FileOK event of the
openfiledialog
.
Re: OpenFileDialog code help
Programming
Software Development
14 Years Ago
by dwisely
> I am useing the
OpenFileDialog
component with a Button Sub to use the text file …
OpenFileDialog.Filenames
Programming
Software Development
13 Years Ago
by inisca
[CODE]
OpenFileDialog
dlg; richTextBox1->Text=dlg.FileNames; [/CODE] Can someone tell …
OpenFileDialog Issues - Pls. Help!!! :(
Programming
Software Development
12 Years Ago
by chellemits
… Sub [/CODE] What I wanted to happen is when the
openfiledialog
prompted and once I've selected the file, the file…
Re: OpenFileDialog Issues - Pls. Help!!! :(
Programming
Software Development
12 Years Ago
by Netcode
….EventArgs) Dim myStream As Stream = Nothing Dim openFileDialog1 As New
OpenFileDialog
() openFileDialog1.InitialDirectory = "c:\" openFileDialog1.Filter = "txt files…
Re: OpenFileDialog Issues - Pls. Help!!! :(
Programming
Software Development
12 Years Ago
by chellemits
….EventArgs) Dim myStream As Stream = Nothing Dim openFileDialog1 As New
OpenFileDialog
() openFileDialog1.InitialDirectory = "c:\" openFileDialog1.Filter = "txt files…
OpenFileDialog to show only Path Directory
Programming
Software Development
10 Years Ago
by Ahmed.C
Hi. So i was just wondering if there is a way to get the filepath only when a user selects a file using an
openfiledialog
. E.g. Rather than C:\Test.txt it should be C:\ Really would appreciate the help
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC