Home All Groups Group Topic Archive Search About

Comdlg32 Not Properly Registerred on Vista Box

Author
19 May 2009 3:53 PM
Brian
First Try on Vista... 

My VB6 app uses the Common Dialog (comdlg32.ocx)...  launching my app and
trying to open the ComDlg throws an error that the ocx or one of it's
dependencies is not properly registerred.

Any thoughts on why this might be...  running Vista Ultimate with all of the
current patches.

Author
19 May 2009 4:55 PM
MikeD
"Brian" <Br***@discussions.microsoft.com> wrote in message news:E61F9F26-4272-4247-BD78-19749B69FB73@microsoft.com...
> First Try on Vista...
>
> My VB6 app uses the Common Dialog (comdlg32.ocx)...  launching my app and
> trying to open the ComDlg throws an error that the ocx or one of it's
> dependencies is not properly registerred.
>
> Any thoughts on why this might be...  running Vista Ultimate with all of the
> current patches.

Under "normal" circumstances, your application's Setup should take care of all of this. I'll assume you're not using a Setup program
and are just copying files over to Vista.


First of all, did you copy that file to the Vista machine?  If so, did you register the file using REGSVR32.EXE? Did that succeed?
If UAC is turned on, you'll have to run REGSVR32.EXE from an elevated command prompt window (or temporarily turn UAC off, which
requires a reboot).

If your app still won't run, it might have other dependencies that need copied and registered.

--
Mike
Author
19 May 2009 5:00 PM
Karl E. Peterson
Brian wrote:
> First Try on Vista...
>
> My VB6 app uses the Common Dialog (comdlg32.ocx)...  launching my app and
> trying to open the ComDlg throws an error that the ocx or one of it's
> dependencies is not properly registerred.
>
> Any thoughts on why this might be...  running Vista Ultimate with all of the
> current patches.

Well, my first thought is, "Is it?"  Have you looked?  I have no idea whether that
OCX ships with Vista.  I don't really think it is.  Maybe this will help:

  http://lmgtfy.com?q=comdlg32.ocx+vista

--
..NET: It's About Trust!
http://vfred.mvps.org
Author
19 May 2009 5:08 PM
Steve Easton
"Brian" <Br***@discussions.microsoft.com> wrote in message
news:E61F9F26-4272-4247-BD78-19749B69FB73@microsoft.com...
> First Try on Vista...
>
> My VB6 app uses the Common Dialog (comdlg32.ocx)...  launching my app and
> trying to open the ComDlg throws an error that the ocx or one of it's
> dependencies is not properly registerred.
>
> Any thoughts on why this might be...  running Vista Ultimate with all of the
> current patches.

Did you install the activeX installer service using add windows components,
and if so, is the service started?


--

Steve Easton
Author
19 May 2009 6:00 PM
Randem
Perhaps this article will help http://www.randem.com/installerproblems.html


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
Disk Read Error Press Ctl+Alt+Del to Restart
http://www.randem.com/discus/messages/9402/9406.html?1236319938



Show quoteHide quote
"Brian" <Br***@discussions.microsoft.com> wrote in message
news:E61F9F26-4272-4247-BD78-19749B69FB73@microsoft.com...
> First Try on Vista...
>
> My VB6 app uses the Common Dialog (comdlg32.ocx)...  launching my app and
> trying to open the ComDlg throws an error that the ocx or one of it's
> dependencies is not properly registerred.
>
> Any thoughts on why this might be...  running Vista Ultimate with all of
> the
> current patches.
Author
19 May 2009 7:14 PM
Brian
The problem was resolved....  My installer failed due to not installing as an
Administrator or with the UAC turned off...  Once I ran my install with that
change...  everything worked as expected. 

First lesson learned.  Thanks

Show quoteHide quote
"Randem" wrote:

> Perhaps this article will help http://www.randem.com/installerproblems.html
>
>
> --
> Randem Systems
> Your Installation Specialist
> The Top Inno Setup Script Generator
> http://www.randem.com/innoscript.html
> Disk Read Error Press Ctl+Alt+Del to Restart
> http://www.randem.com/discus/messages/9402/9406.html?1236319938
>
>
>
> "Brian" <Br***@discussions.microsoft.com> wrote in message
> news:E61F9F26-4272-4247-BD78-19749B69FB73@microsoft.com...
> > First Try on Vista...
> >
> > My VB6 app uses the Common Dialog (comdlg32.ocx)...  launching my app and
> > trying to open the ComDlg throws an error that the ocx or one of it's
> > dependencies is not properly registerred.
> >
> > Any thoughts on why this might be...  running Vista Ultimate with all of
> > the
> > current patches.
>
>
>
Author
21 May 2009 10:04 PM
mark.tunnard.jackson
FWIW: Microsoft support comdlg32.ocx onVista, but it's not pre-
installed. You need to install it yourself.

As documented on the official list here:
http://msdn.microsoft.com/en-us/vbrun/ms788708.aspx