Active Oldest Votes. The setup process will look for this file, and if it doesn't find it, will force an installation of old, old Java, and require a reboot. By creating the zero-byte file, the installation of moldy Java is bypassed, and no reboot will be required. Turn off UAC. Insert Visual Studio 6 CD. Exit from the Autorun setup. Browse to the root folder of the VS6 CD.
Click Next. Click "I accept agreement", then Next. Enter name and company information, click Next. Select Custom Setup, click Next. Click Continue, then Ok.
Setup will "think to itself" for about 2 minutes. On the options list, select the following: Microsoft Visual Basic 6. Click Continue, setup will continue. Finally, a successful completion dialog will appear, at which click Ok.
At this point, Visual Basic 6 is installed. Click Next to skip the installation of Installshield. This is a really old version you don't want anyway. Not needed! On the next dialog, clear the checkbox for "Register Now", and click Finish.
The wizard will exit, and you're done. For example, resizing objects on a form is a real pain. After changing these settings, fire up the IDE, and things should be back to normal, and the IDE is no longer sluggish. On Windows 10, we also faced the same issue.
For us it worked. This worked for me! You are a life saver! I have 78 VB6 programs that I want to continue to develop and use. At the last step it gets stuck setup is updating your system. I have tried all the methods yet it is not responding. Program Files x86 Common FilesSystemadomsado I used Total Commander Compare utility. Do you have any hints how to improve the speed of network discovery between the two machines in a simple, but Microsoft 'simple' , home network.
Be happy to provide any other information. I did a bit of detective work there. The reference is to msadox.
On the XP machine, it is in the 'right' place and is version 2. I tried to backup the win7 copy and replace it with the XP version BUT, when trying to rename it on the Win7 machine, I get permission from TruthInstaller to make changes to this file.
One thing that really puzzles me is that the installed finished commercial application still runs smoothly. Any chance of using Skype between us. I could let you see my win7 screen with the screen sharing facility and the info sharing between us would be speeded up. I could then update this post when we have arrived at some solution.
I use screen sharing with the USA on a daily basis. Assuming that is where you are. I have network discovery turned BUT, I have to initiate it each time win7 is 'started'.
And it is slow. I use TotalCommander for file manipulations and it often doesn't 'see' the other machine. I find using windows explorer screens very limited but they do look nice relative to the TotalCommander. But still, as a programmer, content and ease of use is so much more important than look.
Two XP machines on my network are much, much faster 'discovering' each other but the rate of data transfer seems the same. Thanks for the attention dwitch.
I did it. The command prompt needs to be run as as administrator. After I estarted WIN 7 and double clicked the network icon.
I can't say that there is any improvement in 'discovery' time. I can live with it but I bought an i7 processor with 8 GB of fast memory and am a bit disappointed with some of the performance. Other things work blindingly fast. VMWare for instance and installations are very quick. Copying large files on the same diak is 'very fast' too.
Anybody have any ideas on the MDac problem. Sort of giving up really BUT, if a solution does materialize afterwards, I can always install it directly on the win 7 machine at a later date. By: man Installed VB6 on my pc with Win7 bit. I can compile but the program won't run. I installed vb6 on my friend's laptop. It was installed but when I double click the control on a form to write a code, vb6 stopped working.. The error says, "VB6 has stopped working. How can I fix this?
OS is windows 7 home basic and it is 64 bit. Thanks dwirch. That is recordsets created by code and populated and manipulated with code??? And is you Win 7 service pack 1?? By: MCxWillyxP. So I have the disk files and license code but I don't have the disk. Whenever I run setup. Any help?
By: luisev. By: GerardK. Great site. My question is a bit different. I have a VB6 app compiled in ans used by many users. I want them to be able to instal and execute the version on a W7 workstation. The app installs fine and starts up fine. However in the code I have a clock synch procedure that checks that their clock is correct based on a time offset setting.
It uses the VB6 system variables Date and Time. But I get an error trying to set these in Windows 7. I do not run across any issues with setting these variables on a windows XP machine. So for now I am not forwardly compatible with my app. Thanks in Advance. Sounds like a permissions issue. Are you setting date and time? If you are setting it, does the user have permissions to set the date time, without elevation? Remember, if the user context that program is running in does not have permission to do certain things, then your program will not have permission either.
You can test this by performing a Run As By: gwilliams. Compiling the code via command-line works fine and the produced DLLs behave as expected. As you can imagine this message was not met by a wave of calm, and is causing me a great deal of discomfort. I can run Win Form apps perfectly fine. No references are missing. By: dgordon One small problem, when loading componments into a project I get a "Cannot access Registery" error, although the components seem to load OK.
I closed VB6, drilled down into the disc to find VB6. EXE, and raised the security for Users to "Full". This seemed to fix the problem, maybe it will help someone else. Thanks Again. Good catch, dgordon42! Your approach certainly works for more secure systems. Just out of curiosity, would right-clicking and select Run As Administrator have the same effect? By: steve. Editing and compiling work fine. The first screen of the Package and Deployment add-in works too.
However, the first screen takes several minutes to complete, whereas in XP it took several seconds. The completed installation package works on Windows 7 and XP.
However, on Windows 7, if there is more than one form with "Show in Taskbar" set to True, there are flaws in the operation. Only one button appears on the taskbar. When this button is activated, a menu appears with the several forms listed. Clicking on the menu causes the form to pop on the screen. However, clicking on the menu X does not pop the form off the screen. Also, "Close All Windows" does not work. Any hints or suggestions would be appreciated. By: Woti.
I can't scroll in a VB code module. In any other application I can scroll with the mouse. Do you have any ideas that do do? OCX actually exist at the path you've given? With reference to my problems running VB6 on a Win 7 machine after installing sp 1. Someone claims that there is a solution in win 8 and another pleads for an MDac service pack.
Microsoft makes our lives a misery. A misery. Many Thanks to dwirch. OCX was successful. By: NewGeekSteve. Firstly, thanks for taking the time to help with issues like this. I feel a bit of an idiot asking this question as it seems so obvious to everyone else but: how do you create the dll file in the first place? Hey Steve - don't feel like an idiot! That's what we are here for, is to answer questions!
DLL After hitting enter, you'll just a blinking cursor. Just press F6 and enter, and your zero-byte file will be created. By: wavy. Great thread, seems to be the only place to go for info on running VB6 on Win7, thank you! I went through the install procedure a few months ago and it had been working great. I'm on Win7 x I've had periodic problems with the IDE menus becoming unresponsive and it seems to be happening much more frequently lately. Other times some of the above menu items will work and not others.
The keyboard shortcuts for the menus are unresponsive as well. However I'm always able to edit code and switch between files, which leads me to believe it's not the CPU spinning out of control verified by task manager. Any clue what this might be or where to look? Event logs show nothing useful. That's the first I've heard of a slow degradation of the IDE. And nothing in the background hogging cycles? Visual styles turned off?
Compositing turned off? Anyone else seen this? Yep, running in win xp sp3 compat mode with "visual themes", "desktop composition" and "display scaling on high DPI settings" all disabled The IDE runs fine for a while but seems to get in this weird state after editing for a while, like 15 to 45 minutes, depending on it's mood.
I've lost a fair amount of code due to suddenly being unable to save So, playing with this some more today I disabled all my add-ins should have done that first thing , which consisted of the mouse wheel fix and mz-tools. After running that feature I start to see the behavior I described above. Anyone running mz-tools without issues? Awesome dwirch! Let me know if you see the same thing.
Here's a use case: 1. Install mz-tools 2. Open a project. Double-click one of the instances in the procedure caller results window. If the options window is not displayed after selecting the options menu item, you've successfully repro'd I should mention, I went through the steps described in the mz-tools faq resetting the toolbars and it did not solve the issue I'm having.
By: craigkl. Thanks 40poundhead. Following your advice I got VB6 installed with no problem on my new i7 bit Windows machine. TrueDB Grid installed just fine.
When I try to start their SETUP programs I get an incompatible program message, and none of the compatibility settings that Windows suggests do any good. When I click the "Start the Program" button in the compatibility dialog, the wait cursor spins for about a second and then just quits. This is way beyond your call of duty, but if you are installing VB6 and old OCXs I am just hoping that you have encountered this kind of problem before and know how to fix it.
I suppose I could copy the various OCXs and DLLs over from my old machine and try to register them, a real PITA, but that still leaves the problem of getting their licensing file schemes to cooperate, a nut I have never been able to crack.
Thanks for whatever suggestions you can provide! By: michaeldalnay. This is a very helpful link.. By: schulzzz. Hey, i followed all the instructions above an am not able to install vb6 on my win 7 Home Premium 64bit.
Wht do i wrong?? Pleas help. Thank you. My movecomplete functions get a compile error "procedure declaration does not match the description of the event or procedure having the same name". I've searched some, but can't find a solution that works. The other references all look the same on both systems. Can you provide any input? Here is the code declaration that is failing You should get an answer pretty quickly. There are lots of smart folks that have their eyes on that section. By: ern Have uccessfully installed on W7 64 bit but I am stumped at installing SP4.
I cannot seem to get the MDAC 2. By: Louw I just attempted to install VB6 onto Windows 7 Professional bit. Although I followed the instructions you provided, the responses from the OS were different in a lot of places. I guess that the instructions were written for Vista, not Windows 7. I muddled through and eventually got it installed. The problem was installing Service Pack 5.
MDAC 2. Just an update. Couldn't find a control which successfully imports and exports Excel files, xlsx in a 'German' environment where the decimal separator is ",". Net which manages the import and export without any trouble and blindingly fast even for a multi worksheet file. Spread 8 Active X - Grape City, which is what we were using, know of the problem, multiplies numerical values by in the exported file , since September but seem loth to correct it even though I imagine that it is a minor piece of code changing inside the control to be aware of the decimal separator.
The problem occurs when 'exporting'. Not when importing. By: ramnath Thanks for the Great Tip. I got vb 6 installed and everything is working fine.
Sorry the same issue would have already posted here. There is no error. From there i open the mdi parent form.
After that without any error the application ends. Right now i am debuging it with breakpoints with msgbox "1" "2" You can come on teamviewer if you would like. By: foxilla. I am not really sure where to go with it, with no real debugging information other than an approximate area of flow where it is stopping. After the first form completes, have it fire the dummy form instead.
If the program doesn't bomb, maybe something in the main form is having a problem. Any weird DLLs or controls being used? Non-standard database access? By: razausmani. When I install the VB 6. The installation completed successfully, but when I try to load my project. It say, "Unable to read System registry". Did you turn off UAC? Failing that, you might try running the IDE as administrator.
But the VB 6 is working fantastic with Windows 7. It is very fast than in XP. I should really thank you for this.
I do the compiling in windows XP. And also create the Setup file also with XP only. By: ISA. I am trying to install VS6 on Win7 64bit machine. Check out the original post above, and the comments below, especially the part about creating a zero-byte file to get around the JVM requirement.
By: Hvanaken. I installed VB6 on W7 64 ok. Thanks for the great information. I've installed SP6 with no problem. I have one unresolved problem. I get a message that I don't have a license to use the msflxgrd. I found a VB6controls. Yes I have unregistered and reregistered and it registers ok It can be used in compiled mode. Thanks for excellent information. If you're doing java development, you'll need a JVM, but you don't want the version that is packaged with VS6.
A JVM that adheres to the Java 1. Hence the instructions around JVM in this post. By: gowans Installed VB6 no problem without the need of running as admin etc, problem now is installing SP6 i've downloaded the file saved it into a folder, set the run properties of setupsp6. Or any over ideas??
By: kaktuz. By: Bolta. In your screenshot, I see adoitem defined in the procedure, but I don't see adoitem2 defined. However, you reference a control called adoitem2 as the last line in the procedure. You can't reference and object that has not been created, hence the "undefined" error. Not quite sure what you mean by a "clean" copy of VB6. If you're looking for pirated software, I can't help you. If you're looking for a copy for purchase, you'd have pretty good luck finding a reputable seller on eBay.
By: drp1drp. I see that you can recompile a vb6 program in the windows 8 preview version to clear up the ADO access problems a lot of us have.
However, I can't seem to get VB6 running on my copy of windows 8. Anyone installed vb6 on that platform?? Any Help is most appreciated. By: jheisler. The culprit is apc In my IDE, I'm unable to instantiate an instance of apc I'm invoking the CreateObject call.
It seems Windows 7 views this active x as a threat. The file is set to full access for admin and non-admin. Nothing has changed with this file since the beginning which tells me Windows 7 registry is affecting it.
Please help if you can. Something else I forgot to add. The compiled version of our software does initialize VBA successfully, but only if you are logged on as an admin user.
And this is the crux of our issue. We have clients who want to role out our software to non-admin folks. Once I run the software as an admin, logout, and log back in to the same machine as non-admin, the software launches VBA successfully. But this isn't a viable work around at a client site with work stations.
Maybe a local policy? The description you give sounds exactly like a permissions issue with users who are not local administrators on the workstation not being able to register ActiveX controls due to permissions.
I just found this great forum. Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear.
TechnologyAdvice does not include all companies or all types of products available in the marketplace. Remember Me? Advertiser Disclosure. Advanced Search. Results 1 to 23 of Thread Tools Show Printable Version. Nov 12th, , PM 1. Nov 12th, , PM 2. Re: how can i install Visual Studio 6 on Windows 7?
Nov 12th, , PM 3. Originally Posted by Elroy. Nov 12th, , PM 4. Nov 12th, , PM 5. Nov 12th, , PM 6. Nov 12th, , PM 7. Originally Posted by joaquim.
0コメント