Jujhar Singh
Jujhar Singh

Reputation: 373

WinForms Application not opening on other computers

I have made a WinForms application that uses DevExpress (trial) but some of my friends can open it but some others can't. You can find the source here: https://github.com/JujharSingh/Exploit-Studio I have also made sure that I didn't delete any DLL files while packaging.

Upvotes: 2

Views: 2641

Answers (2)

Majid
Majid

Reputation: 14253

Make sure that your network path to the database is correct in the new computer.

Upvotes: 1

Afnan Makhdoom
Afnan Makhdoom

Reputation: 654

Make sure you right click on all the required files in solution explorer and include them so when you publish your project, they're deployed with the project. enter image description here

Also make sure you've the following option configured correctly: enter image description here

You wouldn't have to worry about .Net framework version as the published setup automatically installs missing .Net files.

Finally, goto your project Properties -> Publish -> Application Files and mark the required files as required and include them:

enter image description here

And on the same page, tick the required prerequisites: enter image description here

Finally, make sure you're giving them the published version, not the copied executable file. Hope this helps

Upvotes: 3

Related Questions