.Exe won't run on other computers

4 posts, 0 answers
  1. Zaven Alexander
    Zaven Alexander avatar
    6 posts
    Member since:
    Dec 2018

    Posted 09 Dec 2018 Link to this post

    Hello everyone,

    I've built an application using winforms (c++) and Telerik and when i run it from the computer i made it on, it works with no problems. However once i copy it over to my laptop, the .exe file simply won't run. No error messages, it just doesn't open. I have tried it on another computer and got the exact same problem.

    I followed the guide here: https://docs.telerik.com/devtools/winforms/deployment-and-distribution/application-deployment

    All the .dll files are in the same folder as the .exe and yet it still does not work. Has anyone had this problem before and would they be able to help me fix this please?

    Thank you!

  2. Dimitar
    Admin
    Dimitar avatar
    2949 posts

    Posted 10 Dec 2018 Link to this post

    Hello Zaven,

    I would recommend testing this with a blank new C++ application. This way you will be able to determine if indeed this is connected to the WinForms suite.

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Zaven Alexander
    Zaven Alexander avatar
    6 posts
    Member since:
    Dec 2018

    Posted 16 Dec 2018 Link to this post

    Hi Dimitar,

    Thank you very much for your suggestion, after a lot of tinkering i have discovered that the problem was my custom style sheet file (.tssp) was not included in the directory and the exe was basically crashing since it was unable to find the file on other computers.

    For future reference, I would recommend a feature in the Telerik library where, if it is unable to find the file in the specified file, it throws an exception error rather than simply crashing without a word.

    Thanks again! :)

  4. Dimitar
    Admin
    Dimitar avatar
    2949 posts

    Posted 17 Dec 2018 Link to this post

    Hi Zaven,

    Thanks for this, and indeed in a standard .Net application this will throw an exception.  

    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top