cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mescalero
Level 7

setting VB apps to XP compatibility mode

Hello,

When our VB apps are installed on a Windows 7 system, they will only work when set to XP compatibility mode.

Can anyone offer a way (registry fiddle, perhaps) that these could be set to compatibility mode during installation? I haven't yet found anything on this forum, but perhaps someone out there has also grappled with this.

Thanks for any info...
Labels (1)
0 Kudos
(3) Replies
Cary_R
Level 11

Hi there,

Generally, I would say that you would want to author an Application Compatibility database, and deploy it in your installation with a custom action that invokes sdbinst.exe. Some things to check out:

Microsoft Application Compatibility Toolkit 5.5
http://www.microsoft.com/downloads/details.aspx?FamilyID=24DA89E9-B581-47B0-B45E-492DD6DA2971&displaylang=en

Using the Sdbinst.exe Command-Line Tool
http://technet.microsoft.com/en-us/library/cc749169(WS.10).aspx

Hope this points you in the right direction!
0 Kudos
lasiewicz
Level 6

If you download Microsoft Application Compatibility Toolkit , as suggested you will find Compatibility Administrator.

Go in to the Compatibility Administrator and create a new database. Next you will want to right click on the database and click new application fix. Browse to the app and select XP as the OS. This will pick the fixes for you that need to be done. Finally you will need to deploy this database which can be done by one line batch file or through a custom actions. This will run the application in Windows 7 like it would work under Windows XP.

Let me know if you have further questions.
0 Kudos
Mescalero
Level 7

Thanks very much for the suggestions, I'll check it out!
0 Kudos