You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. Needless to say, this predates Windows 7 Ultimate Edition. This will be a manual-ish uninstall process.
UAC, or user account control, will interfere with the installation process. It can be re-enabled after the installation. Open cmd Type regedit and hit enter. This will open a new registry window. To re-enable after installation, set this to 1. VB6 is now installed! However, we are not out the woods yet. Button to MSComctlLib. Not sure why or how.
Error 3: What it says: Run-time error Run-time error I am having problems with one feature that I use a lot. I am using Win 7 64 bit.
I am able to create new versions of my dlls and reference them in my excel applications so I think VB6 SP6 is installed correctly.
However, I like to run the dll inside the vb6 application so I can debug on the fly. Or if I have referenced the library already, but unregister the dll, and start up it up inside VB6 which automatically registers it then the first time my code tries to use the dll, I get the "Error in loading DLL" error. Any insight into what I can do to fix this? Thanks in advance, Charlie. Hi Charlie - I, too, am using Win7 x64, but I've not seen this behavior myself, but I'll try to reproduce it.
If I can reproduce it, I should be able to figure out why it is happening. I'll let you know either here or via email if I make any discoveries. By: rgrosz. I have just installed Visual Basic 6. I read all treads, expecially Jovick, but i can't install vb6 on win 7 64bit. I turned UAC off, put the cd and run setup as administrator.
Hi, Just following up on my question on Nov 24th - do you experience the same issue on Win - that being "Error on loading DLL" when trying to reference a running dll in vb6 debug mode - the compile works fine and referencing the registered dll works fine - but referencing an DLL that is running inside VB6 does not. Any suggestions? I haven't been able to reproduce the problem as of yet. I've got a couple of feelers out to some other folks, and should hear something back soon.
Am I wrong doing something installing visual basic 6 pro on win 7 64 bit? Is it a dream install it on 64 bit or not? Hi Gildy - I currently use Windows 7, bit at home, and bit at work.
Both machines have Visual Basic installed, and working flawlessly. I installed both copies utilizing the directions above.
While the process is a bit, umm, verbose, it worked for me, as well as a score of other folks out there. If you are having a specific problem, let me know, and I will see if I can help. By: abhilashr3. Hi thanks for the great trick finally i installed vb6 on my windows 7 32 bit os and all things are working fine but i have another issue i am using multiple users in my windows 7 user1 and user2 i have installed vb6 on user1 its working ok.
After the autorun is cancelled, try running the IDE. The program may be looking for some files off the CD. Not sure why this would be, but it might be. Or temporarily make user2 a local administrator on the workstation. By: Warlimont. It works great, thank you for the useful infos! Except for this: www. If I resize them, next it will narrow again. In the program code I added DBGrid1. Columns 0. Width lines to correct the issue. Run the the program, the rows and columns look good, BUT they are empty, I can't see the data in the dbgrid Any idea?
Thank you for your help in advance, and sorry for the poor english. By: mdickerson. Have any luck implementing SourceSafe or Subverison? And do you know if the updated screen look work backwards to client who are still using XP.. By: commentluv. By: GC. By: AreTeeBee. Hello there, I have followed the instructions given above and the install went perfectly. Additional components may be added but again, they are prevented from being dragged across.
Can anyone help? I am so close to having VB6 work once more! Kind regards, Rob. Did you follow the procedure in the update at the end of the article? Turning of compositing, etc? Hello again, Thanks for responding promptly. Sorry, no, I hadn't followed the "update" that follows on from the main install instructions. However, I have now done so, again without any issues, and unfortunately my problem still persists. I have gone through the motions of adding additional shipped with VB6 components and noted the.
OCX location in the C drive. I can verify that the. OCX file is where it is meant to be. Don't know if this information helps you to help me at all. Rob - I've just rebuilt my machine, and will be going through the install for VB6 either tonight or in the morning, so I'll pay extra special attention to look for the problem you are describing.
Okay, thanks very much. For your information I have tried uninstalling VB6 from my D drive and reinstalling it on my C drive but the problem persists. Additionally, it is the Home Premium version of Windows 7 that I am running, and VB6 Professional legitimate discs I recently purchased through ebay , if this helps you at all, Rob.
By: kamaldeep. Thanks, I have successfully installed VB on windows7 according to the instruction. Thanks in advance. Well, the first step would be to compile it on Windows 7, then attempt to run the compiled program on Windows 7. That is a bad practice anyway since you tie your program to a specific OS version.
By: Kingsley. I successfully intalled visual basic 6. Can anyone help me out please? By: chuboy. I'd highly caution against getting the setup files from random places online. You never know what's going to be in the package. Instead, sign up for an MSDN subscription.
I've been subscribing for years, and have had no issues finding exactly what I need, when I need it, from a reliable source, in a reliable format. By: bigmox Thanks in advance!! By: TexasJetter. Just though I would comment on the network drive access issue posted earlier. It seems that if you are logged on as an administrator Win 7 assigns two security tokens and within VB6 and Access 97 it gets confused and will not show network drives.
By: Bruce Thanks for the great information!! I'm running Win-7 bit and installed vb6 without any problem. By: pnn. Thanks so much! My previous two attempts to install VB6 on Win7 were a disaster. Now it installed on Win7 SP1 bit without a glitch, incl. Then I installed SP6, no problems, just remember to run setupsp6. Even installed Codesmart which also works fine. DLL - I read somewhere leaving it may cause problems with something. Edited and compiled several projects, no problems!
I have one problem with VB6 on Win7 x Is there a way to use VB6 non-elevated? By: dwirch. If you have UAC turned on, then there is no way around it that I can immediately think of.
Turn off UAC, and don't surf the internet while you are working. This will not make the IDE run in the same environment in which the compiled. I don't think so. If the UAC is not turned on, you are not running everything as administrator. You'll be running in the context of the currently logged on user. Try this: 1. Turn on UAC 2. Fire up a program that requires "run as administrator" via UAC. After the program fires, bring up task manager, making sure "Show Tasks from All Users" is selected.
You should see the program running in the administrator context. Fire the same program again 6. You should see it now running under the context of the currently logged in user. Make sense? The only exception is when the program performs some function that requires elevation anyway, such as user account management, domain management, etc.
By: azoic. Thanks for the information. One thing to add I was getting error when compiling and running projects with data reports. Error relates to license information and was corrected by downloading and running as admimnstrator Microsoft VBC6 utility vb6cli. Took me a long time to find this out. By: catfish Is it possible to re-enable UAC? Was disabling just for installation, or is it required for runtime as well? You are correct - you can re-enable UAC after installation.
By: Bert. Thanks for this technique. I just got Win and need to install VS6. Or is a different approach needed for those? By: Wrong Planet. This shows my lack of knowing how virtual pc works, but will there be any problem accessing my MSDE databases with VB6 being outside of the virtual pc?
Anybody else do something like this? By: Jim Webb. Thanks very much!!! You saved me countless hours. I forgot to turn off UAC but all seemed to work fine. I hope my negligence will not mess up anything in the future. However, if I have to do the entire thing again, it's not a problem. Thanks again! By: delooz. Thanks for this great explanation. I need to update an old VB6 application, but when running it under windows 7 the listview does not seem to work.
Any ideas?? How does it not work? Not visible? Not filling? Custom list box not displaying properly? How are you filling it? No, that is the problem. The development is still on a XP machine. But a test was done in windows 7, I don't have acces to that PC. I can't seem to reproduce the problem here. I've tried on several machines, and everything seems to be working fine. I've tried installing just an application, and installing VB6 and building a new app on the Win7 box directly, and both work with no issues.
Are you sure that listview is not a custom control that might be missing from the Windows 7 machine? Are you maybe referencing some API that is not present on the Windows 7 machine? By: dtsolutions. Fortypoundhead, you are my new hero for this great service to society I need to keep the very old versions actually I think only msjro. MS ADO 2. Try a search of your C:Windows directory, recursing subdirectories for msjro. Thanks for the response I do have 2 copies of msjro.
This version is apparently not even compatible with my Vista version 6. I have 2. I may not know exactly what you mean by "elevated command prompt" I am running cmd. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent. DLL files. The specified procedure could not be found. Any more ideas? Microsoft has provided solutions to work around this issue for some applications but VBA applications remain affected.
Ok, the linked workaround worked as Microsoft intended I'm not happy about having to upgrade to ado 2. I don't think you'll run into any problems - I've got a couple of apps that were developed with 2.
By: alanserr. Thanks for the detailed help in installing VB6 on Win 7 x Darn, I spoke too soon! There's one irritation that I'm hoping you have come across before - When running the Package and Deployment Wizard, the app sticks on the "Loading package types" screen for some time minutes , before continuing as normal to the "Packaging Script" screen.
Much more flexible and reliable. I'll see if I can duplicate your problem, though. I was being lazy in having to learn a new app. I guess I'll have to get to grips with Inno Setup and packaging VB6 apps for the different Windows platforms - what to do about the system. DLL and. OCX files etc. Thanks for your advice. Inno handles these things quite nicely, and is very straightforward in configuring the installation of DLL and OCX files. If you can write and understand an INI file, then you should have no problem with Inno.
It's even free! Can't say enough good things about it. And nope - I am not affiliated with the author in any way. Just a fan. I haven't yet had to work with INI files but I'm sure it's just a syntax thing. I've installed Inno and it looks pretty straight forward but Thanks again for your help. By: sgeinc. Window "Save changes to following files" 3.
Click Yes 4. Does not let me exit but loops to "Save changes" again 6. Do you have a the necessary NTFS permissions to save to the location you trying to save the project to? By: rap. Upon starting my installation the computer asked me: Are you sure you want to update the VB6.
Should I proceed?? By: redzoneglobal. Wanted to thank all for their contributions! We have a remote SQL server that this legacy program connects to. Always ran fine on my XP box. Done this a zillion times on various boxes. RDO connection code is pretty generic. I use this type of query and RDO resultset in I'm beginning to really hate Win7! By: poli Hello: After install vb6 win7 64 bit follow above steps,I went to run my sample program ,it looks good on XP box.
You might want to check your logic, or values that you are feeding to the function. Works fine in the IDE, or compiled. By: ko6no.
I tried unsuccessfully to use your method to install VB6. It didn't work because my CD didn't have the Install Options you list. I will try it again and make notes of where it differs. I am trying to make my App which works on XP run on W7. I get a Runtime Error Need the IDE working to find out where. Beginning to hate MicroSoft. In previous comment, I said that I could not get VB6 installed. I just went through the procedure for Custom Install again and everything worked.
VB6 working on W7 OK. I found a download site for this but no description of what it does. Is there a tutorial covering SP6? By: Isha. Thank you sooooo much you have been a Grrrrrr!!!!!!!!!!!!! By: carlfo. Install went fine. It seems to happen on compile, I never get to my code in debug. By: Joe. You might try uninstalling any remnants from your previous installation before trying to reinstall.
I have instaled vb6 on win 7 successfully. Joe - Why did you not use the uninstall under the control panel? The problem is that the registry still thinks that your package is still installed. Simply removing the directory is not enough to remove the information from Windows. By: Jug Ears. Great page. Glad I found it. Am having problems installing VB6 on a win 7 Pro 64 bit new machine. I didn't have the instructions above but persevered all the same and installed the IDE with all attendant special Active X controls.
The huge legacy application worked well. I then installed VMWare and Office And Skype too. And SP1 for win 7. I forgot. When I tried the legacy app again, it started to give me problems relating to 'recordsets'. I can see that the definitions in the.
Anyone have any ideas. My applications are heavy on recordset use. I have another installation of win 7 pro eng where the code will run.
It's all very confusing. There seems to be a theme starting up. I've run into half a dozen or so people now that begin to have problems with recordsets after installing SP1 for Windows 7. I'll see if I can find a solution, and report back here.
Thanks for the trouble. Of course, I could always use XP Mode but that would be giving up. I will examine the SP1 issue. It is installed on an additional hard disk on this computer and I would have to restart to 'get to it'. Restarting Win xp again would sap another 35 mins until XP has 'settled down'.
When I do get Win 7 up and running with all attendant applications and utilities, I can't wait to re-install a new copy of XP here and rebuild. I have checked the second installation of win 7 pro eng and the VB6 works fine there with the various recordsets. The Win 7 is without SP1 Hmmmmm.
Just got home and checked, and my home workstation is running Win7 Ultimate, x64, SP1. Recordsets appear to be working fine. The only virtualization that I have running currently is virtualbox on the local machine, although there are VMWare activex controls installed, to allow views into my ESX server. Office is installed as well. I'll try building a new project and compiling just to see if it is a "new build" problem with SP1 machines.
I do have win 7 ultimate with sp1 iso file on disk D:. Downloaded it from msdn three days ago. However, I will wait a few days to see if you or other commenters have a better solution. It would take me two days to get to the point that I am now on the existing win 7 installation if I reformatted and installed win 7 ultimate.
And I would prefer win 7 64 pro as I expect that most of our customers will be using that version of win 7 in the future when they will have eventually given up on XP. Not because of anything specifically bad but because Microsoft will eventually say that it no longer supports XP. I do think that Microsoft made a mistake calling Program Files and program Files It should have been Program Files 64 and Program Files.
I think that they may have saved themselves a lot of grief had they done so. So here is a question - and I am kind of embarrassed that I didn't ask it sooner - Does your app rely on a particular version of ADO? What MDAC is installed, and what is referenced by your project? My app relies on MDac 2. Program FilesCommon FilesSystemadomsadox.
Program FilesCommon Filessystemadomsado Program Files x86 Common FilesSystemadomsadox. 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. Visual Basic automatically displays the ADO 6. Consider the scenario that you recompile an application that must run in Windows Vista, in Windows Server , or in later versions of Windows. In this scenario, you must change import msado Consider the scenario that you recompile your application that must run in Windows XP or in Windows Server NET developer and if you applied "Method 1" in the "Workaround" section that was described in Microsoft Knowledge Base KB article , you do not have to change the code.
Note that this workaround was removed after update was released. However, we recommend that you install this update to make sure that the ADO interfaces on your computer are up to date. For more information about KB , click the following article number to view the article in the Microsoft Knowledge Base:. Download the update package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:.
Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file. For more information about how to obtain a Windows 7 or Windows Server R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:. The global version of this update installs files that have the attributes that are listed in the following tables.
The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time DST bias.
0コメント