DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   Can't find project or library (http://www.daniweb.com/forums/thread54827.html)

INI Sep 11th, 2006 7:47 pm
Can't find project or library
 
Good Evening All,

I have a big problem; over the summer I worked on a project and completed it. A month later I am receiving errors.

For some reason when I try compiling the program, it gives me an error saying "Can't find project or library," Date is highlighted. When the user clicks on a control button, the program is suppose to output the current date. For some reason it does not.

Can someone tell me what object library to download? Also, my program no longer recornizes "objWord", even though I have checked "Microsoft Word library" as reference.

Please help, thank you very much;

Comatose Sep 11th, 2006 8:59 pm
Re: Can't find project or library
 
Sounds to me like something that is supposed to be installed is not. Also, you might be having a version reference conflict. Maybe the installed version of word doesn't use a specific method that's being invoked.

INI Sep 12th, 2006 2:04 pm
Re: Can't find project or library
 
Is there an object library for "Date" or "Word" that I need to install?

Ini

[

Comatose Sep 12th, 2006 8:07 pm
Re: Can't find project or library
 
I would ensure that you have the vbruntime files updated. Date is an internal VB command, so there should be no issues with it.

rosea Sep 28th, 2006 9:58 am
Re: Can't find project or library
 
Read this article, it may help you
http://support.microsoft.com/?kbid=241709

This web is useful
http://www.mvps.org/access/

Good luck.

Rosea

sendoshin Sep 30th, 2006 3:12 am
Re: Can't find project or library
 
While both of those links are useful, the problem here doesn't seem to be Access related. I wonder, did you upgrade (or downgrade?) your copy of Visual Basic between the time you wrote the program and now? For example, a switch from VB5 to VB6 (or vice-versa)? If so, that may be part of the problem. While the modifications that need to be made to VB5 code to make it work with VB6 are minimal, they are essential as well. Downgrading (from VB6 to VB5 for example) is even worse, as commands tend to disappear that way.

However, if you haven't changed your VB install any since then, there may be a problem. I'd suggest installing Service Pack 6 at least (available on the Microsoft website for free download) to see if that helps. If not, more details will be required to make us of any use.

Good luck, and happy coding!

- Sendoshin

chepoxxx Feb 12th, 2007 5:44 pm
Re: Can't find project or library
 
I had the same issue. I did upgrade my copy of Visual Basic but that was not the problem. If you go to Tools>References and unselect any checkboxes that have the word MISSING in them from the list of libraries it should work. In my case it turns out I uninstalled some software and the reference was left there...
This should make the error go away (that is of course if the MISSING library is not one that you are requiring...)

cutty May 24th, 2007 8:46 am
Re: Can't find project or library
 
chepo, this is it. I have searched for the cause of the stupid problem for a while. I had installed my environment and projects in a virtual machine and could only curse like crazy as I was not able to compile anything that had worked before. I had not nticed this "MISSING" flag.
Of course no clue about that at the microsoft sites!
Thanks a bunch.

krazycoder Dec 25th, 2007 9:02 am
Re: Can't find project or library
 
hey the same problem occured with my app also. Had reinstalled the VB.and was getting thr compile error for Listview decl. After unchecking the Refrence starting as MISSING. the issue was resolved. Thanks

ThreeClarks Oct 30th, 2009 4:40 pm
I had the same problem too. An uninstall was needed to update another app. This caused the "Can't find project or library" problem. The issue was resolved after unchecking the MISSING Reference. Old thread, but still very usefull. Thank you!


All times are GMT -4. The time now is 11:41 am.

Forum system based on vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2003 - 2010 DaniWeb® LLC