Legacy Basic program needs updating--Looking for the editor for Windows 7

birkoff

New Member
Joined
Sep 9, 2009
Messages
13
This is not for an Excel program, but its a small Basic file which runs within a third party program.

In XP I wrote a simple Basic (not VB) program to enter information. Runs fine, except I need to modify it. I use to be able to modify it with Notepad and save it as a .bas file and it would run within my third part program. It still runs, but no matter which method I try to modify it, it doesn't run.

So I'm thinking I need something that is a legacy editor so I can makesome changes and save it as a .bas file. I've try some CNET editors and they don't seem to accomplish the saving as a .bas file that will execute.

I'm currently running Windows 7, but need a method of saving it in the proper .bas format.
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I hate to dismiss you entirely but this is a Visual Basic for Applications (VBA) forum. Most here are willing to help those people that have problems with VBA. They help people with VBA (AND THEY DO), BASIC is a different language altogether. What I would suggest, is converting Basic to C or better yet VBA or some other common language.

see BaCon - A free BAsic CONverter for Unix, BSD and MacOSX

In other words what you have is Sanskrit, first convert it to Latin or better yet to English...

MOREOVER, since you are looking for general help. Post the code in its entirety. EVEN BETTER, explain with detail what the INPUTS and the OUTPUTS that you want from the program. Feel free to explain, in detail what it is that you want this THING to do. I'm sure someone will help you... That is the benefit of this great forum.
 
Upvote 0
To the best of my knowledge a .bas file is just a text file, so notepad or notepad++ should do what you need.
 
Upvote 0
i guess if it was in some flavour of BASIC you will need a compiler and or a linker to make it into an executable to run have you installed this on windows 7
 
Upvote 0
This is what the code looks like.....

"value$=INPUTBOX$( "Neighborhood Code? ","NH","")
IF Report$="ua5fm" then
IF (value$="as") then
6|2="Astoria"
6|4="97103"
10|1="Astoria"
........
else if
end if
end if"

the "6|2" is a address reference within another program.

I appreciate the responses and I've figured out one of the problems is the migration into the 64 bit machines.

I guess what I need is something which will recognize this version of Basic and convert it into something, so I can make some changes, and compile it.
 
Upvote 0

Forum statistics

Threads
1,225,656
Messages
6,186,245
Members
453,343
Latest member
hacigultekin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top