Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying program with usercontrol

Status
Not open for further replies.

sunaj

Technical User
Feb 13, 2001
1,474
DK
Hi,

I've made a program that uses an usercontrol (I've also written the usercontrol). Everything work fine on my pc, but as soon as I try to run the program on another pc it dosen't work. I tried to remove the usercontrol, in which case it runs fine on any pc.

What do I need to do to get the usercontrol working on all pcs?

Thx in advance

Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
I've narrowed the problem down:
The usercontrol uses openfiledialog and savefiledialog, which are causing the problems. If I remove them, it works.
The dialogs are part of system.windows.forms.dll which are extactly same version on the 2 pcs...

Anyone?

Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Problem solved. The Location of the executable was not trusted. What I don't understand is why it worked without the dialogs....

Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top