Norma Posy
asked on
Printing from VB6 under Win7
I have a legacy VB6 program I created years ago. It creates two outputs. One is a plain .txt file. The other is a complicated graphic. Both are one sheet.
Under XP, I used the VB "Common Dialog" OCX to select printing font. I would rather not hassle with registering that OCX in Win 7.
What is the most straightforward way to write to a file from VB6 without invoking an OCX? Writing to a pdf file would do fine. I could set the font in code myself.
I will have to resurrect my old XP machine to make these coding changes. <sigh> Â Haven't bothered to install VB6 on my Win7 machine. I suppose I could.
Under XP, I used the VB "Common Dialog" OCX to select printing font. I would rather not hassle with registering that OCX in Win 7.
What is the most straightforward way to write to a file from VB6 without invoking an OCX? Writing to a pdf file would do fine. I could set the font in code myself.
I will have to resurrect my old XP machine to make these coding changes. <sigh> Â Haven't bothered to install VB6 on my Win7 machine. I suppose I could.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome and I'm glad I was able to help.
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
ASKER