Wednesday, April 11, 2012

How to install Visual Basic 6 on Ubuntu - Linux?

Install VB6 on Linux - Ubuntu
VB6 was the one of most popular and effective programming language of its time. Today, VB is considered and outdated language which is hardly used by someone. But its simplicity and ease of coding still persist in mind of most of developers and few of them still use this language. Well, I'm a VB developer as well. I had programmed few programs in VB6 when I was at school level. After I migrated from Windows to Linux, I thought of using VB6 over there. After a short research over Google I got the solution, which is I am going to share with you guys. 









Getting Started:


Before, you install VB6 setup in your Linux OS, say Ubuntu, you need to set an environment to read EXE and DLL files in your Linux OS. For this purpose, we will be installing package called WINE. If you do not know about it or don't know how to install WINE then please click here to get a brief overview. After installing wine, go ahead and implement following step by step guide to get VB6 working on your Linux OS.



Steps to install Visual Basic 6 in Linux - Ubuntu:


Step 1: First, you need to download VB6 setup files. I would like to suggest you to download it via torrent. If you already have setup files with you, then you can skip this step.



Step 2: Now, I assume that you have all of the setup files. Now what all you need to do is just copy pasting work. In your VB6 setup folders, go to OS >> SYSTEM, copy all files & folder in that location. 



Step 3: Now, go to top Applications menu, then move to Wine >> Browse C: Drive as shown below:





Step 4: Now, go to Windows >> System32 and paste all files there which you had copied in Step 2.



Step 5: Now, again go to your VB6 setup files. Now move to the folder "VB98" and copy all of the files and folders present at this location.



Step 6: Repeat Step 3 again and navigate to Program Files this time. Under Program Files, create a new directory with name "VB6" and paste all files in this folder which you copied in previous step.



Step 7: Its time to add 2 registry values in the Wine - Windows Registry. For this purpose, launch your Linux terminal as root user and run following commands:



$ cd ~/.wine/drive_c/windows/system32/
$ wine regsvr32 comcat.dll
$ wine regsvr32 MSSTDFMT.DLL


For each command you must get successful notification like one shown below:





Step 8: Everything is set to go. All you need to do now is to run the VB6. For this, you can type another command in terminal.



cd ~/.wine/drive_c/Program\ Files/VB6/
wine VB6.EXE


Now wait for seconds and see the wonder happening in front of you. VB6 will be loaded normally as if it gets started in Windows. Below is a screenshot of Visual Basic 6 on my Ubuntu 10.04. 





You can start coding in VB6 from now :)



Thank You!

Tags: , , , ,

0 Responses to “How to install Visual Basic 6 on Ubuntu - Linux?”

Post a Comment

Subscribe

Donec sed odio dui. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio. Duis mollis

© 2013 Coolpctips. All rights reserved.
Designed by SpicyTricks