>You'll need to create a new method that sets path, opens the database, etc., then move the code from the Init to that method.
I had another project which has the same structure/framework. The deployed application of that project is working as we speak for our clients. Neverthless, I removed all the code from the Init event for the sake of fault elimination. Rebuilt project, copied the DLL along with TLB into the test dir and registered it. The problem stills exists.
Dawa Tsering
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature