ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   comdlg32.ocx error (https://www.excelbanter.com/excel-discussion-misc-queries/162255-comdlg32-ocx-error.html)

Stuart[_2_]

comdlg32.ocx error
 
I have had a bug reported to me that some code i have written, when
installed on some machines, causes a 'comdlg32.ocx missing' error.

Unfortunately I don't know at what point this error occurs - whether
when a routine is launched or at a specific line of code.

Reading on the groups about this it seems that I've used a control
that is only in comdlg32.ocx, but I have no idea what it might be.

Is there a list of the controls contained in comdlg32.ocx anywhere?

I suspect it might be the getsaveasfilename dialog box, but i don't
know how to confirm that, and what i could use in its place that won't
require users to install a licensed copy of comdlg32.ocx.

All help much appreciated.

Stuart


Simon Murphy[_2_]

comdlg32.ocx error
 
Stuart
Every Windows has a vesion of this, it sounds like you've developed
against a newer version than the folks with problems have.

Normally it gets updated with patches to all all sorts of Windows
components. Try getting your users to do a windows update, and/or apply
any outstanding service packs. Or use a machine with an older version on
to develop with.

It contains
The file open dialog
the save as one
colour font and printing

It may be easier just to use
application.getopenfilename
There is also some API code floating around.

Cheers
Simon
Blog: www.smurfonspreadsheets.net



Stuart wrote:
I have had a bug reported to me that some code i have written, when
installed on some machines, causes a 'comdlg32.ocx missing' error.

Unfortunately I don't know at what point this error occurs - whether
when a routine is launched or at a specific line of code.

Reading on the groups about this it seems that I've used a control
that is only in comdlg32.ocx, but I have no idea what it might be.

Is there a list of the controls contained in comdlg32.ocx anywhere?

I suspect it might be the getsaveasfilename dialog box, but i don't
know how to confirm that, and what i could use in its place that won't
require users to install a licensed copy of comdlg32.ocx.

All help much appreciated.

Stuart



All times are GMT +1. The time now is 05:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com