Share via

Download comdlg32.ocx

Anonymous
2015-11-19T18:23:27+00:00

I am running Excel (32-bit) on a 64-bit machine (Microsoft Office Professional 2013).  I am trying to use ActiveX control comdlg32.ocx in an Excel spreadsheet, but am having problems because comdlg32.ocx is not in C:\Windows\System32 (or C:\Windows\SysWOW64).  I understand I need to have this file in the System32 directory.  comdlg32.dll (with a 2010 date) is currently in the System32 directory.  I did find a version of comdlg32.ocx in the C:\Program Files (x86)\notes directory, but it is dated 2002, so I am not sure if this is the correct version.  If it is, I can copy it into the System32 directory and try it.  However, if not, does Microsoft offer a download of comdlg32.ocx? 

This is for my work laptop, and I can't (shouldn't) download this from a random site I've found via Google.

I also saw in another discussion on the message board, that comdlg32.ocx is not shipped with Windows 7.  If I can no longer use comdlg32.ocx. what is the alternative, then?  (I am trying to use object.ShowOpen from the Common Dialog component).

Thank you.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2015-11-19T19:18:09+00:00

    Is it not in \Syswow64 folder - it is here, under win7 - mind you its dated 2004

    30+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-11-19T22:43:42+00:00

    You should have comdlg32.ocx  in windows>system32 folder.

    With your project open go to vb editor>tools>references then browse through the system32 folder for filetype>*.ocx

    d-click on it to add to your project references.

    Save your project and see what happens.

    Gord

    20+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2015-11-19T19:51:47+00:00

    Hi Palcouk,

    Thank you for your reply.

    Sadly, no, it is not in SysWOW64.  The only place I can find it is in C:\Program Files (x86)\notes, (date 2002 and size 136 KB...smaller than your comdlg32.ocx, so probably not current).

    10+ people found this answer helpful.
    0 comments No comments