Hello everyone. I have this problem recently when I change my OS from winxp to suse linux 10.2. I want to run my visual basic 6 in suse but I have no idea how to do it. Is suse is capable of running vb6? If not, is there any options that i can run this stuff under linux environment?

Thank you very much.


r3su3l0

Dani AI

Generated

Short summary and practical next steps for s question: there are three realistic ways to run or keep working with VB6 on SUSE Linux — run a Windows guest (VM), run VB6 binaries or some IDE bits under Wine (with lots of caveats), or move the code to a Linux-native tool (or to .NET). For full development and correct debugging of COM/ActiveX components the safest option is a Windows VM; the VB6 IDE and many VB6 runtime bits are tied to Windows behaviors. (learn.microsoft.com)

If you want to try the native-Linux route first, Wine + Winetricks will often run compiled VB6 programs and can install the VB6 runtime (vb6run), but the IDE and many ActiveX/OCX controls can fail or behave incorrectly. Use a 32-bit wineprefix, install winetricks, then add the VB6 runtime before running installers. Example (SUSE-ish):

sudo zypper install --no-recommends wine winetricks
WINEARCH=win32 WINEPREFIX=~/.wine-vb6 wineboot
WINEARCH=win32 WINEPREFIX=~/.wine-vb6 winetricks vb6run
WINEPREFIX=~/.wine-vb6 wine path/to/your-vb6-installer.exe

The winetricks script automates the vbrun install; Wine still has open bugs for many VB6 controls, so expect to troubleshoot missing OCX/COM registrations. (github.com)

For new work, was right to mention Gambas — it is a Visual-Basic-like IDE/language that is native to Linux and usually a better long-term choice than trying to shoehorn VB6 onto Linux. If considering .NET, remember Mono and related toolchains target VB.NET (the .NET-language successor to classic VB) and are not drop-in replacements for VB6; migration requires code changes. (gambaswiki.org)

Practical recommendation: if the project must remain VB6 (legacy app, ActiveX dependencies, Windows-only APIs) keep a Windows VM for development and testing and use Wine only for quick runtime checks; if starting fresh, port UI/logic to Gambas or a modern .NET stack. For Wine installs, collect the exact OCX names from error messages and install/register them (or test inside a fresh, isolated prefix). (learn.microsoft.com)

Recommended Answers

All 8 Replies

There is no such option for you .

that u ever heard a GAMBAS Programming?
if i didn't wrong, this program like VB and its running under linux. maybe u can use this program, but actually i never tried this program.

OK.

You could use a program called VirtualBox but you would still have to have a windows OS running in the VirtualBox. VirtualBox is a program that will allow you to run multiple OS at the same time.

download link.


http://www.virtualbox.org/wiki/Downloads

yup, this is a solution too. good post guy40az.

You could use a program called VirtualBox but you would still have to have a windows OS running in the VirtualBox. VirtualBox is a program that will allow you to run multiple OS at the same time.

download link.


http://www.virtualbox.org/wiki/Downloads

Thanks a lot, I will try it. Have a nice day.

I have this problem recently when I change my OS from winxp to suse linux 10.2. I want to run my visual basic 6

Visual Basic was made to code programs for Windows. If you're developing programs for Windows, use Windows. You're going to have to debug them in a Windows Environment, why would you want to develop them in a Linux Environment?

If you want to develop programs for Linux, learn C, learn C++, learn Java, learn Perl, learn TCL.

Good grief!

No, but it can! Ok my friend give me two days to contact my friend. VB6 can run in linux. My friend knows that because he use vb6 running in linux!

LINDOWS was the first.

But now there's MONO

http://www.mono-project.com/VisualBasic.NET_support

Suse is IBM Linux and VB is Microsoft is bad, bad, bad so hell will have to freeze first...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.