G
Guest
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
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