Oxygen Basic
Programming => Problems & Solutions => Topic started by: chrisc on April 26, 2018, 11:53:23 AM
-
Hello all
i need an example O2 code on Savefiledialog api function and its application
can someone help on this? any help is much appreciated
-
Chris,
Can you give us an idea what your application does?
-
Hi John
my application will open a file and do some data modification and use "Save As" to
save the old file into a new file
or the application allows user to create a new file and then Save into a new file
-
Sounds like you're trying to replace the Windows File Explorer? I can't see much of a market for that.
Maybe your creating the next version of extortionware.
-
extortion ware ? that is beyond my ability!
there are so many apps such as like MS word which allows you to open a new file and then
allow user to save it or save as a different filename.
these apps also use Savefiledialog
so are these extortionware? definitely not
-
Hi Chris,
you can look at \inc\filedialogs.inc (FileDialog) in combination with \inc\OxideUtil.inc (MayPutFile). In Forger_o2 examples there is app_two, app_three, app_four with file dialogs which can be adapted (dofilesave). There is also a SaveFileDialog in projectsB\Scintilla\AsciEdit2.o2bas
Roland
-
Thanxx a lot Roland
the app_two.o2bas is the one that i needed