Known Issues

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Known Issues

Previous pageReturn to chapter overview

 

1.Windows 10 v.1703 build 15063.138 +

2.Windows 10

3.Windows 8.x

4.Windows 7

5.MSCOMCTL.OCX could not be loaded

 

 

Windows 10 v. 1703 build 15063.138 +

1.Press Step1 button to prepare folder

2.READONLY attribute: this step will take longer than before because VS6I will scan all the files and make sure they do not have the ReadOnly attribute set (in some scenarios it could happen).

If ReadOnly attribute is set, then will remove it.

3.MSJAVA.DLL: VS6I may fail to programmatically copy the MSJAVA.DLL file to the system \Windows (as request by setup.exe).

In this case, VS6I extract the original MSJAVA.DLL from compressed file CAB, then show a warning (please suspend and do nothing here).

Next VS6I open the folder \<root>\MSJAVA where you can 'manually' copy & paste the file into your \Windows folder.

Copy the file, then click the CONTINUE button on message box, so VS6I can terminate correctly.

4.Now press the Install [your product] button and the SETUP.EXE should start normally. Click Next button to proceed.

If you get a error (crash) then close setup program, then go to prepared folder:

 

1VS6xxx or 1VB6xxx (where xxx is Pro or Ent), next run manually the SETUP.EXE file.

 

Now the setup should be execute normally until the end.

Windows 10

1.Uncheck ADO, RDS and OLE DB Providers option  (see also Windows 8 issue).

 

VS6I check OS version and select automatically the related option: Disable Data Access, under Windows 8/10 group in HOME tab.

You do not have to do anything.


2.MSJAVA.DLL zero-length file no longer works.

You must use the original file MSJAVA.DLL located in the compressed file JAVABASE.CAB that his time is in the compressed file in the folder Msjavx86.exe IE4. Once extracted the file, must be copied to the %SystemRoot% folder (usually C:\Windows)

 

If you are using Windows 10, VS6I accomplishes this work automatically and transparently, you do not have to do anything.

 

IMPORTANT:

Not all versions / editions of Visual Studio or Visual Basic suffer from this problem; for example, the Visual Basic 6.0 Enterprise Edition (ISO format) distributed with the MSDN subscription does not have this problem.

However VS6I is able to recognize all cases and decide on how to act upon the one in question.


3.Automation error (OLE)

Under Windows 8.x/10, when you run VB6.exe the first time you can get a Automation error.

From VS6I, OPTIONS tab, set the flag Run as Administrator option (see my video)

 

If this option doesn't work from VS6I (may be), you have to do it manually:

 

1. Navigate to VB6.EXE folder (usually C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.EXE)

2. Right-click VB6.EXE, choose Property, click to Compatibility tab, check the Run this program as administrator option.

3. Press OK button

4. Run VB6.EXE, confirm UAC request, (the OLE error no longer appear) press OK to create a new project.

5. Close VB6

6. Repeat step 2, but this time uncheck the Run this program as administrator option

7. Run again VB6.EXE; now the OLE error should no longer appear.


4.Desktop composition

Windows 10 reintroduces Desktop Composition, unfortunately this is no longer an option to turn it off, so we have again the problem of the annoying delay when you resize a control in the Form.

After several tests, I found that by setting the Compatibility Mode to Windows Vista SP2 problem solve.

So I thought I'd add the option in VS6I: see the OPTIONS tab

 

Not sure that this is the final solution, because Microsoft keeps changing the cards on the boards to build in build, but for now this works.

 

 

Windows 8.x 64 bit

Windows 8 will have compatibility problems with some components of Data Access.

To ensure correct installation, go to HOME tab, then check the Disable Data Access option before to install VB6.0.

VS6 Installer will skip automatically the installations of Data Access components.

 

Of course, you can proceed manually for this as follows (see screen shots below):

01

02

03

04

05

06

 

 

Windows 7 Pro 64 bit

A user reported that when they start the installation (any) receive the error: File not found.

This because the ROOT folder did not have reading permissions.

Solution 1

1 - Create manually (from Resource Explorer) a new root folder, i.e. ROOT2

2 - Copy all folders from old ROOT folder

3 - Set the new ROOT2 as root folder of VS 6 Installer

3 - run installations as normally

 

If this solution doesn't work, then go to Solution 2.

 

Solution 2

 

Run the installations manually (from Resource Explorer) one by one as follows:

1 - Go to the your VS6 Installer ROOT folder

2 - To install VS/VB 6.0:

Got to the folder 1 named '1VS60xxx' or '1VB60xxx', where 'xxx' is the your edition (Ent or Pro)

Run ACMSETUP.EXE

 

3 - To install MSDN

Got to the folder 2 named '2MSDN60'

Run ACMSETUP.EXE

 

4 - To install Service Pack 6

Got to the folder 1 named '3SP6_VSxxx' or '3SP6_VBxxx', where 'xxx' is the your edition (Ent or Pro)

Run ACMSETUP.EXE

 

MSCOMCTL.OCX could not be loaded

Windows 8.x / Windows 10

 

 

CASE 1: MSCOMCTL.OCX not loaded error

If you receive the error:

MSCOMCTL_OCX error

it is probably a problem with the version number not correctly registered in the project.

I have encountered this error on Windows 10 TP 'clean'.

Try to modify the project file as shown below:

1. Make a copy of your VBP project.

2. Open the VBP project using Notepad.exe

3. Search the row:

Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX

  then replace the version number from #2.1# to #2.0#. The line should be like this:

Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX

4. Save file, run the project again.

NOTE

Please note that the version number may differ (i.e. may be #2.2#0) based on your Windows version.

To know the correct number for your operating system:

1. Create a new project (Project1 and Form1 will create as default)

2. Add the component MSCOMCTL.OCX in your project

  from Project menu select Components... item then check the Microsoft Windows Common Controls 6.0 (SP6) item from Components window

  cmd_exe4

3. Add a control (i.e. TreeView or ListView) in Form1

4. Save the project, and close it.

5. Open the Project1.vbp using Notepad.exe and read the number version.

 


 

CASE 2: MSCOMCTL.OCX not registered

If you receive this error, then the registration of this component may have failed properly. Try to register manually:

1.Click START button, or use Cortana, then type:

(1) cmd.exe (do not press Enter at this moment)

(2) Command Prompt item appear on top

(3) Right-click on item and select Run as administrator

 

cmd_exe

 

A Command Prompt (black) windows appears:

 

cmd_exe1

2.If your operating system is 64 bit then navigate to C:\Windows\SysWOW64 folder, using the CD (Change Directory) DOS command, typing:

 

cd C:\Windows\SysWOW64 command then press Enter key to confirm:

 

cmd_exe1a

 

If your operating system is 32 bit then stay on C:\Windows\System32 folder

3.Now try to register the files: mscomctl.ocx and msdatsrc.tlb:

 

cmd_exe2

cmd_exe3

 

The problem should be solved, now.

 

Other Windows versions

In other versions of Windows (XP, Vista and Seven) this problem may also be caused by the installation and/or existence of Internet Explorer 10, and some users have solved simply by removing IE10 (not simple to do), or upgrade IE10 to IE11.

 

 

 


VS6 Installer - Copyright © 2012-2017 - http://nuke.vbcorner.net - Giorgio Brausi (aka gibra)