|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
missing referenceHello all,
I did a project a while back. Everything worked fine. I needed to make some change to it a couple days ago... After I was done with the change and rebuilt the executible, I got an error, missing reference. The Crystal report export was missing. I tried add it back in, it tells me that can't add the reference to the specific file. Anyone has any idea why?? I am using vb6, crystal 9 and windows XP. I did installed Crystal 10 after I finished that project... In order for me to install Crystal 10, I had to remove the 9 first. To fix the problem, I did remove the crystal 10 and reinstalled the 9, hoping to fix the problem but it did not work.... Sherry <sunpalo***@gmail.com> wrote in message
Show quoteHide quote news:1138810234.021526.55350@g44g2000cwa.googlegroups.com... Is that a control? or a DLL? If it's a control, exit VB, open the VBP file > Hello all, > I did a project a while back. Everything worked fine. I > needed to make some change to it a couple days ago... After I was done > with the change and rebuilt the executible, I got an error, missing > reference. The Crystal report export was missing. I tried add it back > in, it tells me that can't add the reference to the specific file. > Anyone has any idea why?? I am using vb6, crystal 9 and windows XP. I > did installed Crystal 10 after I finished that project... In order for > me to install Crystal 10, I had to remove the 9 first. To fix the > problem, I did remove the crystal 10 and reinstalled the 9, hoping to > fix the problem but it did not work.... > > Sherry in Notepad and look for lines that start with "Object = " and contain ".oca". No ".oca" references should ever be stored in the VBP. Sometimes, for some reason, VB stores them there and it requires that you manually edit the VBP file, remove any ".oca" lines, reload the project and re-add the control(s). This happens to me quite a bit with the Common Dialog control for some reason. The best way to do it is to create a new project, drop the controls on the form, save it and shutdown VB. Now, open that new VBP in Notepad, copy the valid "Object =" lines to the clipboard, open the "problem" VBP and paste those over (replacing) the "oca" lines. fwiw, this is yet another function I'm working on for ComGuard (below) -- Ken Halter - MS-MVP-VB - Please keep all discussions in the groups.. DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm <sunpalo***@gmail.com> wrote in message
news:1138811464.438560.301990@z14g2000cwz.googlegroups.com... <sigh> sounds like DLL Hell. Try uninstalling again, this time, don't > it is a dll. crxf_pdf.dll... > > Sherry re-install without running RegClean or a similar utility that will get rid of any left over gunk in the registry. Reboot, run RegClean again. Look for left over traces in Program Files, etc and delete them. Run RegClean again... VB "lives" in the registry so it's important to keep it as clean as possible. Eventually, RegClean will come back and say that there's nothing left to clean. At that point, try re-installing the version you need. See this post if you don't have RegClean (MS Freeware) VB 6.0 Installation on XP Pro http://groups.google.com.my/group/microsoft.public.vb.general.discussion/browse_frm/thread/a3c65996817bcd2 -- Ken Halter - MS-MVP-VB - Please keep all discussions in the groups.. DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm |
|||||||||||||||||||||||