For a year, there has been a "compatibility" problem with picture optimization software.
Because the previous software was developed on the Windows 2003 system, the installation files, after some user testing found that some users of the XP system installed, unable to start normally, can only hear peng!, the interface can not be displayed.
Today is free, I decided to recheck the code, at the beginning I thought it was due to some API, through the elimination of the code snippet to minimize the program, but still did not solve the problem.
I created a new window, and then in the VB Project properties, the default Startup window to the new window Form1, generated exe file after the test, unexpectedly can start. But when I add a button control in this Form1 window, I can't start, halo!
I went to Baidu Search, no comments in Baidu's bar to see such an introduction:
http://tieba.baidu.com/f?kz=101277016
There is one such paragraph:
Private Sub form_initialize ()
InitCommonControls
End Sub
Because my interface wants to choose XP style, so I used the abc.exe.manifest configuration file.
I was added in Form_Load to set XP-style statements:
Private Sub Form_Load ()
InitCommonControls
End Sub
After testing, it is wrong to write in InitCommonControls in Form_Load.
When I move the initcommoncontrols to the form_initialize, I can start the interface normally.
2010-03-06
VB|XP Style: Finally solved the "picture optimization software" On some XP system can not start the problem.