Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2007

Tip: Looking for answers? Try searching our database.

Ignore or replace Compile Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rue - 06 Dec 2007 03:26 GMT
Hi all

In a template, I need to ignore this error :
   Compile Error:  Can't find project or library

The template references a dll that not all users have installed.
I have tried On Error Resume Next & On Error GoTo

Is this possible with this error?

Thanks in advance
Tony Strazzeri - 24 Dec 2007 05:11 GMT
I don't think this is possible.  You could try changing the approach
by making the reference at runtime.  That way you could check first if
the dll is available  but then of course you can't have any references
to the dll  in your code anyway _ I think this is called "early
binding".  You would need to use "late binding".

Hope this helps
Cheers
TonyS.

> Hi all
>
[quoted text clipped - 7 lines]
>
> Thanks in advance

Rate this thread:






 
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.