Visual Basic 6 Enterprise Edition - Service Pack 5
Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)
A decently complex application built with Visual Basic works well with Wine 1.1.26.
The following works:
- Applications using Microsoft Data Environment Instance 1.0
- Applications using ADODB
- Applications using MSSQL via ODBC or via OLE DB
- Applications using MySQL via ODBC or via OLE DB
- Applications using 'Printer' class
- Applications using Crystal Reports 8.5 ActiveX
To get it working, I had to do the following:
1) Install 'corefonts' using 'winetricks'
2) Install 'mdac_typ' using 'winetricks' as the application was using Activex Data Objects (ADO) ADODB.RecordSet.
3) Install 'dcom98' using 'winetricks' as Wine 1.0.1 was giving "Automation errors" with native COM implementation
4) Install MySQL OLE DB driver, MySQL ODBC driver, MSSQL client to test the above.
What does not
- A third party OCX control called ':) VB Skinner'
- A call to Visual Basic function 'DoEvents' make the application consume 100% cpu and not return in Wine 1.0.1.
- When accessing fields with name in ADODB.RecordSet an error comes up saying that the requested column is not found even though when enumerating the fields collection, the column clearly exists. This happened with Wine 1.0.1 and the bug was solved when Wine 1.1.26 was installed.
1. Copy riched20.dll, riched32.dll, urlmon.dll, oleaut32.dll, and hhctrl.ocx from a working Windows XP installation to your Wine system32 directory. This will bypass the incomplete Wine richedit, HTML Help, and OLE automation implementations.
2. In your Wine configuration dialog, under the Libraries tab, set the following files to native:
hhctrl.ocx (You may have to type this one in instead of selecting it from the drop-down list)
And set these to builtin:
3. Set the Windows emulation to Windows ME
4. Run the installer normally, ignoring the OLE and Java error messages. If desired, the MSDN library can also be installed at this time. After installation, set the OS emulation back to Windows XP.
5. Open a terminal and browse to the Wine system32 directory. Execute the following command: wine regsvr32 comcat.dll (this will fix up the VB6 OLE subsystem)
6. As there will likely be no shortcuts generated by the install, generate a Linux shortcut to VB6.EXE
7. After VB has loaded, if the MSDN library was installed, go ahead and execute it by Help-->Contents. Wine will ask for Gecko; it must be installed for HTML Help rendering to work. If the automatic installation fails, you will have to manually extract the Wine Gecko cabinet file to your Wine directory--the winetricks script works well for this task. Note that Gecko does not render everything correctly, and it is very easy to crash the MSDN help system due to this fact. To minimize system instability, it is recommended to install the full help system instead of the minimal or typical installs.
Alternate way to install VB6 under Wine 1.1.41 (develop version)
Linux Ubuntu 9.10
By waraltca. march 25/2010
1) add the wine repository to you ubuntu.
- On System>Administration>SoftwareOrigins
- Click on "OtherSoftware" Tab and click on add button.
- Paste ppa:ubuntu-wine/ppa on the textbox and click on AddSource.
- If an error is thrown, don't care about.
2) Install MDAC 2.8 and dcom98 from winetricks (http://wiki.winehq.org/winetricks)
3) Go to wine configuration>library TAB and make sure this dll are added.
- hhcrtl.ocx (este tienen que tieparlo, no aparece en la lista)
4) Put ole32 and rpcrt4 to (buitin, native)
5) Set the Windows emulation to Windows ME
6) Install VB6 and don't care about the java installation error message you will receive.