Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / July 2008



Tip: Looking for answers? Try searching our database.

VB6:Compiler error: Can't fins project or library

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stefan - 30 Jul 2008 17:23 GMT
Hi,
I'm a newbie. I have to make some small changes on an existing visual
basic 6 project.
I installed VB6 including service pack 6.
When I open my project and press F5 to compile the code I get the
error:

Compiler error: Can't fins project or library

It looks like someting basic is missing but I don't know what it is.
As soon as I get the error the word Date is being highlighted in the
code:
myDatum = Date

Any ideas?

All the help is very much appreciated.

Stefan
Mike Williams - 30 Jul 2008 21:23 GMT
> I have to make some small changes on an existing
> visual basic 6 project. I installed VB6 including
[quoted text clipped - 3 lines]
> As soon as I get the error the word Date is being
> highlighted in the code: myDatum = Date

Check under Project / References. Is there a reference to Microsoft
Data Formatting Object Library (this will be the case for example if
you have a TextBox or Label or whatever on one of your Forms that has
ever had its DataFormat property set to something other than the
default). If so then VB will [extremely stupidly, in my opinion!] look
to the MSSTDFMT.DLL library for various date handling functions and
also for most string handling functions, and if that library is
missing it will complain, even though such functions are freely and
readily available in the normal VB runtime. Anyway, if you do have
such a reference then check your Windows / System32 folder to make
sure that MSSTDFMT.DLL and MSSTDFMT.DEP are both present. Otherwise,
and better still, get rid of any Control that is causing a reference
to the MSSTDFMT.DLL [and replace it with a new copy which doesn't] and
then remove the reference.

Mike
Stefan - 31 Jul 2008 08:30 GMT
> > I have to make some small changes on an existing
> > visual basic 6 project. I installed VB6 including
[quoted text clipped - 20 lines]
>
> Mike

Thank you!! You're suggestions were very helpfull. It now works.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.