January 13, 2013

Tutorial Cara Instal Visual Basic 6 Di Windows 8/10

Baca Artikel Lainnya

Berkut ini akan ditampilkan video cara menginstall program Visual Basic 6 pada sistem operasi Windows 8/Windows 8.1.

Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008, Windows 7, and Windows 8


Kenapa Tidak bisa terinstal?

  • Compatibility Issues
  • Microsoft Java Machine issues
  • Installer/Setup run-time issues
  • and some problems which ares pecific like unable to use visual Basic components such as ADODC,OLEDB,ADODB,RDO Connection problems etc

  • Download Ms-Java.bat  file for bypassing Microsoft Virtual Machine For Java..
  • Now lets look at the Setup! The link to torrent file of vb6 setup if you do not have it is here..>
  • this Problem will Be Solved by simply clicking the Run Program and the Setup Started.. :) , as you are running the setup,its possible that setup might become too very slow on places such as “searching for installed components” , “finishing installation” etc..dont worry its,totally normal! just wait for the setup interface to come up :)
  • Now you may simply Enter Serial Number,and Follow Next,Next Method of Installation and install Microsoft Visual Basic/Miscroft Visual Studio on your computer..BUT!!  if you follow this Method your Installation of Visual Studio will work,but on 64-bit (x-64) OS,Windows 7 64 bit,Windows  64-bit when you try to use Visual Basic components such as Data Grid,Active X controls,ADODC Connections,ADODB Connections for VB-SQL Connectivity it will give error..
  • The errors vary to a wide range depending upon the components selected and will be something as — ” failure to initialize provider,error 420,error 482,as well as the printer errors ” blah blah blah
  • So, in order to Make Visual Basic- Oracle SQL Connectivity we must do the following steps..
  • Please Make sure while installation/setup your Visual Basic installation directory is” C:\Program Files\Microsoft Visual Studio 6\common\” or  “C:\Program Files\Microsoft Visual Studio 6\” and NOT“C:\Program Fiiles (x86)\Microsoft Visual Studio 6\common\” or “C:\Program Files (x86)\Microsoft Visual Studio 6\common\”
Steps for Visual Basic – Oracle SQL Connectivity on Visual Basic 6 For 64 bit OS..!
  • The (x86) suffix at the end of Program files is responsible for the failure of various visual basic components such as data grid,ADODB,ADODC,OLEDB,Active-X,RDO,Printer Connectivity,windows common controls etc..
you can check this figure–> if it isn’t you may change the installation directory by clicking “Change Folder” or “Change Directory” as shown in the figure –>
  • Thus,we can make it Function Properly By Installing it to Default Program Files Folder..And All the Data bound controls,standard controls,added components to VB such as ADODB,OLEDB,Data bound grid control etc properly,Windows Controls,MAPI Controls Properly..!
Also if you already installed Visual Basic To Program Files (x86) just dont uninstall Please.. simply Perform the Following steps
  • Copy the Complete Microsoft Visual Studio Directory From c:\Program Files (x86)\ to C:\Program Files\
  • Now Go,to the Folder C:\Program Files\VB98\ andtry to run VB6.exe , it will give error as “Failed to register extension and blah blah”
  • Now simply run the “VB6.exe” from the non-x86 folder in “Run as Administrator” mode,. and voila!! Visual Basic Will Start Working,and all the Default Connectivity,Data Components which can be added from tools->components menu such as ADODB etc will start working!! thus , the VB-SQL Connectivity too will start Working!! ;)
If you Encounter Sluggishness in IDE do the Following Steps :)
  1. Using Windows Explorer, browse the location where you installed VB6. By default, the path is:
    C:\Program Files (x86)\Microsoft Visual Studio\VB98
  2. Right click the VB6.exe program file, and select properties from the context menu.
  3. Click on compatibility tab
  4. Check the following check boxes: For Windows 7:
    • Run this program in compatibility mode for Windows XP (Service Pack 2)
    • Disable Visual Themes
    • Disable Desktop Composition
    • Disable display scaling on high DPI settings
    For Windows 8
    • Run this program in compatibility mode for Windows XP (Service Pack 2)
    • Reduced Color Mode (16-Bit Color)
    • Disable display scaling on high DPI settings
  5. After saving open up VB6, It should work normally

