Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP OS Compile Issue

Status
Not open for further replies.

hstandley

MIS
Mar 31, 2004
8
US
I have an application I designed in VB6 on an XP machine. The application does everything I need it to do as long as it is on an XP machine. On a W2K machine everything works but two items. The two things are; there is a print
capability with in the app. When you are ready to print the dialog box comes up asking you to select your printer. When the printer is select the application crashes. The second a item is when you go to save the document.

Again if you select to save the document the dialog box opens for you to select where you want to save the document. As with the print job when you click the save the application crashes. Again this does not happen on an XP
machine.

As a test I had one of the other programmers compile the same application on his W2K machine and everything worked and it also worked on my XP machine. My question is, does a script exist that while allow the application compiled on an XP machine run flawlessly on a W2K machine?

Thanks for your help,
Harry
 
I have found that if I want my applications to work on all the workstations in my company, that I have to compile the app on the lowest OS (in my case, Win98). The issue is the different DLLs that Windows uses on the different OS's. The DLLs are not backwards compatible, but (for the most part) forwards compatible.

Hope this helps!
 
Let me share a one more thing about this. After we installed Offfice XP on those machines that did not work, it started working. On the other programmer's machine that I tested it on, it did not have office XP. It is strange. Thanks for your help.

Harry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top