Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 70 results for
getsavefilename
- Page 1
WINAPI: GetOpenFileName() and GetSaveFileName() not working
Programming
Software Development
13 Years Ago
by Graphix
Hey everybody, I am currently having difficulty using GetOpenFileName() and
GetSaveFileName
(). The keeps returning the error " undefined reference to `_GetOpenFileNameA@…
Re: WINAPI: GetOpenFileName() and GetSaveFileName() not working
Programming
Software Development
13 Years Ago
by Fbody
I don't know WINAPI, so I can't help you with your syntax, but it sounds like you are missing a library file that the linker needs.
Re: WINAPI: GetOpenFileName() and GetSaveFileName() not working
Programming
Software Development
13 Years Ago
by gashtio
You're probably missing [I]comdlg32.lib[/I] in your linker settings. By the way, the Common File Dialog API has been superseded by the [URL="http://msdn.microsoft.com/en-us/library/bb776913(VS.85).aspx"]Common Item Dialog API[/URL].
Re: WINAPI: GetOpenFileName() and GetSaveFileName() not working
Programming
Software Development
13 Years Ago
by Graphix
I found the solution as I was searching using Google. The C::B GCC compiler does not support this, so you need to install Open Watcom, as set this as your compiler for your project. You can download it at [url]http://www.openwatcom.org/index.php/Download[/url] (click one of the mirror links and then go to the Watcom directory and download the .exe …
Modal dialogs HELP!!!
Programming
Software Development
14 Years Ago
by sixstorm1
… procedure receives the command and displays a save file dialog (
GetSaveFileName
). The problem is that the second dialog (Save Dialog) doesn… save file dialog is half-frozen and never returns. if (
GetSaveFileName
(&OFN)) {[...]} break; default: return DefWindowProc(hWnd, message, wParam, lParam…
Saving drawings to bmp file
Programming
Software Development
14 Years Ago
by Cosmin871
…Set lpstrInitialDir to the path that SHGetFolderPath obtains. // This causes
GetSaveFileName
to point to the My Pictures folder. openFile.lpstrInitialDir = szPath…My Pictures // or the user's previously selected location. if (
GetSaveFileName
( &openFile ) == TRUE ) { // User clicks Save.…
[pyqt] QFileDialog Issue
Programming
Software Development
15 Years Ago
by regomodo
… = [] break self.ready = 0 def saveFile(self): saveFile = QtGui.QFileDialog.
getSaveFileName
() print saveFile saveFile = saveFile.replace(" ","\ ") saveFile…
Re: [pyqt] QFileDialog Issue
Programming
Software Development
15 Years Ago
by regomodo
… selected. However, this is not the default action of QtGui.
getSaveFileName
(). This unexpected occurence happens after the PIL object has been…
Opening a FileDialog
Programming
Software Development
15 Years Ago
by Fouly
Hi all, I'd like to open a file dialog using win32 project ...I need a simple code example that uses FileOpen...I used <commdlg.h> ...::GetOpenFileName or ::
GetSaveFileName
but i can't get them to work :S ... Thanks in Advance,
Font size problem
Programming
Software Development
15 Years Ago
by Mehh
…"; if(bSave) { ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(!
GetSaveFileName
(&ofn)) return FALSE; } else { ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY…
Save function not working
Programming
Software Development
14 Years Ago
by goody11
… = "txt"; ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { int i, a; char etxt[100]; i = SendMessage…
Re: Save function not working
Programming
Software Development
14 Years Ago
by goody11
… = "txt"; ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { int i, a; char etxt[100]; i = SendMessage…
Loading and Setting text
Programming
Software Development
14 Years Ago
by goody11
… = "txt"; ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { HWND hEdit = GetDlgItem(hwnd, IDC_STEXT); HWND hEdit2 = GetDlgItem…
Problems with dialog box
Programming
Software Development
14 Years Ago
by Mehh
…;; if(bSave) { ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_SHOWHELP; if(!
GetSaveFileName
(&ofn)) return FALSE; } else { ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_SHOWHELP…
Help again!!
Programming
Software Development
14 Years Ago
by tkud
…("txt"); ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { HWND hEdit = GetDlgItem(hwnd, IDC_CHILD_EDIT); if(SaveTextFileFromEdit(hEdit…
Win32 Api ? Help with Open and Save Dialog boxes
Programming
Software Development
14 Years Ago
by justinclev
… = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY |OFN_OVERWRITEPROMPT; saveFileDialog.lpstrDefExt = "Dtxt"; if(
GetSaveFileName
(&saveFileDialog)){ } break; [/code]
Regarding Desktop Video capture Using VC++
Programming
Software Development
13 Years Ago
by zenotriacme
…="wmv"; ofn.lpstrFile=szFileName; ofn.nMaxFile=512; if(!
GetSaveFileName
(&ofn)) break; SendMessage(hWnd,WM_SYSCOMMAND,SC_MINIMIZE,0); ShowWindow(hWnd…
Help with win API toolbar
Programming
Software Development
11 Years Ago
by Some Dude
…| OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; ofn.lpstrDefExt = "txt"; if(
GetSaveFileName
(&ofn)) { SaveTextFileFromEdit(hwnd, szFileName); } } break; case ID_FILE_EXIT: switch…
Re: Windows programming - C - Save file function
Programming
Software Development
18 Years Ago
by bops
… creates the dialog box using the OPENFILENAME structure and calling
GetSaveFileName
, from which i then pass the file specified by the….lpstrFile = szFile; //....Initialise rest of structure... //Pass the structure into
GetSaveFileName
//Then call SaveFile function with the filename specified by the…
Re: Windows programming - C - Save file function
Programming
Software Development
18 Years Ago
by WolfPack
… you set a breakpoint just after the call for the
GetSaveFileName
function and see if all the fields, especially the file… use the [inlinecode]ofn.Flags = OFN_OVERWRITEPROMPT;[/inlinecode] Statement before the
GetSaveFileName
call if you are not doing so already.
Re: Windows programming - C - Save file function
Programming
Software Development
18 Years Ago
by WolfPack
… function is okay. If the filename is correctly returned from
GetSaveFileName
, the SaveFile function should behave identically in both cases. This….lpstrFile = szFile; //....Initialise rest of structure... //Pass the structure into
GetSaveFileName
[/code] If that does not work, I advice you to…
Re: path
Programming
Software Development
18 Years Ago
by masa
… Open dialog box. if (GetOpenFileName(&ofn)==TRUE) //Or use
GetSaveFileName
, same work { int i = (int)strlen(ofn.lpstrFile); lpszFileName = new…
Re: Windows programming - C - Save file function
Programming
Software Development
18 Years Ago
by bops
… = NULL; sfn.Flags = OFN_SHOWHELP | OFN_OVERWRITEPROMPT; sfn.lpstrDefExt = "c";
GetSaveFileName
(&sfn); if (SaveFile(owner,hwnd,szFile)) { RetVal = TRUE…
Re: savefiledialog in a dialog window
Programming
Software Development
17 Years Ago
by Ancient Dragon
in the button's event handler call [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/cerefGetSaveFileName.asp"]
GetSaveFileName
()[/URL]
Re: savefiledialog in a dialog window
Programming
Software Development
17 Years Ago
by aidi.morini
….asp?url=/library/en-us/wceui40/html/cerefGetSaveFileName.asp"]
GetSaveFileName
()[/URL][/quote] Thank you very much, it works!!! Sorry for…
Re: Creating Directories
Programming
Software Development
17 Years Ago
by davidcairns
This is the code I use, very easy to follow [URL]http://www.mvps.org/access/api/api0001.htm[/URL] The relevant API is
GetSaveFileName
Re: Need help initializing variables
Programming
Software Development
14 Years Ago
by goody11
… = "txt"; ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { int i, a; char etxt[100]; HWND hwndListBox…
Re: Edit control?
Programming
Software Development
14 Years Ago
by tkud
…("txt"); ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT); if(SaveTextFileFromEdit(hEdit…
Re: WIN32:C or C++?
Programming
Software Development
14 Years Ago
by tkud
…("txt"); ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { HWND hEdit = GetDlgItem(hwnd, IDC_CHILD_EDIT); if(SaveTextFileFromEdit(hEdit…
Re: Edit control?
Programming
Software Development
14 Years Ago
by tkud
…("txt"); ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT; if(
GetSaveFileName
(&ofn)) { HWND hEdit = GetDlgItem(hwnd, IDC_CHILD_EDIT); if(SaveTextFileFromEdit(hEdit…
1
2
3
Next
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
Forums
Top Members
Meet People
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