VB6 project loses reference to EXE component

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



My VB6 project contains a reference to another VB6 .EXE, added through
Project-References.

The referenced EXE works fine, and so does my project. When I close my
main project down and re-open, the referenced EXE is listed as
missing, so calls to it will not work. I have to remove the missing
reference, press OK, go back into the References list and add it in
again. Everything is then back to normal.

Anybody know why the project is not storing my EXE reference? The EXE
is not being altered in any way between closing and opening the main
project.

.



Relevant Pages

  • Re: Visual Basic Error
    ... Sounds like you're missing a VBA library reference. ... Try opening your form ... in design mode, select to "View code", then select "Tools -References". ... Check the list for any marked "Missing" and correct them. ...
    (microsoft.public.access.gettingstarted)
  • Re: Validation rule problem
    ... To check for a missing or broken reference open the VBA window at any code ... expression Before Update you entered as the event property setting produced ...
    (microsoft.public.access.gettingstarted)
  • Re: VBA Script from Win2000 not working in XP
    ... I removed the reference from the version on the XP machine and now the app ... It'll need some more testing to ensure nothing's missing. ... >> Microsoft Access 11.0 Object Library ...
    (microsoft.public.access.security)
  • Re: "Compile Error Cant find project or library."
    ... In this case you will get the Missing designation as ... does not exist on the host machine. ... the version of the reference on the machine you are creating on, ...
    (microsoft.public.excel.programming)
  • Re: Cannot find Project or Library error
    ... Y've got a broken reference in yr VBA project, ... a library/activeX comp is reported missing. ... Locate the MSCOMCTL.ocx file on yr system, and try to point yr VBA reference ...
    (microsoft.public.word.vba.userforms)