convert turbo pascal to visual basic

I have some old turbo pascal programs I would like to convert to visual basic. I have heard you can use delphi. I downloaded delphi 9 trial. Now Now what, I dont know anything about doing this. I am a vb programmer. Can I use delphi to open a tp program?  How do I get to VB?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Are you saying that you have programs or program source/project code?
Delphi cannot automatically convert to Basic, but Delphi is Pascal-based, so you may be able to run the code blocks there. In fact I don't believe that there is an available converter.

Remember that Turbo Pascal is for the DOS environment, and VB is for Windows, so any I/O will also require redesigning.
HenryV1955Author Commented:
Hi guys,
I have pasal source code.
I thought that Delphi was able to take tp souce code and at least create the windows version. From there, perhaps I could get to vb
If you are not a Delphi programmer you may find it difficult to handle the UI issue that GrahamSkan alluded to.

Delphi does not convert console applications to windows applications.

Delphi should be able to compile the Pascal code that you have (as a console application) however, only the logic will be useful as almost all user interface issues and probably most data storage issues will need to be re-written.

I think the shortest route from TP to VB is to simply read the logic portions of your source files and interpret them by hand to VB. The good news is that Pascal reads like a book. In other words it could be worse you could be trying to convert C code. :P

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HenryV1955Author Commented:
Thanks Steve
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.