QBasic 4.5 modules in VB.Net?

M

Moiv

I have a lot of useful functions written in QBasic 4.5
QB4.5 creates .OBJ .EXE and .QLB files

Is it possible to use anything from QB4.5 in VB.Net?
Perhaps convert an .OBJ or .QLB file into a .DLL file?
 
N

Nobody

Moiv said:
I have a lot of useful functions written in QBasic 4.5
QB4.5 creates .OBJ .EXE and .QLB files

Is it possible to use anything from QB4.5 in VB.Net?
Perhaps convert an .OBJ or .QLB file into a .DLL file?

You will have to convert them manually. If they are too big, you can use
FreeBasic; which is close to QB, but it has more language features that are
similar to VB.Net. You can use it to make a standard DLL that you can access
from VB.Net. There are DLL samples included in the compiler. Compiled code
doesn't require any runtime, but the IDE is not as sophisticated as VB,
especially for Windows GUI applications.

Main page:
http://www.freebasic.net

Features:
http://www.freebasic.net/index.php/about?section=features

Differences from QuickBASIC
http://www.freebasic.net/index.php/about?section=diff

FreeBasic compiler:
http://www.freebasic.net/index.php/download

IDE:
http://sourceforge.net/projects/fbedit/
 
M

Moiv

Nobody said:
You will have to convert them manually. If they are too big, you can use
FreeBasic; which is close to QB, but it has more language features that
are similar to VB.Net. You can use it to make a standard DLL that you can
access from VB.Net. There are DLL samples included in the compiler.
Compiled code doesn't require any runtime, but the IDE is not as
sophisticated as VB, especially for Windows GUI applications.

Main page:
http://www.freebasic.net

Features:
http://www.freebasic.net/index.php/about?section=features

Differences from QuickBASIC
http://www.freebasic.net/index.php/about?section=diff

FreeBasic compiler:
http://www.freebasic.net/index.php/download

IDE:
http://sourceforge.net/projects/fbedit/

Thankyou for your comprehensive reply. I have downloaded FreeBasic and it
looks like I can use my existing functions with minimal changes. This is the
exact result I was after.

Thanks again :)
 
N

nak

Thankyou for your comprehensive reply. I have downloaded FreeBasic and it
looks like I can use my existing functions with minimal changes. This is
the exact result I was after.

You might want to consider porting them to a newer language, such as VB.NET,
I'm sure there would be plenty of capacity for optimisation that you can
make in order to improve your functions. You will probably also find that
the .NET Framework does some of it for you already.

Nick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top