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 / General PowerPoint Questions / November 2006

Tip: Looking for answers? Try searching our database.

Broken References

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Burnsie - 28 Nov 2006 21:52 GMT
Hi,

I want to be able to fix any broken references via code.  However, when I
intentionally break a reference I can't run my code to remove the reference
because I get a compile error.

In my main module I have an auto_open subroutine which calls my routine to
remove any broken references (then will run another routine to add the
correct reference).  However, when I run auto_open the first thing that
happens is I get an error "user-defined type not defined" saying my public
variable "Public gWeather As New Weather" (references the Weather dll)
I was hoping by calling the remove broken references subroutine first I
could fix any problems with broken references but obviously not.  

So this leads to the question, how can you remove broken references (via
code) if you code never compiles and therefore, you are not able to run your
subroutine?

Thanks for any advice you can provide.

Burnsie
Steve Rindsberg - 29 Nov 2006 18:09 GMT
> Hi,
>
[quoted text clipped - 13 lines]
> code) if you code never compiles and therefore, you are not able to run your
> subroutine?

Never tried this, but it seems that you'd have to write code in Project A to
fix broken references in Project B.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Austin Myers - 29 Nov 2006 18:40 GMT
Same thought I had Steve, maybe even build a COM that loads at start up to
do the lifting for the add in.

Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com

>> Hi,
>>
[quoted text clipped - 27 lines]
> PPTools:  www.pptools.com
> ================================================
 
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.