From: Ken Halter on
"MP" <nospam(a)Thanks.com> wrote in message
news:u3yKb8UJHHA.4244(a)TK2MSFTNGP04.phx.gbl...
>
> Hi Ken,
> What's funny is the first thing I tried was regclean
> It did create an undo file
> I looked in there and there was a ton of autocad stuff in there
> that got me a bit worried so i opened acad to make sure it was ok and sure
> enought important stuff was hosed by regclean
> so i double clicked the undo and thank ms <g> that fixed acad....really
> big
> WHEW there !!!....
> (maybe I have an old version of regclean?)
>
> anyway that's when i thought , oh yeah, it's regedit Im supposed to be
> using(just kill the stuff that was my project (or so I thought)
>
> win2k here

Well, geez.. I guess I'll have to add "Autocad" to the list of "problem
apps". Since you opened the undo file, can you remember if it contained a
bunch of reference to dlls? If so, they may've just needed to be
re-registered. I don't have Autocad so I can't see for myself.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm


From: MP on
"MP" <nospam(a)Thanks.com> wrote in message
news:u3yKb8UJHHA.4244(a)TK2MSFTNGP04.phx.gbl...
> "Ken Halter" <Ken_Halter(a)Use_Sparingly_Hotmail.com> wrote in message
> news:eE9cAuUJHHA.1912(a)TK2MSFTNGP03.phx.gbl...
> > "MP" <nospam(a)Thanks.com> wrote in message
> > news:OvO7uiTJHHA.1008(a)TK2MSFTNGP06.phx.gbl...

>
> What happened there was VB stored a reference to
> > an OCA file instead of the OCX in your project (vbp) file. This happens
>

> I'll check the vbp and delete the oca refs
>

checked the vbp, no ocas
but there is this line
Object={38911DA0-E448-11D0-84A3-00DD01104159}#1.1#0; COMCT332.OCX
maybe that's what prevents me from referencing vb6?
should i delete that manually?

ok I deleted it...no seeming effect

for now I deleted the progressbar and listview and commented all references
to them till the project would at least load
(run with full compile)
so I'm not getting the type mismatch error

Now I am able to check the MicrosoftWindowsCommonControls6.0(sp4) checkbox
in components dialog and progress bar shows up in toolbox

when I try to add one to the form I get a message
ActiveX control 'MSComCtlLib.ProgressBar' not referenced in this project.
Use Project/Components....to add a reference

When I try to do that I'm back to the error
"Name conflicts with existing module, project, or object library"

???
Do I just need to register MSComCtlLib.ocx?

Went into an old copy of the form in notepad, copied the previous line for
progress bar, pasted into new version of form but still get load error
"Line 292: Class MSComctlLib.ProgressBar of control ProgBar was not a loaded
control class."


From: MP on
"Ken Halter" <Ken_Halter(a)Use_Sparingly_Hotmail.com> wrote in message
news:%23ZaE2GVJHHA.2232(a)TK2MSFTNGP02.phx.gbl...
> "MP" <nospam(a)Thanks.com> wrote in message
> news:u3yKb8UJHHA.4244(a)TK2MSFTNGP04.phx.gbl...
> >

> > win2k here
>
> Well, geez.. I guess I'll have to add "Autocad" to the list of "problem
> apps". Since you opened the undo file, can you remember if it contained a
> bunch of reference to dlls? If so, they may've just needed to be
> re-registered. I don't have Autocad so I can't see for myself.

well, the thing is I restored the registry (supposedly) by dblclicking the
undo file so it shouldn't be creating the current problem right?

I snagged it back out of the recycle bin.
187kb
hundreds(if not thousands<g>) of dlls, most of them acad's
search for "mscom" gets no hits
what should I look for specifically?

also a bunch of Acrobat 7.0 stuff in there (don't know why it would remove
that?)
spybotsd
tahoe(what's that?)
some vbexpress stuff(yeah , just had to take a look at it...yeech <g>)

some visual studio stuff! no clue what it is
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VisualStudio.Launcher.sln\CLSID]
@="{1B2EEDD6-C203-4d04-BD59-78906E3E8AAB}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VisualStudio.Launcher.sln\CurVer]
@="VisualStudio.Solution.8.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsHelpServices\CurVer]
@="VsHelpServices.VsHelpServices.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsMain.RumorSink\CurVer]
@="MyRumor.RumorSink.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vupfile\DefaultIcon]
@="C:\\Program Files\\Microsoft Visual
Studio\\Common\\IDE\\IDE98\\genproj.dll,-32450"



I got that article on the regfile for registering dlls, thanks
Should I reregister mscomctl32.ocx?
there are some oca files in Winnt/system32
should I delete those?


From: MP on
"Ken Halter" <Ken_Halter(a)Use_Sparingly_Hotmail.com> wrote in message
news:eE9cAuUJHHA.1912(a)TK2MSFTNGP03.phx.gbl...
> "MP" <nospam(a)Thanks.com> wrote in message
> news:OvO7uiTJHHA.1008(a)TK2MSFTNGP06.phx.gbl...
>
> That's a different problem. What happened there was VB stored a reference
to
> an OCA file instead of the OCX in your project (vbp) file. This happens
once
> in a while... especially when working with group projects.

ha found it!
Reference=*\G{2D94CC01-C1C6-4E1F-862D-5F95D4DF040E}#2.0#0#C:\WINNT\system32\
MsComCtl.oca#Microsoft Windows Common Controls 6.0 (SP4)

I was looking at the end of strings for the oca so didnt' see it first time
Thanks again
all is well
:-)
(except for me being such an idiot that is <vbg>)