Hi All,
I came for one more doubt in dotnet windows application(C#.net or vb.net). how to implement Folderbrowserdialog or Filebrowsedialog box is appeared in form. All are them done in one button in form, if button is clicked the folderbrowserdialog or filebrowserdialog will open, i dont want this, the folderbrowserdialog or filebrowserdialog default loaded in form, i only select in file in filebrowserdialog, i dont want any click event in button to open dialog box.. this is my doubt, is it possible or not. Please give the valuble solution,
Thanks in advance,
Sekar.M
3 6005
Hi All,
I came for one more doubt in dotnet windows application(C#.net or vb.net). how to implement Folderbrowserdialog or Filebrowsedialog box is appeared in form. All are them done in one button in form, if button is clicked the folderbrowserdialog or filebrowserdialog will open, i dont want this, the folderbrowserdialog or filebrowserdialog default loaded in form, i only select in file in filebrowserdialog, i dont want any click event in button to open dialog box.. this is my doubt, is it possible or not. Please give the valuble solution,
Thanks in advance,
Sekar.M
I dont understand your problem....Please be specific and clear...
what the problem is,
i write the following code in button click event,
that is - private void button1_Click(object sender, EventArgs e)
-
{
-
OpenFileDialog of = new OpenFileDialog();
-
DialogResult dt = of.ShowDialog();
-
}
the show dialog is open, its ok.. what i am asking is the show dialog box is loaded in form window.Any time the user can selects the file, after select the file then click ok,[IMG]The following box is always appear in form.
what the problem is,
i write the following code in button click event,
that is - private void button1_Click(object sender, EventArgs e)
-
{
-
OpenFileDialog of = new OpenFileDialog();
-
DialogResult dt = of.ShowDialog();
-
}
the show dialog is open, its ok.. what i am asking is the show dialog box is loaded in form window.Any time the user can selects the file, after select the file then click ok,[IMG]The following box is always appear in form.
Instead of the click event you can put your code in forms Load event...but I dont think you can make a FileDialog box to remain opened in your form always.....
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Dalan |
last post by:
I designed a dialog box with a combo to select individual vendors from
a form and its related data for print ouput. Though the dialog box
seems to work okay, I apparently do not have the filtering...
|
by: ronenk |
last post by:
I have this code to load an authentication form once my app is loaded.
I want the authentication form to be closed if a user is authenticated
successfully and to give the option to close app on his...
|
by: Ritu Kachroo |
last post by:
I need to implement a Dialog box in my Web application.
The dialog box pops up with "OK", "Show Details", "Show Image" buttons
when the user clicks a marked point on a chart. I need to pass the...
|
by: Simon Abolnar |
last post by:
I would like to know how to open child form from dialog form.
Thanks for help!
Simon
|
by: dan.c.roth |
last post by:
oForm.Close() vs this.Close() in a modal dialog.
oFrom.Close() calls Form.Dispose() but this.Close() ,say in the click
event of the Form, does not.
I can think of the reason for this but is...
|
by: Zytan |
last post by:
I have created a new form from the main form. When I close the main
form with the 'x' close button, its Form.FormClosed event is run, but
not the dialog's.
Is this normal? It is ok /...
|
by: mikeh3275 |
last post by:
I'm new to developing in jQuery, so I'm probably doing this wrong. I'm loading a form into a modal dialog box and I'm trying to assign a click event to the button in the form, but I can't seem to...
|
by: VK |
last post by:
In the continuation of the discussion at "Making Site Opaque -- This
Strategy Feasible?" and my comment at
http://groups.google.com/group/comp.lang.javascript/msg/b515a4408680e8e2
I have...
|
by: Arepi |
last post by:
Hi!
I want take a filebrowser in my script (inTk). How can I do this?
WinXP,Active Perl 5.10.0
Thanks!
|
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: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |