D
Dustin Ventin
I am creating a Microsoft Access application that links to Microsoft Project,
and uses VBA coding to transfer data back and forth. Because of this, my
application needs the Reference installed for Microsoft Project.
However, not all of my customers will have Project installed on thier
computers- which means when the system tries to install the reference to
Project, it comes up empty- and can cause many errors. What I want to do is
write code that checks if the reference already exists, and if it is broken
if it does exit. If it is broken, I want it to delete the reference. I use
the code:
References.Remove (referencename)
No errors come up when this portion of the code runs, and no references are
deleted. The application is not affected in the least. Why doesn't the
Remove references command not actually remove references?
Any help would be most appreciated.
Dustin Ventin
and uses VBA coding to transfer data back and forth. Because of this, my
application needs the Reference installed for Microsoft Project.
However, not all of my customers will have Project installed on thier
computers- which means when the system tries to install the reference to
Project, it comes up empty- and can cause many errors. What I want to do is
write code that checks if the reference already exists, and if it is broken
if it does exit. If it is broken, I want it to delete the reference. I use
the code:
References.Remove (referencename)
No errors come up when this portion of the code runs, and no references are
deleted. The application is not affected in the least. Why doesn't the
Remove references command not actually remove references?
Any help would be most appreciated.
Dustin Ventin