Can't Run Application Outside of Development Folder

  • Thread starter Thread starter Tony Van
  • Start date Start date
T

Tony Van

I rewrote an existing VB6 app in .NET as a learning tool.
Works good.

The problem is, it won't run in any folder except the folder
that it was build in. I get an unhanded exception error
telling me it couldn't load a form because it couldn't find
a control that I used.

The control is a custom control I wrote as another solution
as made reference to in my app's solution. (It appears in
the toolbox).

This behavior is new. I was able to get the app to run
elsewhere before, but something changed

Any ideas? Thanks ....

Tony
 
Hi,
I am very much sure that reference you added to DLL(Custom Control build in
different solution) is still pointing to old path.You can do one thing remove
reference to DLL and again add reference to it.Then build the solution and
see path of DLL(Custom Control) is proper or not.

Thanks and Regards,
manish bafna
 
Thanks, What seemed to work is moving the Control .DLL to
the output directory.

Do I need to register the .DLL ? I'm in the dark here.

Tony
 
Back
Top