reference - VB6: Name conflicts with existing module, project, or object library -



reference - VB6: Name conflicts with existing module, project, or object library -

read: providing both question , reply people encounter error in future.

opening vb6 project, errors like:

errors during load. refer xyz.log

i open log file , see these errors:

line 42: class threed.sspanel of command xyz not loaded command class.

in case can see problem due sheridan 3d controls: c:\windows\system32\threed32.ocx

i thought project missing component so, vb6 > project > components > tick sheridan 3d controls , got error:

---------------------- microsoft visual basic --------------------------- name conflicts existing module, project, or object library --------------------------- ok help ---------------------------

the way troubleshoot problem start new vb6 project > project menu components > tick components selected in affected project until error.

---------------------- microsoft visual basic --------------------------- name conflicts existing module, project, or object library --------------------------- ok help ---------------------------

you need narrow downwards 2 ocx's conflicting.

in case narrowed downwards sheridan 3d controls / threed32.ocx , outrider spin command / spin32.ocx

to prepare problem used regsvr32 unregister ocxs - create sure unregister /u flag.

regsvr32 "c:\windows\system32\threed32.ocx" /u

i copied ocx's project folder , registered them 1 time again using:

regsvr32 "c:\dev\project\threed32.ocx"

then in project problem > project menu components > select item in listbox sheridan 3d controls / threed32.ocx (you cant tick without getting error or untick conflicting 1 selected in use) > click browse , reference project folder rather c:\windows\system32\

another trick close project , unregister affected ocx - create sure unregister /u flag, eg

regsvr32 "c:\windows\system32\mscomctl.ocx" /u

then open project > components > , should see "microsoft windows mutual controls 6.0 (sp6)" using ocx file in c:...\microsoft vi..\vb98\mscomctl.ocx" rather c:\windows\system32\mscomctl.ocx.

the project should load without these errors:

errors during load. refer xyz.log

reference vb6 conflicting-libraries

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -