Re: newbie: How to use the vb5 object browser



On 27 Jun, 13:50, tom <tadams...@xxxxxxxxx> wrote:

When I try to drop the component [Common Dialog Control]
into a form I get the message "License for this component
not found". I loaded from Visual Studio 97 Enterprise edition
upgrade CD's.

Visual Studio 97? Is that the first of the VB6 editions or the last of
the VB5 editions? Are you using VB5 or VB6? Whatever version it is, if
you performed a full install from your Enterprise upgrade CD and if it
was a valid upgrade (which I assume it must have been otherwise it
would have aborted) then it should have licenced the various controls
that it installed. I don't know whether you have tried manually
registering the control (comdlg32.ocx) using Regsvr, but I do recall
there being occasional Control licence problems both in VB5 and VB6.
Microsoft have a utility that you can download which fixes such
licencing problems. There are two separate utilities, one for VB5 and
one for VB6. Make sure you use the appropriate one. Here's where you
can get them (click the little link on the page under the heading
"MORE INFORMATION" to download the utility and then run it):

This one is for VB5:

http://support.microsoft.com/kb/181854/EN-US/

And this one is for VB6:

http://support.microsoft.com/kb/194751/

If this doesn't fix your problem, and if manually registering the
control does not work, then you might as a last resort need to
uninstall VB altogether and perform a fresh install. I'm not sure how
you'll go on doing that with your Upgrade version though, so before
you do so you'd better make sure that you have a qualifying full
version of VB to "upgrade from" in case you need to reinstall that
first. That stuff should be seen purely as a "last resort" option
though.

If you still cannot get the CommonDialog Control properly licenced and
working though, it isn't the end of the world because you can easily
use the appropriate API functions to perform the file dialog job
instead (the CommonDialog control is basically just a "wrapper" to
provide you with nice, easy access to those functions without
requiring you to actually use the API in your code). Let me know how
you get on.

Mike




.



Relevant Pages

  • Re: VB5.0 to VB6.0, And Access2000 Compability
    ... > I feel getting access to Replaceand Splitis well worth the time to ... > Besides all the wonders and glory that was VB5, VB6 is an upgrade and ... > are many subtle differences between it and VB5 as Bob eluded to. ... What is more important are features in VB6 not present in VB5 that you CAN'T ...
    (microsoft.public.vb.general.discussion)
  • Re: General question about upgrade path
    ... If you've got VB5 ... I don't see the sense in upgrading to VB6. ... differences between VB4 ... That alone is merit to upgrade. ...
    (microsoft.public.vb.general.discussion)
  • Re: New to group - questions re VB5
    ... VB6 is basically the same as VB5 but with a few more functions (like Split, ... control, etc.) is an object, etc. ... moment where Winders programming starts making sense;-) ...
    (comp.lang.basic.visual.misc)
  • upgrading common controls v5 to v6
    ... I found some problem apparently related to DAO 3.6 dependency files, it's still not resolved, but that another issue. ... So, I see that when I loaded the project in VB6, that was originally developed in VB5, VB6 didn't upgrade the common controls version. ...
    (microsoft.public.vb.general.discussion)
  • Re: Has Microsoft Stopped Revising VB Components?
    ... When I go to the page listed there for the VB6 compiler I get: ... under the impression that VB6 control would work with VB5 ... Jim Carlock ...
    (microsoft.public.vb.general.discussion)