My app is VB6 with Crystal Reports 6 Professional. I have a user running this app on a Windows 7 machine. At some point, VB stops seeing the default printer, so if she does a preview onscreen of the report, the printer icon is grayed out. If she exits the app and comes back in, it is fine. At least for a while.
This problem only occurs on this one pc. Many other PC's running the app are fine.
I'm trying to come up with some code to detect this condition and call crystal.printerselect so she can select a printer and not get the grayed out icon.
I've tried all manner of setting the printer, changing the default printer, etc., but I want to set the VB6 printer name to null or nothing so I can see if my fix is going to work.
Any suggestions or ideas to solve this would be much appreciated.