Hello guru's.

Not strictly VB programming question but maybe someone can help.

Today I install my VB6 on win7/64 OS and how I see for now things goes OK.
But I cannot print to PDF Creator printer as I can on XP.

I use printer like this:

Code:
lReturn = ShellExecute(0, "Print", myHTMLFile, vbNullString, vbNullString, SW_NORMAL)
... and lReturn returns error number 31.

Operation failed. Error number 31
"There is no application associated with the given filename extension"

I can print to PDF creator correctly from any other application and I can open any pdf file from computer with doubleclick what mean that association table is OK.


Anybody facing with this already?
Please help.