|
|
#1 |
|
Hyperactive Member
Join Date: Sep 06
Posts: 298
![]() |
Modifications Required for VB6 Applications to Work on Vista/7
I have compiled a list of changes required for your VB6 application to work correctly on Vista. If you learn something new please post the information in this thread. Every once in awhile I will edit this first post to keep the list complete. So far this is what is known:
Application Changes
Setup Package Changes Administrator Account running your Setup Package
Non-Administrator Account running your Setup Package
Visual Basic IDE Changes
Useful Links
Credits
Last edited by Hassan Basri; Sep 5th, 2007 at 06:36 PM. |
|
|
|
|
|
#2 |
|
Fanatic Member
Join Date: Mar 02
Location: AUSTRALIA
Posts: 603
![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
Thanks for the 'heads up' on SendKeys.
That's a bummer. Here is a link on the subject - http://forums.microsoft.com/MSDN/Sho...74685&SiteID=1
__________________
Rob C |
|
|
|
|
|
#3 | |
|
PowerPoster
Join Date: Mar 07
Location: New England
Posts: 3,255
![]() ![]() ![]() ![]() ![]() ![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
Quote:
|
|
|
|
|
|
|
#4 | |
|
Hyperactive Member
Join Date: Sep 06
Posts: 298
![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
Quote:
__________________
Modifications Required for VB6 Applications to Work on Vista |
|
|
|
|
|
|
#5 | |
|
PowerPoster
Join Date: Apr 07
Location: The Netherlands
Posts: 4,220
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
Quote:
You can acces it like this: - Rightclick on the desktop - Choose Personalization - Choose Windows Color and Appearance - Choose Open Classic appearance properties for more color options - Select Windows Vista Basic and press OK or Apply. Just because i hate the classic windows look :P |
|
|
|
|
|
|
#6 |
|
New Member
Join Date: Aug 07
Location: Australia
Posts: 1
![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
Another incompatibility with vista (64). Deletesettings no longer works without a key.
e.g. DeleteSetting "Mytestprogram, "General" fails to delete anything and gives an error. but DeleteSetting "Mytestprogram, "General","keyname" works fine. It seems that key is no longer Optional in: DeleteSetting appname, section[, key] as in documentation. |
|
|
|
|
|
#7 | |
|
Frenzied Member
Join Date: Mar 06
Location: Debug Window Status: Bored
Posts: 1,097
![]() ![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
Quote:
- Go to the VB6 shortcut properties - Go to the tab Compatibility - Check the boxes: - Disable visual themes - Disable desktop composition That's it, no need to stick to Vista Basic theme or switch around constantly.
__________________
Signatures suck... |
|
|
|
|
|
|
#8 |
|
New Member
Join Date: Feb 08
Posts: 8
![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
I changed my Vista to classic theme, and everything works fine..
Are these modifications important? |
|
|
|
|
|
#9 |
|
PowerPoster
Join Date: Apr 07
Location: The Netherlands
Posts: 4,220
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
If you mean the modificiations TheBigB listed, they simply switch the theme to Vista Classic automatically as soon as VB6 is started and also switch back to your normal theme when VB6 is closed.
So it does exactly the same as manually setting the theme, only than automatically. |
|
|
|
|
|
#10 |
|
Comfortably Numb
Join Date: Feb 05
Location: Mumbai, India
Posts: 9,543
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Modifications Required for VB6 Applications to Work on Vista
__________________
A good excercise for the Heart is to bend down and help another up... Please Mark your Thread " '~~> If a post has helped you then Please Rate it by Clicking "Rate This Post" on the left hand side of the post! Excel Powerpoint MyGear: Sony VGN-FZ27G with a triple boot between (XP + Office 2003 + VB6), (VISTA + Office 2007 + VS2008) and (Win7 + Office 2010 + VS2010) |
|
|
|
|
|
#11 |
|
PowerPoster
Join Date: May 00
Location: New Jersey (USA)
Posts: 2,560
![]() ![]() ![]() |
Modifications Required for VB6 Applications to Work on Vista
Hello all,
This is not a question, but an FYI. This may be old news to some of you, but for those that are not aware, if you have Windows 7, MS provides a free "Virtual PC" that runs "XP Mode" that you can download from the following site: http://www.microsoft.com/windows/vir.../download.aspx Once you set it up, you can run XP in a separate window from your Win 7 desktop (from my perspective, it feels like you are running "gotomypc" or VNC or something similar). Anyway, all your Win 7 drives and folders are automatically shared on the virtual XP box. Anyway, this makes it easy to install VS/VB6 - there are none of the headaches that I have seen reported by folks trying to install VS/VB6 on Vista or Win 7. I was able to install VS6, then SP 5, then I registered some other AX controls I use(d), and loaded up an old VB6 app, and it worked without a hitch. It is true I was a VB6 holdout for longer than most, but I did move over to the "dark side" of .NET over 2 1/2 years ago and have not done any new VB6 development since then; however I still do have a fair number of VB6 apps to maintain. This is my first development box that runs an OS higher than XP (although I have tested VB6 apps on Vista boxes). So I just wanted to share this with you, and recommend this option for those of you who need to run VS/VB6 on a Win 7 box. Again to reiterate, AFAIK, the "Virtual XP box" option is only available on Win 7 (not Vista). |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|