Как установить vba на windows 10

Проверка наличия VBA в системе и установка компонента при его отсутствии.

Некоторые приложения пакета Microsoft Office, такие как Word, Excel, Access, Outlook, позволяют использовать для решения пользовательских задач язык программирования Visual Basic for Applications (VBA).

Для того чтобы использовать возможности VBA, макросы, процедуры и надстройки, написанные на этом языке программирования, необходимо чтобы компонент Visual Basic для приложений был установлен вместе с приложениями пакета Microsoft Office.

Как проверить установлен ли Visual Basic для приложений?

Самый простой способ проверить наличие либо отсутствие установленного VBA это попробовать его запустить. Запустить VBA можно сочетанием клавиш Alt+F11 на клавиатуре, либо кнопкой «Visual Basic» на вкладке «Разработчик». По умолчанию вкладка «Разработчик» отключена во всех приложениях пакета Microsoft Office, поэтому предварительно ее нужно отобразить в настройках ленты.

Итак, если VBA установлен, то нажатие горячих клавиш либо кнопки «Visual Basic» на ленте приложения приводит к появлению окна редактора Visual Basic на экране монитора. Выглядит редактор примерно так, как показано на изображении ниже.

redaktor VBA v excel

В случае, если окно редактора не появилось, то компонент Visual Basic для приложений необходимо установить.

Как установить Visual Basic для приложений?

Чтобы установить компонент пакета Visual Basic for Applications, необходимо нажать кнопку Пуск, зайти в Панель управления/Программы и компоненты, выбрать программу Microsoft Office и нажать кнопку «Изменить», либо запустить установочный файл Setup.exe.

izmenit ustanovki programmy

Далее выбрать опцию «Добавить или удалить компоненты»,  в параметрах установки выбрать компонент Visual Basic для приложений и доустановить его.

как установить компонент VBA

Другие материалы по теме:

Visual Basic 6 (VB6) was one of the easiest programming languages to learn back in the day. It was released in 1998 and is now replaced by Visual Basic .NET (VB.NET). Even though it is outdated by several years, the programs created and compiled with VB6 can still work with the latest Windows operating systems which is why you can still find people attempting to install VB6 on Windows 10.

install visual basic (vb6)

If you’re trying to install VB6 on newer operating systems starting from Windows 8 onward, especially with 64-bit architecture, you are sure to encounter installation problems. These range from not being able to continue the install without first installing discontinued versions of Java to the setup process hanging and crashing.

In this article, we’ll show you how to successfully install Visual Basic 6 (VB6) in Windows 10 64-bit.

Bypass Update Microsoft Virtual Machine for Java Requirement

A computer should always maintain the latest version of Java and it’s pointless having the discontinued Microsoft Virtual Machine for Java on the computer just to install Visual Basic 6. The problem is, the VB6 setup does not allow you to continue with the installation if you untick the “Update Microsoft Virtual Machine for Java” checkbox as it grays out the Next button.

Vb6 java box

The solution is to bypass the VB6 setup by either tricking it into thinking Microsoft Java is already installed or by telling it not to install Java in the first place. Then you can reach the next phase of the installation.

There are two ways in which you can do this which we’ll list below, you only need to use one of them.

Trick VB6 setup into thinking Microsoft Virtual Machine for Java is Installed

The VB6 installer checks if the file msjava.dll exists in the SysWOW64 folder for 64-bit systems or System32 for 32-bit systems. Placing the file into the right folder will let the VB6 install continue.

a) For the quickest and easiest way of doing this, you can download the msjava.dll file from the link below and copy it to the required directory.

Download MSJava.dll

If you’re unsure about the architecture of your Windows operating system, simply try to copy msjava.dll to the C:WindowsSysWOW64 folder. If it doesn’t exist, you have a 32-bit system and should copy the file to the C:WindowsSystem32 folder instead.

b) Alternatively, the same DLL file is also present on the installation disc. You can extract it if you have an archiver such as 7-Zip installed on your system. Go to the IE4 folder located on the install CD, right click on MSJAVX86.exe, go to 7-Zip and select “Open archive“.

In 7-Zip, double click on javabase.cab which will open it. Look for msjava.dll in the list, drag it onto the Desktop and then copy it to SysWOW64 or System32. Copying to the Desktop first will avoid any access denied error when trying to copy the file directly from 7-Zip.

Copy msjava dll to desktop

After copying msjava.dll to either the System32 or SysWOW64 folder, you can launch the Visual Basic 6 setup.exe file to start the installation. It now doesn’t prompt you to update Microsoft Virtual Machine for Java.

Tell VB6 setup Not To Install Microsoft Virtual Machine for Java

If you have the VB6 setup files on your hard drive, it’s possible to edit the settings file for the installer and tell it not to ask for Microsoft Virtual Machine for Java. This will ignore the requirement and continue the install process.

a) The simplest option here is to download the SETUPWIZ.INI file from the link below. As the name implies, this is the setup wizard configuration file. Make sure to download the correct INI for your version of Visual Studio.

Download SETUPWIZ.INI (For Visual Studio 6 Enterprise)
Download SETUPWIZ.INI (For Visual Studio 6 Professional)

Place the INI file in the main installation files folder overwriting the current file. Then start the installation and it won’t ask to install Java.

b) If you want to edit the file manually, go to the main folder and open the SETUPWIZ.INI file with Notepad. Look for the line “VmPath=ie4msjavx86.exe”.

Delete setupwiz vmpath line

Simply delete the whole line or everything after the “=” sign and save the file. The install can be continued but you must also follow the next steps as well or the installation will not complete successfully.

Change VB6 Setup Options To Prevent The Install From Hanging Or Failing

While fixing the above issue gets round the first hurdle of installing Visual Basic 6 on Windows 10, there are some other things that will cause the install to fail.

First of all, you will likely experience the “Setup is updating your system…” progress getting stuck and doing nothing else. After a few seconds, the installer becomes unresponsive and then hangs. Looking in Task Manager will show high CPU usage for ACMSETUP.EXE and the setup window has to be closed manually.

Vb6 setup is updating your system

If you fix that, another error that appears will be a “Setup was unable to create a DCOM user account in order to register…valec.exe” message box.

Vb6 dcom user account error

With the default install options, the VB6 installer will likely produce another error message which is “javasign.dll was unable to register itself in the system registry”.

Javasign dll unable to register error

These last two error messages will cause the install to halt with a message saying the setup could not be completed. Since the Visual Basic 6 installer is over 20 years old, there are unsurprisingly some components that will not install properly in Windows 10 which causes the failures. Excluding those components from the install process will allow VB6 to install without errors.

You can use either method below to turn off the options during setup that cause the install to fail.

Disable the Setup Components Automatically

This method is the easiest and requires no manual changes to the setup options during install. We found that the install process is handled by an STF file in the Setup folder on the disc. The optional components are pre-enabled in this file so we found the offenders and disabled them by default.

1. Download the correct file according to the version of Visual Studio you are using. Click on the link below then right click on the grey Download button and select “Save link as” in your browser. This stops the file opening in a browser tab as a text file.

Download VS98ENT.STF (For Visual Studio 6 Enterprise)
Download VS98PRO.STF (For Visual Studio 6 Professional)

2. Make sure that the VB6 install files are on your hard drive as you need to replace the original STF file. You can do that by simply copying all the files from the CD to a folder on your drive. This won’t work if you are trying to install from CD.

3. Go to the SETUP folder and copy the VS98***.STF you downloaded above replacing the file already there.

Replace vs98 stf file

4. Run the installer and go through the setup steps as usual. When you reach the component selection window, nothing has to be changed because the edited STF already did it.

Any other options that you want to enable or disable can be changed although you must make sure “Microsoft Visual InterDev 6.0”, “ADO and RDS”, and “Visual Studio Analyzer” remain disabled.

Disable the VB6 Setup Components Manually

This method is useful if you are installing from CD or the automatic option above doesn’t work.

1. During the setup, make sure the Custom install option is selected.

2. Continue the install until you’re asked to choose the components from the list. Highlight Data Access and click the “Change Option…” button to the right, then click “Change Option..” for a second time.

Vb6 highlight data access

3. Now you’ll get another list of components that belong to the ADO, RDS, and OLE DB Providers. Simply uncheck the first ADO and RDS option.

Disable ado and rds

A warning will popup that this component is an essential part of the application and it will not run properly if not installed. Click OK to acknowledge the warning and then click OK two more times to get back to the main install options window.

This will stop the installer hanging and crashing at the updating your system window.

3. Highlight Enterprise Tools and click the “Change Option…” button. At the bottom, uncheck Visual Studio Analyzer and click OK. This option is not in Visual Studio Professional so those users can ignore it.

Disable visual studio analyzer

Disabling the Visual Studio Analyzer will stop the DCOM user account error.

4. Uncheck Microsoft Visual InterDev 6.0 box in the main install options window. This will stop the javasign.dll error from appearing during install.

You can, of course, enable or disable other options in this window depending on personal preference. But make sure the components mentioned here are not enabled or the install won’t finish properly. Continue with the install and you should be able to reach the end with no major errors after a reboot.

Run Visual Basic In Compatibility Mode

After the install is complete, Visual Basic 6 should start. If you get an error on the New Project screen, an optional step to help is running VB6 in compatibility mode. In Explorer, navigate to C:Program Files (x86)Microsoft Visual StudioVB98, right click on VB6.exe and select Properties.

run Vb6 in compatibility mode

In the Compatibility tab, check the “Run this program in compatibility mode for:” box and click OK. The default option of Windows XP (Service Pack 2) should be fine but you can experiment with Windows Vista or 98/Me if you wish.

Содержание

  1. Как установить Visual Basic в Windows 10?
  2. Могу ли я установить VB6 на 64-разрядную версию Windows 10?
  3. Как установить Visual Basic на свой ноутбук?
  4. Как установить Visual Basic 10?
  5. Как загрузить и установить Visual Basic 2010?
  6. Можете ли вы установить VB6 в Windows 10?
  7. Поддерживает ли Windows 10 VB6?
  8. Как установить визуальный код?
  9. Visual Basic и Visual Studio — это одно и то же?
  10. Как загрузить Visual Basic 2019?
  11. Могу ли я удалить Microsoft Visual C ++?
  12. Могу ли я удалить Microsoft Visual C ++?
  13. Зачем мне нужна Microsoft Visual Studio?
  14. Является ли Visual Basic бесплатным программным обеспечением?
  15. Как установить vs2010 на Windows 10?
  16. Как установить Microsoft Visual Basic для приложений?
  17. Статья Как правильно установить Visual Basic 6
  18. Dragokas
  19. Как установить vb6 на windows 10
  20. 1. Turn off UAC and grant full access to the Admin user
  21. 2. Copy MSJAVA.DLL to Windows
  22. 3. Get the software
  23. 4. Change the SETUP.EXE properties so it runs in XP SP3 compatibility mode
  24. 7. Now you could try to install Service Pack 6
  25. 8. A few other points
  26. 9. Turn UAC on again!
  27. 10. Change the compatibility on VB6 executable
  28. 11. Links
  29. How To Install Visual Basic 6 (VB6) in Windows 10
  30. Bypass Update Microsoft Virtual Machine for Java Requirement
  31. Trick VB6 setup into thinking Microsoft Virtual Machine for Java is Installed
  32. Tell VB6 setup Not To Install Microsoft Virtual Machine for Java
  33. Change VB6 Setup Options To Prevent The Install From Hanging Or Failing
  34. Disable the Setup Components Automatically
  35. Disable the VB6 Setup Components Manually
  36. Run Visual Basic In Compatibility Mode
  37. Как установить Visual Basic в Windows 10?
  38. Могу ли я установить VB6 на 64-разрядную версию Windows 10?
  39. Как установить Visual Basic на свой ноутбук?
  40. Как установить Visual Basic 10?
  41. Как загрузить и установить Visual Basic 2010?
  42. Можете ли вы установить VB6 в Windows 10?
  43. Поддерживает ли Windows 10 VB6?
  44. Как установить визуальный код?
  45. Visual Basic и Visual Studio — это одно и то же?
  46. Как загрузить Visual Basic 2019?
  47. Могу ли я удалить Microsoft Visual C ++?
  48. Могу ли я удалить Microsoft Visual C ++?
  49. Зачем мне нужна Microsoft Visual Studio?
  50. Является ли Visual Basic бесплатным программным обеспечением?
  51. Как установить vs2010 на Windows 10?
  52. Как установить Microsoft Visual Basic для приложений?

Как установить Visual Basic в Windows 10?

Могу ли я установить VB6 на 64-разрядную версию Windows 10?

Программа установки VB6 проверяет наличие файла msjava. dll существует в папке SysWOW64 для 64-битных систем или System32 для 32-битных систем. Размещение файла в правой папке позволит продолжить установку VB6. а) Чтобы сделать это быстрее и проще, вы можете загрузить файл msjava.

Как установить Visual Basic на свой ноутбук?

Мы шаг за шагом проведем вас через это.

Как установить Visual Basic 10?

Как удалить Visual Studio с помощью панели управления

Как загрузить и установить Visual Basic 2010?

Чтобы загрузить Visual Basic 2010 Express, запустите свой веб-браузер (например, Internet Explorer) и перейдите по этому адресу: https://s3.amazonaws.com/cspublic/setup/VBExpress.exe. Как только вы нажмете кнопку «Установить», ваш веб-браузер должен либо запросить подтверждение, либо автоматически начать загрузку.

Можете ли вы установить VB6 в Windows 10?

VB6 при запуске в Windows 10 будет испытывать задержку, когда вы рисуете, перемещаете или изменяете размер объектов в форме в VB IDE. … Щелкните правой кнопкой мыши VB6.exe и выберите «Свойства». Перейдите на вкладку «Совместимость», установите флажок «Запустить эту программу в режиме совместимости для» и выберите «Windows Vista (Service Pack 2)».

Поддерживает ли Windows 10 VB6?

Здравствуйте, VB6 поддерживается, согласно https: //docs.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/visual-basic-6-suppor …

Как установить визуальный код?

Как установить Visual Studio Code на macOS?

Visual Basic и Visual Studio — это одно и то же?

Visual Basic — это компонент Visual Studio. Visual Studio обычно относится ко всему набору приложений для разработки (Visual Basic, Visual C #, Visual C ++ и т. Д.). Visual Studio — это интегрированная среда разработки (IDE), используемая для создания программ на Visual Basic или других именованных языках Visual.

Как загрузить Visual Basic 2019?

Новая функция и шаги по установке предварительной версии Visual Studio 2019

Могу ли я удалить Microsoft Visual C ++?

Вы можете удалить любой (или все) распространяемый компонент Visual C ++, но если прикладная программа, для которой он требуется, все еще установлена, эта программа больше не будет работать. Нет простого способа заранее определить, какие из ваших прикладных программ полагаются на какие версии распространяемого пакета VC ++.

Могу ли я удалить Microsoft Visual C ++?

Вы можете удалить распространяемые файлы так же, как и любую другую программу в приложении панели управления «Программы и компоненты». Затем вы можете загрузить и установить последние версии из Центра загрузки Microsoft. Вот несколько прямых ссылок на каждую версию: Microsoft Visual C ++ 2005 SP1 Redistributable (x86)

Зачем мне нужна Microsoft Visual Studio?

Он используется для разработки компьютерных программ, а также веб-сайтов, веб-приложений, веб-сервисов и мобильных приложений. Visual Studio использует платформы разработки программного обеспечения Microsoft, такие как Windows API, Windows Forms, Windows Presentation Foundation, Windows Store и Microsoft Silverlight.

Является ли Visual Basic бесплатным программным обеспечением?

Экспресс-выпуск программного обеспечения Visual Basic можно использовать совершенно бесплатно. Однако у него есть некоторые ограничения по сравнению с профессиональным пакетом, и это конкретное программное обеспечение не является бесплатным.

Как установить vs2010 на Windows 10?

Как скачать и установить Visual Studio

Как установить Microsoft Visual Basic для приложений?

Установка компонента VBA

Источник

Статья Как правильно установить Visual Basic 6

6966

Dragokas

Very kind Developer

Вот инструкция по установке дистрибутива VB6 на современные системы Windows (от Vista и выше):

1) Скачиваете дистрибутив* (не портативный, не патченный, не кривой), желательно английскую версию (в русской бывают баги, если названия файлов модулей будут написаны на русском языке).

* Дистрибутив VB6 обычно называется Microsoft Visual Studio 6.0 или Visual Basic 6.0 IDE.

У читателей иногда возникает такой вопрос, поэтому кратко опишу, что означают эти термины, и как определить, какой у Вас дистрибутив.

Во всех случаях почитайте отзывы людей, которые использовали дистрибутивы из того же источника.

2) Запускается установщик. На вопрос «Помощника о совместимости программ» отвечаете кнопкой «Запуск программы».

Дальше ввод серийного кода, места установки и т.п.

3) Когда прогрессбар установки дойдёт до 100%, установщик возможно зависнет (замечено на Windows 10). В этом случае зайдите в «Диспетчер задач» и завершите процесс установщика VB6.exe

После установки перезагружаете систему. При загрузке ОС возможно появится окно об ошибке INI, не обращаете внимания.

4) В меню пуск «Microsoft Visual Basic 6.0», ярлык от VB6 нажимаете правой кнопкой мыши и выбираете пункт «Запуск от имени Администратора».

Это действие нужно проделать один раз, так как системе потребуется зарегистрировать все необходимые компоненты при первом запуске среды.

Источник

Как установить vb6 на windows 10

How to install Visual Basic 6 on Windows 10

rainban

There are quite a lot of pages out there which gives parts of the story. None of them has the lot. I link to the important ones at the bottom.

1. Turn off UAC and grant full access to the Admin user

installing vb6 admin full control

Donovan Brown reckons you should also disable IE Enhanced Security Configuration. I didn’t do this; but then my install didn’t complete either.

vb6iesecurity

2. Copy MSJAVA.DLL to Windows

A computer should always maintain the latest version of Java and is pointless to have the discontinued Microsoft Virtual Machine for Java on the computer just to install Visual Basic 6. The problem is, the VB6 setup does not allow you to continue with the installation if you untick the «Update Microsoft Virtual Machine for Java» checkbox as it grays out the Next button.

The solution is to trick the VB6 setup into thinking that the Microsoft Virtual Machine for Java already exists on the system so the installer automatically skips this step. Basically the VB6 setup checks if the file MSJAVA.DLL exists in the System32 folder for 32-bit operating systems or in SysWOW64 for 64-bit operating systems. It is possible to create a zero byte MSJAVA.DLL fake file and place it in either System32 or SysWOW64 depending on the Windows architecture but this doesn’t work in Windows 10.

Assuming you have the 7-Zip archiver tool:

Go to the IE4 folder located in the VB6 installation files, right click at MSJAVX86.exe, go to 7-Zip and select «Open archive».

In 7-Zip, double click on javabase.cab which will open another list of files. Look for msjava.dll in the list, extract and copy it to C:WindowsSystem32 if you’re on a 32-bit of Windows or C:WindowsSysWOW64 if you’re on a 64-bit Windows. If you are unable to follow the steps above, or don’t want to install additional programs such as 7-Zip, you can download the MSJAVA.DLL file from the link below and copy it to the directory mentioned above.

Here’s my copy of the file.

3. Get the software

Download Visual Basic Service Pack 6 from here. This is actually the patches for VS 6 Enterprise Edition. Run the downloaded EXE to create a temporary directory with the installer in it.

Then get your copy of Visual Studio 6.0 Enterprise edition. Choices:

I have Visual Studio 6.0 Enterprise edition, which came from my MSDN subscription a very long time ago. So I used that.

VS6 files1

Or you might have an MSDN subscription, in which case you can do this.

4. Change the SETUP.EXE properties so it runs in XP SP3 compatibility mode

This is where things get interesting. This installation will eventually hang in «Setup is updating your system». UPDATE: there is a fix for this here.

Once you reach this point, kill the installation and restart your machine. (Donovan Brown suggests trying to install it again; but this did not work on Win10).

Visual Basic is now, basically, installed. You should be able to find it and run it from the Windows Start menu.

7. Now you could try to install Service Pack 6

8. A few other points

9. Turn UAC on again!

10. Change the compatibility on VB6 executable

After installing VB6, you’ll want to change the compatibility settings for the IDE executable. Otherwise it can run very slowly!

After changing these settings, fire up the IDE, and things should be back to normal, and the IDE is no longer sluggish.

11. Links

rainban

rainban

This page has been online since 22nd February 2019.

Источник

How To Install Visual Basic 6 (VB6) in Windows 10

install visual basic vb6

If you’re trying to install VB6 on newer operating systems starting from Windows 8 onward, especially with 64-bit architecture, you are sure to encounter installation problems. These range from not being able to continue the install without first installing discontinued versions of Java to the setup process hanging and crashing.

In this article, we’ll show you how to successfully install Visual Basic 6 (VB6) in Windows 10 64-bit.

Bypass Update Microsoft Virtual Machine for Java Requirement

A computer should always maintain the latest version of Java and it’s pointless having the discontinued Microsoft Virtual Machine for Java on the computer just to install Visual Basic 6. The problem is, the VB6 setup does not allow you to continue with the installation if you untick the “Update Microsoft Virtual Machine for Java” checkbox as it grays out the Next button.

The solution is to bypass the VB6 setup by either tricking it into thinking Microsoft Java is already installed or by telling it not to install Java in the first place. Then you can reach the next phase of the installation.

There are two ways in which you can do this which we’ll list below, you only need to use one of them.

Trick VB6 setup into thinking Microsoft Virtual Machine for Java is Installed

The VB6 installer checks if the file msjava.dll exists in the SysWOW64 folder for 64-bit systems or System32 for 32-bit systems. Placing the file into the right folder will let the VB6 install continue.

a) For the quickest and easiest way of doing this, you can download the msjava.dll file from the link below and copy it to the required directory.

If you’re unsure about the architecture of your Windows operating system, simply try to copy msjava.dll to the C:WindowsSysWOW64 folder. If it doesn’t exist, you have a 32-bit system and should copy the file to the C:WindowsSystem32 folder instead.

b) Alternatively, the same DLL file is also present on the installation disc. You can extract it if you have an archiver such as 7-Zip installed on your system. Go to the IE4 folder located on the install CD, right click on MSJAVX86.exe, go to 7-Zip and select “Open archive“.

In 7-Zip, double click on javabase.cab which will open it. Look for msjava.dll in the list, drag it onto the Desktop and then copy it to SysWOW64 or System32. Copying to the Desktop first will avoid any access denied error when trying to copy the file directly from 7-Zip.

copy msjava dll desktop

After copying msjava.dll to either the System32 or SysWOW64 folder, you can launch the Visual Basic 6 setup.exe file to start the installation. It now doesn’t prompt you to update Microsoft Virtual Machine for Java.

Tell VB6 setup Not To Install Microsoft Virtual Machine for Java

If you have the VB6 setup files on your hard drive, it’s possible to edit the settings file for the installer and tell it not to ask for Microsoft Virtual Machine for Java. This will ignore the requirement and continue the install process.

a) The simplest option here is to download the SETUPWIZ.INI file from the link below. As the name implies, this is the setup wizard configuration file. Make sure to download the correct INI for your version of Visual Studio.

Download SETUPWIZ.INI (For Visual Studio 6 Enterprise)
Download SETUPWIZ.INI (For Visual Studio 6 Professional)

Place the INI file in the main installation files folder overwriting the current file. Then start the installation and it won’t ask to install Java.

b) If you want to edit the file manually, go to the main folder and open the SETUPWIZ.INI file with Notepad. Look for the line “VmPath=ie4msjavx86.exe”.

delete setupwiz vmpath line

Simply delete the whole line or everything after the “=” sign and save the file. The install can be continued but you must also follow the next steps as well or the installation will not complete successfully.

Change VB6 Setup Options To Prevent The Install From Hanging Or Failing

While fixing the above issue gets round the first hurdle of installing Visual Basic 6 on Windows 10, there are some other things that will cause the install to fail.

First of all, you will likely experience the “Setup is updating your system…” progress getting stuck and doing nothing else. After a few seconds, the installer becomes unresponsive and then hangs. Looking in Task Manager will show high CPU usage for ACMSETUP.EXE and the setup window has to be closed manually.

vb6 setup is updating your system

If you fix that, another error that appears will be a “Setup was unable to create a DCOM user account in order to register…valec.exe” message box.

vb6 dcom user account

With the default install options, the VB6 installer will likely produce another error message which is “javasign.dll was unable to register itself in the system registry”.

javasign dll unable to register

These last two error messages will cause the install to halt with a message saying the setup could not be completed. Since the Visual Basic 6 installer is over 20 years old, there are unsurprisingly some components that will not install properly in Windows 10 which causes the failures. Excluding those components from the install process will allow VB6 to install without errors.

You can use either method below to turn off the options during setup that cause the install to fail.

Disable the Setup Components Automatically

This method is the easiest and requires no manual changes to the setup options during install. We found that the install process is handled by an STF file in the Setup folder on the disc. The optional components are pre-enabled in this file so we found the offenders and disabled them by default.

1. Download the correct file according to the version of Visual Studio you are using. Click on the link below then right click on the grey Download button and select “Save link as” in your browser. This stops the file opening in a browser tab as a text file.

2. Make sure that the VB6 install files are on your hard drive as you need to replace the original STF file. You can do that by simply copying all the files from the CD to a folder on your drive. This won’t work if you are trying to install from CD.

3. Go to the SETUP folder and copy the VS98***.STF you downloaded above replacing the file already there.

replace vs98 stf

4. Run the installer and go through the setup steps as usual. When you reach the component selection window, nothing has to be changed because the edited STF already did it.

Any other options that you want to enable or disable can be changed although you must make sure “Microsoft Visual InterDev 6.0”, “ADO and RDS”, and “Visual Studio Analyzer” remain disabled.

Disable the VB6 Setup Components Manually

This method is useful if you are installing from CD or the automatic option above doesn’t work.

1. During the setup, make sure the Custom install option is selected.

2. Continue the install until you’re asked to choose the components from the list. Highlight Data Access and click the “Change Option…” button to the right, then click “Change Option..” for a second time.

vb6 highlight data access

3. Now you’ll get another list of components that belong to the ADO, RDS, and OLE DB Providers. Simply uncheck the first ADO and RDS option.

disable ado rds

A warning will popup that this component is an essential part of the application and it will not run properly if not installed. Click OK to acknowledge the warning and then click OK two more times to get back to the main install options window.

This will stop the installer hanging and crashing at the updating your system window.

3. Highlight Enterprise Tools and click the “Change Option…” button. At the bottom, uncheck Visual Studio Analyzer and click OK. This option is not in Visual Studio Professional so those users can ignore it.

disable visual studio analyzer

Disabling the Visual Studio Analyzer will stop the DCOM user account error.

4. Uncheck Microsoft Visual InterDev 6.0 box in the main install options window. This will stop the javasign.dll error from appearing during install.

You can, of course, enable or disable other options in this window depending on personal preference. But make sure the components mentioned here are not enabled or the install won’t finish properly. Continue with the install and you should be able to reach the end with no major errors after a reboot.

Run Visual Basic In Compatibility Mode

After the install is complete, Visual Basic 6 should start. If you get an error on the New Project screen, an optional step to help is running VB6 in compatibility mode. In Explorer, navigate to C:Program Files (x86)Microsoft Visual StudioVB98, right click on VB6.exe and select Properties.

vb6 compatibility mode

In the Compatibility tab, check the “Run this program in compatibility mode for:” box and click OK. The default option of Windows XP (Service Pack 2) should be fine but you can experiment with Windows Vista or 98/Me if you wish.

Источник

Как установить Visual Basic в Windows 10?

Могу ли я установить VB6 на 64-разрядную версию Windows 10?

Программа установки VB6 проверяет наличие файла msjava. dll существует в папке SysWOW64 для 64-битных систем или System32 для 32-битных систем. Размещение файла в правой папке позволит продолжить установку VB6. а) Чтобы сделать это быстрее и проще, вы можете загрузить файл msjava.

Как установить Visual Basic на свой ноутбук?

Мы шаг за шагом проведем вас через это.

Как установить Visual Basic 10?

Как удалить Visual Studio с помощью панели управления

Как загрузить и установить Visual Basic 2010?

Чтобы загрузить Visual Basic 2010 Express, запустите свой веб-браузер (например, Internet Explorer) и перейдите по этому адресу: https://s3.amazonaws.com/cspublic/setup/VBExpress.exe. Как только вы нажмете кнопку «Установить», ваш веб-браузер должен либо запросить подтверждение, либо автоматически начать загрузку.

Можете ли вы установить VB6 в Windows 10?

VB6 при запуске в Windows 10 будет испытывать задержку, когда вы рисуете, перемещаете или изменяете размер объектов в форме в VB IDE. … Щелкните правой кнопкой мыши VB6.exe и выберите «Свойства». Перейдите на вкладку «Совместимость», установите флажок «Запустить эту программу в режиме совместимости для» и выберите «Windows Vista (Service Pack 2)».

Поддерживает ли Windows 10 VB6?

Здравствуйте, VB6 поддерживается, согласно https: //docs.microsoft.com/en-us/previous-versions/visualstudio/visual-basic-6/visual-basic-6-suppor …

Как установить визуальный код?

Как установить Visual Studio Code на macOS?

Visual Basic и Visual Studio — это одно и то же?

Visual Basic — это компонент Visual Studio. Visual Studio обычно относится ко всему набору приложений для разработки (Visual Basic, Visual C #, Visual C ++ и т. Д.). Visual Studio — это интегрированная среда разработки (IDE), используемая для создания программ на Visual Basic или других именованных языках Visual.

Как загрузить Visual Basic 2019?

Новая функция и шаги по установке предварительной версии Visual Studio 2019

Могу ли я удалить Microsoft Visual C ++?

Вы можете удалить любой (или все) распространяемый компонент Visual C ++, но если прикладная программа, для которой он требуется, все еще установлена, эта программа больше не будет работать. Нет простого способа заранее определить, какие из ваших прикладных программ полагаются на какие версии распространяемого пакета VC ++.

Могу ли я удалить Microsoft Visual C ++?

Вы можете удалить распространяемые файлы так же, как и любую другую программу в приложении панели управления «Программы и компоненты». Затем вы можете загрузить и установить последние версии из Центра загрузки Microsoft. Вот несколько прямых ссылок на каждую версию: Microsoft Visual C ++ 2005 SP1 Redistributable (x86)

Зачем мне нужна Microsoft Visual Studio?

Он используется для разработки компьютерных программ, а также веб-сайтов, веб-приложений, веб-сервисов и мобильных приложений. Visual Studio использует платформы разработки программного обеспечения Microsoft, такие как Windows API, Windows Forms, Windows Presentation Foundation, Windows Store и Microsoft Silverlight.

Является ли Visual Basic бесплатным программным обеспечением?

Экспресс-выпуск программного обеспечения Visual Basic можно использовать совершенно бесплатно. Однако у него есть некоторые ограничения по сравнению с профессиональным пакетом, и это конкретное программное обеспечение не является бесплатным.

Как установить vs2010 на Windows 10?

Как скачать и установить Visual Studio

Как установить Microsoft Visual Basic для приложений?

Установка компонента VBA

Источник

Щелкните правой кнопкой мыши VB6.exe и выберите «Свойства». Перейдите на вкладку «Совместимость», установите флажок «Запустить эту программу в режиме совместимости для» и выберите «Windows Vista (Service Pack 2)». Нажмите ОК, затем попробуйте снова запустить программу.

Он был выпущен в 1998 году и теперь заменен Visual Basic. NET (VB.NET). Несмотря на то, что он устарел на несколько лет, программы, созданные и скомпилированные с помощью VB6, все еще могут работать с новейшими операционными системами Windows, поэтому вы все еще можете найти людей, пытающихся установить VB6 в Windows 10.

Как мне запустить Visual Basic?

Создать проект

  1. Откройте Visual Studio 2017.
  2. В верхней строке меню выберите «Файл»> «Создать»> «Проект».
  3. В диалоговом окне «Новый проект» на левой панели разверните Visual Basic и выберите. NET Core. На средней панели выберите Консольное приложение (.NET Core). Затем назовите проект WhatIsYourName.

10 февраля. 2021 г.

Как установить Microsoft Visual Basic?

Мы шаг за шагом проведем вас через это.

  1. Шаг 1. Убедитесь, что ваш компьютер готов к работе с Visual Studio. …
  2. Шаг 2 — Загрузите Visual Studio. …
  3. Шаг 3 — Установите установщик Visual Studio. …
  4. Шаг 4 — Выберите рабочие нагрузки. …
  5. Шаг 5 — Выберите отдельные компоненты (необязательно)…
  6. Шаг 6. Установите языковые пакеты (необязательно)

13 колода 2019 г.

Какая версия Visual Studio лучше всего подходит для Windows 10?

Проверьте свою операционную систему и примените последние обновления Windows: системные требования для Visual Studio 2019 можно посмотреть здесь, а для Visual Studio 2017 — здесь. Visual Studio требует Windows 7 с пакетом обновления 1 или новее и лучше всего работает в Windows 10.

Visual Basic мертв?

Visual Basic (VB.NET) будет по-прежнему поддерживаться Microsoft. (Он не мертв.) В язык больше не будут добавлены новые функции. (Это сделано.)

Используется ли Visual Basic 2020?

На этой неделе Microsoft заявила, что будет поддерживать Visual Basic. NET 5.0, но больше не будет добавлять новые функции или развивать язык.

Что пришло на смену Visual Basic?

NET (VB.NET) — это многопарадигмальный объектно-ориентированный язык программирования, реализованный на платформе. NET Framework. Microsoft запустила VB.NET в 2002 году в качестве преемника своего исходного языка Visual Basic.

Сложен ли Visual Basic?

Жизнь. Я обнаружил, что VB невероятно прост в изучении, особенно по сравнению с Java. … Мне очень нравится среда разработки Visual Basic, и я думаю, что она отлично подходит для начинающего программиста, она позволяет довольно легко добраться до нее и довольно быстро создать некоторые полезные программы (особенно по сравнению с чем-то вроде JBuilder для Java)…

Visual Basic и Visual Studio — это одно и то же?

Visual Basic — это компонент Visual Studio. Visual Studio обычно относится ко всему набору приложений для разработки (Visual Basic, Visual C #, Visual C ++ и т. Д.). Visual Studio — это интегрированная среда разработки (IDE), используемая для создания программ на Visual Basic или других именованных языках Visual.

Какой VB6 0?

0 Введение. Visual Basic (VB) — это язык программирования, управляемый событиями, и соответствующая среда разработки, созданная Microsoft. … В бизнес-программировании у него одна из самых больших пользовательских баз.

Как мне скачать VB6?

Компоненты доступа к данным Microsoft (MDAC) 2.5 или более поздней версии

  1. Перед началом загрузки создайте каталог для загрузки на вашем компьютере. …
  2. Нажмите «Загрузить», чтобы начать загрузку отдельного файла. …
  3. Запустите файл из каталога загрузки. …
  4. Запустите SetupSP6.exe из каталога загрузки.

25 мар. 2004 г.

Как мне установить Microsoft или код?

Установка#

  1. Загрузите установщик Visual Studio Code для Windows.
  2. После загрузки запустите установщик (VSCodeUserSetup- {версия} .exe). Это займет всего минуту.
  3. По умолчанию VS Code устанавливается в C: users {username} AppDataLocalProgramsMicrosoft VS Code.

Как установить визуальный код?

Как установить Visual Studio Code на macOS?

  1. Загрузите Visual Studio Code для macOS.
  2. После нажатия на опцию Mac на сайте загрузки будет загружен zip-файл, как показано ниже:
  3. Дважды щелкните загруженный zip-архив, чтобы развернуть его содержимое. …
  4. Перетащите «Код Visual Studio. …
  5. Дважды щелкните «Код Visual Studio», чтобы открыть.

4 апр. 2020 г.

Является ли Visual Basic бесплатным программным обеспечением?

Экспресс-выпуск программного обеспечения Visual Basic можно использовать совершенно бесплатно. Однако у него есть некоторые ограничения по сравнению с профессиональным пакетом, и это конкретное программное обеспечение не является бесплатным.

Поскольку Visual Basic 6.0 был разработан для Windows XP, в Windows10 есть много проблем, особенно с совместимостью программного обеспечения, которое вызывает различные ошибки во время установки, поэтому я написал подробное руководство по установке. , Пожалуйста, следуйте инструкциям, чтобы упорядоченно выполнить шаги установки.

шаги установки:

1. Щелкните правой кнопкой мыши пакет программного сжатия и выберите его разархивировать в новую папку.

2. Откройте папку visual basic 6.0.

3. Найдите файл SETUP.EXE в папке visual basic 6.0,Щелкните правой кнопкой мыши — Свойства.

4. В интерфейсе свойств выберите совместимость — отметьте «Запустить эту программу в режиме совместимости», выберите windows xp (пакет обновления 2), нажмите кнопку «Применить»,Продолжайте щелкать правой кнопкой мыши по настройке и выберите запуск установщика от имени администратора.

5. Щелкните Далее.

6.Примите соглашение и нажмите Далее.

7.Введите идентификационный номер продукта: 111-1111111, введите остальные и нажмите «Далее».

8.Нажмите «Далее.

9.Нажмите кнопку Обзор, чтобы изменить расположение файла. По умолчанию устанавливается C: Program Files (x86) Microsoft Visual Studio Common (рекомендуется устанавливать на диск, отличный от диска C. Вы можете создать новую папку Microsoft Visual Studio на диске D или других дисках. Создайте общую папку в этой папке) и нажмите Далее.Примечание. Имя папки — Common (C — заглавные буквы).

10.Нажмите для продолжения.

11.Щелкните ОК.

12.Щелкните ОК.

13.ВотВремя ожидания немного больше, примерно 40-45 секунд, не волнуйтесь.

14.Выберите типичную установку, установка по умолчанию — диск C (рекомендуется установить только что созданную папку VB 6.0 в папке Microsoft Visual Studio).Обратите внимание, что для начала установки вы нажимаете «Обычная установка». Сначала выберите место установки, а затем нажмите «Обычная установка». Во всплывающем окне выберите «Да».

15.Подождите, пока индикатор выполнения достигнет 100%, этот процесс занимает около 40 секунд.(Если появится панель информации об установке, нажмите «Игнорировать»). Затем он перейдет к следующему интерфейсуЗастрял, Фактически, программа была установлена, нажмите ctrl + alt + delete, чтобы выбрать Диспетчер задач, чтобы завершить установку. Затем найдите путь установки прямо сейчас и отправьте приложение VB6 на ярлык на рабочем столе. На этом установка завершена.

Те, кто использует набор инструментов Microsoft office и часто использует расширенные функции, вероятно, будут использовать VBA. VBA (Visual Basic для приложений) — это название языка программирования в Excel. VBA легко понять, как писать строки или команды для выполнения функций или другого содержимого.

По умолчанию при установке полного пакета Office VBA устанавливается в приложениях Excel и Word. Однако многие люди в процессе установки Office предпочтут установить такие приложения, как Word, Excel и т. Д., Поэтому VBA будет скрыт. Итак, как установить VBA в Excel?

  1. Как взломать пароль VBA в Excel
  2. Как отправить электронное письмо из электронной таблицы Excel с помощью скрипта VBA
  3. 5 кошмаров для Excel и как это исправить

Шаг 1:

Сначала перейдите в Панель управления и нажмите «Программы».

Изображение 1 из Как установить VBA в Excel

Шаг 2:

В списке установленного программного обеспечения на вашем компьютере перейдите к установленному пакету Microsoft Office. Щелкните правой кнопкой мыши и выберите «Изменить».

Изображение 2 из Как установить VBA в Excel

Шаг 3:

Переключитесь на новый интерфейс и выберите «Добавить» или «Удалить элементы», затем нажмите «Продолжить», чтобы продолжить.

Изображение 3 из Как установить VBA в Excel

Шаг 4:

В следующем интерфейсе пользователи увидят полный набор приложений Office. Найдите раздел «Общие функции Office», щелкните значок плюса, чтобы развернуть список.

Найдите инструмент Visual Basic для приложений ниже. Если VBA не установлен, отобразится красная косая черта X. Щелкните инструмент и выберите «Запускать с моего компьютера».

Изображение 4 из Как установить VBA в Excel

Когда красная метка исчезнет в инструменте VBA, нажмите кнопку «Далее», чтобы продолжить.

Изображение 5 из Как установить VBA в Excel

Шаг 5:

Скоро в Office будет установлен инструмент VBA. Подождем завершения процесса установки.

Изображение 6 из Как установить VBA в Excel

В конце этого интерфейса нажмите кнопку «Закрыть», чтобы закрыть.

Изображение 7 из Как установить VBA в Excel

Шаг 6:

Вы перезапускаете Excel и щелкаете вкладку «Разработчик» на панели ленты, чтобы увидеть инструмент Visual Basic, отображаемый в левой части того же интерфейса.

Изображение 8 из Как установить VBA в Excel

Выше показано, как установить и открыть VBA в Excel. VBA также будет установлен в Word, PowerPoint, Outlook,. в пакете Office, так что вы можете следовать описанному выше методу, если не можете найти VBA.

Узнать больше:

  1. Способы скрыть данные в Excel
  2. Инструкция по созданию интерактивных диаграмм в Excel с функцией ИНДЕКС
  3. Как установить флажок в Word

Желаю всем успехов!

Back to the past

Publicado en CodingMarkers el 28 de marzo del 2018

Installing Visual Basic 6.0 in Windows 10

I was recently requested to debug a pre-.NET application Visual Basic, so I had to set up the environment for Windows 98 development… but nowdays all that software is deprecated and has no support. This is what I learned from my experience to get it up and running, but in case you can make a choice, I’d recommend you to rewrite the code in .NET, as this kind of DLL code relies platform, and things have changed a lot in 20 years.

1.- Delete all the files from the previously failed VB6 installation attempts

Be careful to avoid deleting the recent Visual Studio versions, as they may have similar paths.

The Visual Studio 6.0 files are by default under ‘C:Program Files (x86)’ in 64 bits systems.

C:Program Files (x86)Microsoft Visual StudioCommon
C:Program Files (x86)Microsoft Visual StudioMSDN
C:Program Files (x86)Microsoft Visual StudioMSDN98
C:Program Files (x86)Microsoft Visual StudioVB98
C:Program Files (x86)Microsoft Visual StudioVC98
C:Program Files (x86)Microsoft Visual Studio*.HTM
C:Program Files (x86)Microsoft Visual Studio*.TXT
C:Program Files (x86)Common FilesMicrosoft SharedMSDesigners98
C:Program Files (x86)Common FilesMicrosoft SharedMSDN
C:Program Files (x86)Common FilesMicrosoft SharedVS98
C:Program Files (x86)Common FilesMicrosoft SharedWizards98

Clean up the Windows registry entrys: run ‘regedit.exe’ and delete the following keys if they exist.

HKEY_LOCAL_MACHINESoftwareMicrosoftDevStudio
HKEY_LOCAL_MACHINESoftwareMicrosoftHTML Help Collections
HKEY_LOCAL_MACHINESoftwareMicrosoftMSVSDG
HKEY_LOCAL_MACHINESoftwareMicrosoftVisual Basic6.0
HKEY_LOCAL_MACHINESoftwareMicrosoftVisual Component Manager
HKEY_LOCAL_MACHINESoftwareMicrosoftVisual Modeler
HKEY_LOCAL_MACHINESoftwareMicrosoftVisualStudio6.0
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftDevStudio
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftHTML Help Collections
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftMSVSDG
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftVisual Basic6.0
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftVisual Component Manager
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftVisual Modeler
HKEY_LOCAL_MACHINESoftwareWow6432NodeMicrosoftVisualStudio6.0
HKEY_CURRENT_USERSoftwareMicrosoftDevStudio
HKEY_CURRENT_USERSoftwareMicrosoftMSVSDG
HKEY_CURRENT_USERSoftwareMicrosoftVisual Basic6.0
HKEY_CURRENT_USERSoftwareMicrosoftVisual Modeler
HKEY_CURRENT_USERSoftwareMicrosoftVisualFoxPro
HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio6.0

2.- Modify the installation files to adapt them to current tech

First of all you will need a copy of the Visual Studio installer in your hard drive. I copied the content of an old college licensed CD into a folder, and proceeded to edit.

  • Open ‘SETUPWIZ.INI’ with a text editor (e.g. Notepad++), and replace ‘VmPath=ie4msjavx86.exe’, which tries to install a really old Java implementation and makes the installation process fail, with an empty va. So the first part of the file should look like this:
[setup wizard]
eula = eula.txt
NTSP = NTsp3nt4sp3_i.exe
NTSpMinVer = 3
IE4 = ie4ie4setup.exe
CommonFilesMin = 50
IEIni=ie4check.ini
WFCClean = setupwfcclean.exe
readme = readmevs.htm
pid = setup.ini
MSDN = setup.exe
Acme = acmboot.exe
AcmeId = vs98ecd1.inf
STF = setupvs98ent.stf
DCOM98 = dcom98dcom98.exe
MSDNID = msdn3?1.inf
NtSpUrl = ftp://ftp.microsoft.com/bussys/winnt/winnt-public/fixes/
IeUrl = http://www.microsoft.com/ie/ie40/download/
UsrUrl = http://msdn.microsoft.com/vstudio/register/default.htm
RegUrl = http://www.microsoft.com/isapi/redir.dll?Prd=vstudio&Pver=98&Ar=register
VmPath=
  • You must also edit the ‘SETUP.EXE’ properties. Go to the context menu of the file (right click as default), select properties, and got to the ‘compatibility’ tab. Check that you have selected:
    • Compatibility mode: execute as ‘Windows XP (Service Pack 3)’.
    • Configuration: ‘execute this program as administrator’.

3.- Execute the wizard installer

  1. Open the context menu of ‘SETUP.EXE’ and choose ‘run as administrator’.
  2. Don’t install ‘Source Safe’, as it fails.
  3. When we get to ‘choose the installation mode’ select ‘Custom’. Then follow these steps:
  • Do not install (as they fail):
    • Microsoft Visual FoxPro 6.0
    • Microsoft Visual InterDev 6.0
    • Microsoft Visual SourceDafe 6.0
    • ActiveX (obsolete version, generates conflict with the current version)
  • Install the unicode libraries: from the custom main menu, select the text ‘Microsoft Visual C++ 6.0’, and the button ‘Change option’ on the right side will be set as active. Click on it and follow a similar process for ‘VC++ MFC and Template Libraries’ and ‘MS Foundation Class Libraries’. Finally select all these options:
    • Static libraries
    • Shared libraries
    • Static libraries for Unicode
    • Shared libraries for Unicode
    • Browser database
    • Source code
  • Install the database: from the main ‘Custom’ menu, click on the ‘Data Access’ text , and the button ‘Change option’ on the right side will be set as active. Click on it and make sure that ‘ADO, RDS and OLE DB Providers’ is not selected. You will get a warning message saying that this component is esential for the application, but you should ignore it, as it will crash on Windows 10. Do select only the following options:
    • Microsoft ODBC Drivers
    • Remote Data Objects and Controls
    • Data environment
  • Install the tools: from the main ‘Custom’ menu, click on the ‘Enterprise Tools’ text, and the button ‘Change option’ on the right side will be set as active. Check that ‘Visual Studio Analyzer’ is not selected. Therefore, select only:
    • Aplication Performance Explorer
    • Repository
    • Visual Component Manager
    • Visual Basic Enterprise Components
    • VC++ Enterprise Tools
    • Microsoft Visual Modeler
  • As the last step, before pressing on ‘Finish’, do not let the program configure the environment vars.
    • If you have waited more than 5 minutes and the program is still ‘configuring the system’, you can assume something has gone wrong and the install has been frozen somewhere. Cancel it, clean up (see the first section on top of this post) and start all over again, reading carefully the steps.
    • If there is an error message about the Java machine you can ignore it. At that point you should be able by then to run ‘Visual Basic’ without the MSDN help package, so you get the bare bones yet fully functional experience.

4.- Execute the application

Run it always in administrator mode (right click on Visual Basic 6.0, and select ‘run as administrator’). Then, here it is, ready to run and debug ancient DLLs.

Visual Studio 6 on windows 10

After so many trial and errors, here it is: Visual Basic 6.0

❗️ If you want it the program to run using a Microsoft Office 2010 instance, you will need to load some dependencies. Go to ‘Project/References’ and select:

  • Visual Basic for Applications
  • Visual Basic runtime objects and procedures
  • Visual Basic objects and procedures
  • OLE Automation
  • Microsoft Excel 15.0 Object Library
  • Microsoft Word 15.0 Object Library

5.- References

My sources should get the credit they deserve for their help:

  • Installing Visual Basic/Studio 6 on Windows 10 | danbrust.net: the blog
  • Install Visual Studio 6.0 on Windows 10 — CodeProject

Понравилась статья? Поделить с друзьями:
  • Как установить thunderbird на windows 7
  • Как установить the sims 4 на windows 8
  • Как установить stronghold 2 на windows 10
  • Как установить the battle for middle earth на windows 10
  • Как установить vb6 на windows 10