he procedure uses the nice Visual Studio 6.0 Installer by Giorgio Brausi [1][2]. Without using it, the installation didn't finish properly and no uninstall entry was created.

Note: many default actions are omitted from the following description.


  • Download and unzip Visual Studio 6.0 Installer [1][2]
  • Start Visual Studio 6.0 Installer and read its help ?
  • Copy contents of Visual Studio Professional / Enterprise CDs to hard disk under a common folder, for example [3]:
    • .../VS6/EN_VS60SP6
    • .../VS6/MSDN CD1
    • .../VS6/MSDN CD2
    • .../VS6/VSE600ENU1
    • .../VS6/VSE600ENU2
    • .../VS6/VSE600ENU3
  • In the next steps, Visual Studio 6.0 Installer will prepare the folders to perform the installation from.
  • Specify the root folder where to prepare the folders to install from via File > Set Root folder...;
    For me this is D:\Users\Martin\VS6-ROOT
  • Click Step 1: Prepare Visual Studion 6.0 ENT and specify the path to CD #1 of the Visual Studio 6.0 CD you collected above, .../VS6/VSE600ENU1.
  • Click Step 2: Prepare MSDN Library and specify the path to CD #1 of the MSDN Library CD you collected above,.../VS6/MSDN CD1.
  • Click Step 3: Prepare Service Pack 6 and specify the path to the folder (CD)with Service Pack 6 you collected above, .../VS6/EN_VS60SP6.
Further preparation:
  • Create folder C:\Program Files (uac)
    The Visual Studio development environment files will be installed here to prevent the UAC to intervene [4]. That would happen when Visual Studio would be installed to C:\Program Files (x86) [4].
  • Make sure that Microsoft Visual Studio folders from previous Visual Studio 6 installations are removed as well as its registry entries [5].

Install Visual Studio 6

  • Start the Visual Studio 6.0 Installer
  • Note: in section Preparation above we already specified the root folder with prepared installation CDs via File > Set Root folder... (D:\Users\Martin\VS6-ROOT).
  • Select Visual Studio 6.0 Enterprise (or Professional).
  • Click Install Visual Studio 6.0 ENT
    • Choose folder for common files:
      C:\Program Files (uac)\Microsoft Visual Studio\Common
    • Select desired products
      Note: For Windows8.x, from Data Access main option, disable the item: ADO, RDS and OLE DB Providers
    • Restart Windows
    • Deselect Install MSDN, don't install anything further now
    • Deselect Register Now, press Finish
  • Click Install MSDN Library
    • Accept several defaults
    • Press Full button
  • Click Install Service Pack 6
    • Accept several defaults
    • Press Full button

Prevent compatibility check interception

Trying to run MSDEV.EXE now will result in a Microsoft (R) Developer Studio has stopped working dialog. To cure this:
  • Rename MSDEV.EXE to MSDEV8.EXE [5]
    MSDEV.EXE is located in C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin.
  • On MSDEV8.EXE, change Properties, Compatibility to: Windows 7:

Enable using msdev from the command line

To enable using MSDEV8.EXE under the original name from the command line I created program msdev.cpp.
#include <process.h>

const char* path = "C:\\Program Files (uac)\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\MSDEV8.EXE";

int main( int argc, char * argv[] )
    return spawnvp( P_WAIT, path, argv );

// cl -nologo -EHsc msdev.cpp
Compile this program with VC6 or higher and copy it to folder C:\Program Files (uac)\Microsoft Visual Studio\Common\MSDev98\Bin.

  1.  Pastikan Windows 8/8.1 Kalian diupdate terlebih dahulu ke versi update terakhir lewat Windows Update yg ada di Control Panel.
  2. Sebelumnya komputer/laptop harus terinstal Microsoft Visual Studio 2012 Ultimate, sebelum ingin menginstall Visual Basic 6.0 di Windows 8/81
  3. Jalankan Installer dengan cara klik kanan Run As Administrator
Lebih jelasnya sialhkan liat video dibawah ini

 Enjoy ^_^

Like us on Facebook