Could someone tell me the difference between a openfile dialogbox and a savefile dialogbox? Or is there even a difference? Thanks again!
5 962
Could someone tell me the difference between a openfile dialogbox and a savefile dialogbox? Or is there even a difference? Thanks again!
The OpenFileDialog has Open in the title bar; the SaveFileDialog has SaveAs.
My guess would be some default dialog settings.
The title says "Save" vs "Open" and that Open requires the file to exist before allowing a successfull selection
Could someone tell me the difference between a openfile dialogbox and a savefile dialogbox? Or is there even a difference? Thanks again!
Hello, I will give you an example:
---think to have in your form a picturebox, and make two buttons, one for opendialog and the second for savedialog, so when you click the opendialog button, then the opendialog will shown to you, so you can choose the image to open, choose an image and click ok, so the picturebox picture is the picture you choose it from the opendialog, no go to the savedialog button and click it then you will see hte savedialog and click save, then you will see your picture from the picturebox has been saved in your hadrdisk.
Bye.
Hello, I will give you an example:
---think to have in your form a picturebox, and make two buttons, one for opendialog and the second for savedialog, so when you click the opendialog button, then the opendialog will shown to you, so you can choose the image to open, choose an image and click ok, so the picturebox picture is the picture you choose it from the opendialog, no go to the savedialog button and click it then you will see hte savedialog and click save, then you will see your picture from the picturebox has been saved in your hadrdisk.
Bye.
Sorry, Atran, this is not correct. The Open and SaveAs dialog boxes only give you a string, .FileName, which is the filespec that the user choose. They do not do any file operations, except that both of them have an Open() method that returns a Stream object. Even then you would still have to operate on these Stream objects.
I got it...thanx to u all
Sign in to post your reply or Sign up for a free account.
Similar topics
by: marco |
last post by:
this week, i've seen a little GUI for python/win32 ..
a little library which can use simple dialog (openfile, opendir,
messagebox, progressbar ... and that's all) ...
it worked only on win32...
|
by: fanbaly |
last post by:
I find savefiledialog and other pre-established dialogboxes from toolbox.
But how about a fully custom dialog like the about_click event in Help of
all programes?
I am fresh in VB.net...
|
by: Mr. B |
last post by:
If you can set the 'initial' path of an OpenFileDialog box by something like
the following:
Dim FilesPath As String ' Files Path
FilesPath = "P:\Projects\"
FilesPath =...
|
by: Olaf Baeyens |
last post by:
The security related stuff of the .NET is a little bit too hard to learn for
newcomers.
So what would be nice is to have a small wizard like program that asks
questions about what security you...
|
by: Kumarforg |
last post by:
Hi,
I need to simulate the Microsoft Word product functionality in my windows
applications.
Short of developing user controls for each office component like
toolbar/dialogboxes etc., what...
|
by: Phoebe |
last post by:
Hello,
Can anyone tell when we need to use the function IsDialogMessage?
What is the different between Code 1 and Code 2?
Code 1:
---------
while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
{...
|
by: Jerry |
last post by:
Hi,
MessageBox can be localized? It's say, Can I set the language
of "OK", "Cancel" button.
|
by: Jazzkt |
last post by:
Hello, Folks,
I am new to VC++ and I just added a form to my application. The GUI has a
group of checkboxes, a combo box, a text box and two buttons.
Will someone please walk me through...
|
by: Sebastian Santacroce |
last post by:
Hello,
I'm trying get a message box to show useing messagebox.show
(...) and then checking what they chose. The only problem
is that when it pops up it is locking all other windows
until it the...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
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: 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: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |