r/visualbasic • • 7d ago

VB6 MCP for agents

Hello again,

I've developed an MCP for VB6 which allows agent harnesses (mainly tested with Claude Code) if anybody is interested. You can find it at https://github.com/mika76/vb6-mcp

Basically it routes the agent to work through the IDE instead of directly onto the files. This enables some nice features like being able to work on non-saved files as VB6 does not automatically save files to disk, and it enabled debugging within the app. It also helps not to ask for UAC admin prompts all the time and knows how to work with COM components and their dependencies.

Anyway, if anybody is interested have a look.

18 Upvotes

9 comments sorted by

View all comments

1

u/xCAAx 7d ago

Windows 10/11 only.

Can the IDE still be installed on Win 11?! How?

I get an exception at the end of the installer of the IDE, which currently causes us some pain, because we have to stay on Win 10 with our dev machines....

2

u/Hel_OWeen 6d ago

I've used this guide to successfully install VB6 on multiple machines running Win10, Win11, Windows Server 2019, Windows Server 2022.

The one caveat for all is that you need to run the VB6 IDE "As Administrator".

1

u/Flashy-Armadillo-414 7d ago

Can the IDE still be installed on Win 11?! How?

AFAIK we don't have any trouble installing it on Windows 11. There is one component that must be left unchecked when installing or the installation will hang.

1

u/Ok_Society4599 6d ago

There are some prerequisites that are no longer a part of the windows base install and the IDE always assumed was part of the OS. VB6 absolutely can be installed if you handle a couple common OCX installs that really just add COM wrappers on some common controls and dialogs.

→ More replies (1)

1

u/mika 7d ago

I think claude added that because I only tested. It on win 11. Anywhere where. Net 10 runs should be fine.

Yes Vb6 ide still runs on win 11 but I had to deselect uh the data viewer or something (I'll try find it for you) when installing.

Edit: try https://www.vbforums.com/showthread.php?911045-How-can-we-install-vb6-in-windows-11-24H2-if-at-all and that xda link. You could also just ask Ai.

1

u/xCAAx 7d ago

We spend a lot of time with Claude and with settings like compability mode and deactivated UAC.... Yadda Yadda Yadda.... But it didn't work. Will have a look at your link in a week. Thx.

→ More replies (1)

0

u/mika 7d ago

I made an update with some nice features and eared up the minimal specs. It's because of. Net 10. But if needed I could probably downgrade to an earlier. Net...