jeffbeasley2
asked on
Basic to VB
I have an old .bas file that only writes to a printer and I want it to allow me to save it into a word format, in order to email the file as an attachment.
Write know I have to fax the form, with the data.
This application written in Basic does multiple engineering calculations to data. Then prints the info out.
Any suggestions or pointers will be well rewarded.
Thanks,
Jeff
I might note that I am more familar with Java and C++,
than I am with Basic and Visual Basic
Write know I have to fax the form, with the data.
This application written in Basic does multiple engineering calculations to data. Then prints the info out.
Any suggestions or pointers will be well rewarded.
Thanks,
Jeff
I might note that I am more familar with Java and C++,
than I am with Basic and Visual Basic
I would be willing to take a crack at it. I have just finished a program that takes a 45 Meg file and breaks it down by cost center then emails the reports to the appropriate persons.
hi jeffbeasley,
I think we can help you.
It would be helpful to see the Basic program, but if it is too big then show us the code used to write to the printer.
Have you converted the program to VB or do you need an answer in regular basic...if so what basic do you use?
leo
I think we can help you.
It would be helpful to see the Basic program, but if it is too big then show us the code used to write to the printer.
Have you converted the program to VB or do you need an answer in regular basic...if so what basic do you use?
leo
ASKER
I haven't converted it yet, I was trying to figure out where to start on it.
It is located at
http://www.jeffbeasley.com/downloads/ace.zip
Ratemain.bas is the main application
PRSUBS.bas is the printing application
Comma.inc declares the variables
models.dat and p.dat build the data
I have no problem awarding additional points to multiple participants that assist me with this.
I need to convert this application to an application that can save outputed data in a document format.
Currently this outputs directly to a printer.
Thanks,
Jeff
It is located at
http://www.jeffbeasley.com/downloads/ace.zip
Ratemain.bas is the main application
PRSUBS.bas is the printing application
Comma.inc declares the variables
models.dat and p.dat build the data
I have no problem awarding additional points to multiple participants that assist me with this.
I need to convert this application to an application that can save outputed data in a document format.
Currently this outputs directly to a printer.
Thanks,
Jeff
Do you want a quick fix?
You could create a text only printer that prints to a file.
Then e-mail the file.
You could create a text only printer that prints to a file.
Then e-mail the file.
ASKER
A quick fix would be sufficient if I export into a text file. I could then create an application that pulled that data and exported a word document; however, I do not even know how to export the data into a text document using basic.
Jeff
Jeff
What is the operating system that is running on this machine?
ASKER
Runs on Windows 98 and 2000
There is a way to setup a virtual printer in win2000 to print to a file instead of a real printer.
ASKER
does it involve using adobe acrobat as opposed to a printer...
how would i set this up and would it print the information in the same format.
Thanks again
Jeff
how would i set this up and would it print the information in the same format.
Thanks again
Jeff
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi jeffbeasley,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept brookman's comment(s) as an answer.
jeffbeasley, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept brookman's comment(s) as an answer.
jeffbeasley, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
Moving to the Paq
kb
Experts Exchange Moderator
kb
Experts Exchange Moderator