Why my program run correctly in my computer but can not run correctly in the other computer? RRS feed

  • Question

  • I've written a program to read some sort of data from excel or word and post these data to a new excel file. The program can run correctly finish the function in my computer with the vs2008 evironment. When i publish an install file and setup it in another computer, the program can finish with no error but the new excel file can not be created.

    I used to think it is caused by the problem of dll, but i released all the used dll with the program. I also think this may caused by the security problem, but after i add the clickonce, the problem still exists.

    Can any expert help with me about it. It troubles me a long time. Thanks!

    Thursday, May 3, 2012 5:25 AM

All replies

  • how do you know that your program finishes without error but only output file is not created? do you log somewhere progress of your app? i would suggest putting code in try/catch block and display any exception that happens.
    Thursday, May 3, 2012 6:54 AM