Printing from VB6 under Win7
Posted on 2014-11-29
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.