Link to home
Start Free TrialLog in
Avatar of slwebber99
slwebber99

asked on

run time error 2147417848 VB6 ShowPrinter

I have been running this line of code in my program for over 10 years running XP/Vista/7/8.

CommonDialog1.FLAGS = CommonDialog1.FLAGS - &H900000
CommonDialog1.ShowPrinter

Now I'm getting this error message
"run time error 2147417848 (80010108':
Method 'ShowPrinter' of object 'ICommonDialog' failed"

I had gotten this message in the past but when I would restart the program is would than work. Now it doesn't work at all.

I did a Google search only ten results and no answer.

I hope an expert can solve this for me soon.

Thanks
primtererror.JPG
ASKER CERTIFIED SOLUTION
Avatar of eemit
eemit
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of slwebber99
slwebber99

ASKER

Thank you very much. It now works.