The Common Dialog Box Library contains a set of dialog boxes for performing common application tasks, such as opening files, choosing color values, and printing documents.
Questions tagged [comdlg32]
21 questions
55
votes
8 answers
Register comdlg32.dll gets Regsvr32: DllRegisterServer entry point was not found
I have Windows 7, 64-bit.
I'm trying to register a .dll (comdlg32.dll) using regsvr32. But I get an error that says the dll is read but the DLLRegistryServer entry point is not found.
I have run the command under both System32 and SysWOW64 and I…

disasterkid
- 6,948
- 25
- 94
- 179
6
votes
1 answer
Calling GetOpenFileName through JNA fails for Swing app
I'm trying to use the native Windows file dialog in Java, using JNA to call the comdlg32 function GetOpenFileName. I've made a static method, OpenFileDialog.display that looks like this:
public static List display(Window parent, boolean…

perp
- 3,883
- 4
- 31
- 29
5
votes
0 answers
Qt OLEAUT32.DLL, COMDLG32.DLL not registered?
I'm developing a new software in Qt but since a few days I get some confusing error messages when I run the project:
mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!75FEEF12: (caller: 75FEE58F) ReturnHr(1) tid(10a0) 8002801D Bibliothek…

ke_let
- 71
- 1
- 5
4
votes
1 answer
How to get the number of columns in a list control
I need to get the number of columns in a list control in report mode.
Right now I'm sending a LVM_GETCOLUMN with increasing column number until SendMessage returns FALSE:
int col;
for (col = 0;; col++)
{
LVCOLUMN Column;
Column.mask =…

Jabberwocky
- 48,281
- 17
- 65
- 115
3
votes
1 answer
How would one get a UTF-8/Unicode string from GetOpenFileName?
I'm developing an application in MinGW/C++ that uses Windows' common dialogs. The need has arisen to collect a file name that might have non-ASCII characters in it. Is there a flag or another option for retrieving a file name in Unicode, or…

Kaslai
- 2,445
- 17
- 17
2
votes
3 answers
Windows XP, HKCU\...\LastVisitedMRU maximum number of items allowed?
I have a scenario where I need to put together a script to add an entry to the following registry key for the current user:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU\
I am trying to find out the…

Wayne Koorts
- 10,861
- 13
- 46
- 72
1
vote
2 answers
How to avoid crash in MFC SDI application caused by unloaded comdlg32.dll?
We have an application built against MFC9 (VC2008).
The application is an SDI application, and shows a file open dialog during InitInstance(). Showing that dialog causes comdlg32.dll to be loaded. Some minutes later, the comdlg32.dll is unloaded…

stmoebius
- 662
- 11
- 30
1
vote
1 answer
Visual studio 2008 crashing with VSS 2005
I've installed VSS 2005 and added a VS 2008 project. If I try to open the project by choosing File --> Open Project, then selecting Source Safe on the left and navigating to the either the .sln or the .vbproj, Visual Studio instantly quits with no…

VinPepe
- 561
- 1
- 4
- 9
1
vote
1 answer
Opening QFileDialog shell\comdlg32\fileopensave.cpp
I have a problem with QFileDialog. I used this code:
fileDialog = new QFileDialog(this);
fileDialog->setFileMode(QFileDialog::Directory);
fileDialog->setReadOnly(true);
if (fileDialog->exec()){
…

Qt first
- 35
- 1
- 9
1
vote
3 answers
VB6 application requiring comdlg32.ocx, running on windows server 2008
I have a legacy vb6 application that needs to run on a server 2008 machine.
I have been unable to get comdlg32.ocx to register, which the application depends on. Any suggestions?

cabgef
- 1,398
- 3
- 19
- 35
1
vote
3 answers
ComDlg32.ocx Error: Object doesn't support this property or method
I'm developing an html editor using ComDlg32.ocx (Commom Dialog Control), using HTML and VBScript. My exact requirement was to prompt Open/Save/Color/Print/Font dialog boxes.Ive written code for prompting Save file dialog box. Also I've added a…

abhilashca
- 249
- 1
- 8
- 21
0
votes
2 answers
Dialog wIndow does not open
So i want to make a sort of texteditor and want to use a dialogwindow to get the filepath/file from the user. Now here is the problem. I get an error in one project that i does not get in another even though i have not changed a setting that would…

morigan
- 23
- 9
0
votes
1 answer
remove() returning file not found error (errno = 2), when i used the same file string to open the file earlier
here is my code
FILE * paths = fopen(CONFIGS_TXT, "r");
FILE * temp = fopen(TEMP_FILE, "w");
fgets(buf, 100, paths);
token = strtok(buf, "=");
token = strtok(NULL, "\n");
if(token == NULL) {
token =…

Xyrho
- 21
- 3
0
votes
1 answer
Autoinstall Comdlg32.ocx?
I'm wanting to distribute an Excel spreadsheet with a form including a comdlg32.ocx component to a networked share.
Windows 7 users likely won't have this component installed or registered. Is there a way to automatically check and then possibly…

ForEachLoop
- 2,508
- 3
- 18
- 28
0
votes
1 answer
Internet Explorer 9 (IE9) hangs after closing activex form e.g. common dialog (comdlg32.ocx)
my intranet app allows users to browse & print using the CommonDialog activeX control (comdlg32.ocx). This has worked fine IE6-IE8.
On IE9 client machines the common dialog is displayed as usual, however when OK or Cancel is clicked and the dialog…

Nick 'BadAttitude' Gibson
- 71
- 2
- 5