Hi, I wrote a very simple window form app, all it has is a label and
couple buttons. When I send to exe file to another machine, it pops
the famous error message: The application failed to initialize properly
(0xc0000135). Click on OK to terminiate the application.
Then
I learned, the target machine needs to have .net framework install and
the version of the framework must match where my app was built.
My question:
Does
anyone have sample code for my program to determine if the target
machine has the correct version of .net framework installed, and if
not then my program would automatically download from msdn and install
for user...etc etc etc?
Or if there are better ways to
handle it (such maybe using the deploy option from vs.net which i never
used before, and dunno how it works, anyone got sample steps please)?
Thank you for your time :)
p.s: i'm using vs.net2003