Can Visual Studio 6.0 C++ run in Windows 11? - visual-c++-6

I just install Windows 11 and found out the VS6.0 app I still have to support will not build. VS C++ 6.0 won't even launch. It was working fine in Windows 10.
Has anyone figured out how to run VS6 in Windows 11?

Found the solution on codeguru
https://www.codeproject.com/Articles/1191047/Install-Visual-Studio-on-Windows?msg=5840158#xx5840158xx
I had VS6 running on Windows 10 so I only did 1 & 2 from "Works on Windows 11" comment.
*First, msdev.exe only showed the splash screen and then disappeared. It worked after
Renaming it to msdev1.exe (!)
Setting compatibility mode for Windows XP SP2.
Updating the file associations to point to the renamed exe file.*

Related

Namespace issues in VS2017 and Win7 with Xamarin app?

I have VS2017 Community edition installed in a Windows 7 PC and a Windows 10 laptop. They both have the exact same installation.
Last night I created a Cross-Platform > Mobile App (Xamarin.Forms) project in my Win10 laptop, and it ran perfectly in the android emulator. No issues there.
I did the same exact thing in my Windows 7 PC, and I'm getting tons of compiler errors. All of them are of the The type or namespace name 'System' could not be found nature.
Is there anything I need to do in Windows 7 so these projects run?
In both environments (Win7 and Win10) I did the exact same thing: installed VS2017, created the new Xamarin cross-platform project, and debugged it. In Win10 it runs flawlessly while in Windows 7 I get a bunch of compiler errors with System namespace, which is literally the most fundamental namespace of the .NET Framework.
Any help is appreciated.
I'd like to add that I created a regular ASP.NET Web Application in Windows 7 and it runs flawlessly (no issues with System namespace), so it's an error with Xamarin cross-platform.
The solution for compiling the solution successfully on my Windows 7 PC was to install .NET Framework 4.7.2

Do I have to install Android Studio again after updating windows to windows 10?

I have Windows 7, and need to migrate to Windows 10 because I must install Visual Studio (which doesn't work on Win7 anymore). As I read, Windows 10 online update does not delete any of my files or programs.
What would happen to my Android Studio, will it work same as before, after update is preformed?
UPDATE: Windows 10 could not detect my second monitor, everything else is doing fine for now. I found this helpful for second monitor solution. Just updating nvidia and reboot did the job.
I didn't have to reinstall the software when I upgraded from windows 7 to windows 10. It worked just fine for me.
According to the site below, if you’re running Windows 7, you can preserve Windows settings, personal files, and most apps during the upgrade to Windows 10.
http://www.intowindows.com/you-can-upgrade-to-windows-10-preview-without-losing-installed-programs/

WTL on Windows 10

Has anyone used WTL on Windows 10 already? All applications that I create with WTL segfault on Windows 10. They work on Windows 8 and Windows 7.
I even tried the most basic Hello-World application in WTL on Windows 10 and it segfaults when I run it. There are no clear indications of what is wrong. The program just segfaults with generic Windows segfault error.
Looks like WTL isn't Windows 10 compatible yet? Has anyone had this problem yet.
Just asking here as others will probably have the same problem. I tried two different Windows 10 (pre-release beta, and official release). I'm using latest WTL version WTL 9.0.4140 Final (2014-05-30).
All of our commercial applications are WTL built in VS2008. They work fine on Windows 10. If you can get a dmp file you should be able to review the crash dmp in windbg and see what is causing the fault.
Windows 10 with Visual Studio 2015 Community compiles and runs WTL sample MemDlg, I used WTL91_5270_Beta
our commercial video application is WTL-based(vs2015 express).
work fine, but it act different to MFC-based applications.
when win10 menu popup, video frame-rate drop in MFC(26fps->10fps), WTL(26fps->5fps).
https://github.com/sailfish009/wtl (WTL Version 9.1 (build 5321 final) 2015-11-17)

windows 8 - How to run XNA?

I have a windows 8 pc, I recently installed windows phone 7.1 sdk but it continously gave me the error that it couldn't install XNA 4.0 Refresh and MS VS 2010 Extensions for XNA. When I make a project of windows phone and run it it gives me this error:
Error 1 The target "GetCopyToOutputDirectoryContentProjectItems" does not exist in the project. PhoneApp2
Any suggestions/solutions would be greatly appreciated!
Thanks :)
If you are running visual studio 2010 on Windows 8, then following the steps here should work:
http://www.demonixis.net/blog/installer-xna-4-0-sous-windows-8/
If possible you might want to uninstall what you have for xna and the windows phone sdk so far. (I'm not sure if it would work properly without doing so.)
Basically, it has three steps:
1)Go to xbox.com/en-US/LIVE/PC/DownloadClient
Start by pressing the download button on this page. I am not sure what the significance of downloading that client is, however, it did the trick when I installed it.
2)Then reinstalling xna on this page:
microsoft.com/en-us/download/details.aspx?id=23714
3)And this last step is to download Windows SDK 7.1 here:
microsoft.com/en-us/download/details.aspx?id=27570

Has anyone had success with Visual Studio 6 on Windows 7?

VS6 popped off a series of errors before bombing out completely during install on Windows 7. I specifically need to get VB6 functioning on Windows 7. Anyone having any luck?
Folks on the VB6 newsgroup report they have managed to get it working on Windows 7.
There's this step-by-step guide on how to install the IDE on Windows 7 (including 64 bit).
If that doesn't work (scrapes barrel) try this old tip about persuading the install not to install the Java VM? Link is now broken so here is the tip:
Before trying to install VB6. Create a new file, name it msjava.dll and place it in your windows directory. The file can be zero length. You can then happily install without the prompt to install an old version of Microsoft's flavour of Java. Once you have installed VB6, delete the msjava.dll otherwise windows update will prompt you to update it.
Or (scrapes hole in barrel) these tips from an article about getting the IDE working on Vista?
Footnote: if developing with ADO, be aware of this.
The only way I've found that works is Windows XP mode (i.e. a virtual machine). Works fine there, but otherwise, not at all.
I found ALL the answers in a thread at vbmonster.com. As mentioned above, you CAN install Visual Studio 6 with Service Pack 6 under Windows 7 by following Derek's detailed instructions at fortypoundhead.com.
I had a problem because I needed to install Service Pack 5. I use a third party program that does not work with Service Pack 6. A really smart programmer (GuideX) came up with a great hack to get around the MDAC 2.5 error.
Win 7 64 bit service pack 5 & 6. Turn compatability off and it seems to work.
Recently I had to debug an ancient application written in Visual C++ 6.0 on Windows 8.1. Tried different solutions all of them failed, only this one worked.
This guys made a special installer that allows installing VC++6, VB6, and SP6 on Windows Vista/7/8/8.1/10 without any errors whatsoever.
Hope it would be helpful to someone.
I installed VB6 on Windows 7 Pro without having to use compatibility settings or run as administrator.
Doesn't really help you, but does show that it can work.
Several people in my office have installed Visual Studio 6 (without VC++) on Windows 7, both 32-bit and 64-bit with no problems. The one thing we have in common: we've all turned UAC down to it's lowest setting. Nothing else special required.
I am using vb6 on windows 7 32 bit system for a long time.
you will need to install your vb6 with compatibility of xp2.
Create a 0-byte file in the C:\Windows directory called msjava.dll.
Don't just install via the Autorun executable; instead browse the Visual Studio 6 CD (or folder), right-click Setup.exe and select Run As Administrator.
On any Program Compatibility Assistant warnings, click Run Program.
Step through the setup screens until you're able to choose Custom Setup, then click next.
On the setup options, install the following items and nothing else:
Microsoft Visual Basic 6.0
ActiveX
Data Access
Graphics
Click continue and the process will start, and (hopefully) eventually complete.
Skip the installations of the MSDN CD, BackOffice, VSS and SNA Server, and clear the checkbox for "Register Now". Setup should be complete.
Download the VB6 Service Pack 6 from http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=A8494EDB-2E89-4676-A16A-5C5477CB9713&displaylang=en and install.
Change the compatibility settings for Visual Basic (to get it to run a little more smoothly under Windows 7) by browsing to C:\Program Files\Microsoft Visual Studio\VB98, right-clicking the VB6.exe file, and selecting properties.
On the Compatibility tab, check the following:
Run this program in compatibility mode for Windows XP (Service Pack 3)
Disable Visual Themes
Disable Desktop Composition
Disable display scaling on high DPI settings
When you start up the IDE, you may get a notification saying that the color scheme has been changed to Windows 7 Basic, but it will be changed back to Aero once you exit. Everything should be working fine at this point!
Note: when you first run your new install vb6 run it with admin rights and with xp2 compatibility so that your exe can run on any system.
The word "supported" is used loosely in this thread, potentially leading the unwary reader to the conclusion that Microsoft supports the VB6 IDE (that is, the integrated development environment) on operating systems beyond Windows XP. This fact clearly is stated in the table that appears on the page at this link:
https://blogs.msdn.microsoft.com/nikosan/2012/04/20/support-statement-for-visual-basic-6-0-on-windows-8-updated/
Note that executables developed using VB6 are in fact compatible with Windows OS's from Windows XP through Windows 10--32/64-bit versions:
https://blogs.windows.com/buildingapps/2015/06/22/getting-ready-for-windows-10-sdks-compatibility-bridges/
Anyone using non-standard methods to coax the IDE into working on OS's that Microsoft does not support is exposing themselves/their organizations/their employers to risk and is not suitable for risk-averse organizations.
Having said that, I think the purest solution is to install Windows XP onto a virtual machine and run that VM in a modern host OS, such as Windows 10. That works just fine, and you can install directly from the VB6 Setup disc without making any pre-install/post-install customizations.
I had a Vista x64 box with a working copy of the VB6 IDE (which was supported). I upgraded the OS to Windows 7 x64 and the VB6 IDE still works fine. You could try that. I know, a huge PITA and kludgy but still, it worked for me.
I run Windows 7 Ultimate 32-bit, installed Windows Virtual PC - XP Mode, and that solved my problem isince I can run MSDEV 6.0 in the XP Window.
Not esay to install XP Mode though, the MS site is buggy.
The VB6 programming language is supported on the Windows 10 Technical Preview.
Visual Vasic 6 applications run and the VB6 IDE installs and works too.
I have the VB6 IDE running OK on Win-XP-16, Win-7-32, Win-7-64, Win-8.1-32, Win-8.1-64, win-10-32 and win-10-64 by using the instructions above which basically say, turn off UAC, run the installer AS ADMIN, and then set the VB6.exe file to run in XP-SP3 Compatibility mode.
I have had some issues with it and have had to do a bit more googling to solve these but I don't remember any more what those issues or solutions were.
I've even got the VB3 IDE running on the 32-bit versions of XP, Win-7, Win 8.1 and Win-10 - without even installing them - just copied the C:\VB folder from another computer and copied the *.LIC license files and *.VBX etc files as well.
I have successfully installed vb6 on win 7 32 bit by installing xp first then installing new win 7, (not upgrade), and do not format. then it will install vb6 without a problem
It's depending on your build version of Windows 7.
If your Win7's version is lower or is not updated, it has MANY PROBLEMS with compatibility.
But mine is newer Win7 version and has NO COMPATIBILITY TROUBLE.
I am currently using VB6 , VS6 and they still work fine!
If Properties->Compatibility->Windows XP doesn't help, fix it with UPDATING your Win7.

Resources