Home All Groups Group Topic Archive Search About

Upgrade from 6.0 (Printer)

Author
4 Apr 2005 5:40 PM
Ike
Trying to ugrade a VB 6.0 application to .NET, but upon compilation, I keep
getting:

Printer.ScaleMode = vbInches

I am getting "Printer is not declared", "vbInches" is not declared.

Can someone please explain how to work around this? Thank you, Ike

Author
4 Apr 2005 5:51 PM
Ken Tucker [MVP]
Hi,

            Printing is completely different in vs.net than vb6.  Here is a
link a msdn document on the changes.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconprintingchangesinvisualbasic70.asp

Ken
--------------
"Ike" <r**@hotmail.com> wrote in message
news:a_e4e.139$yq6.4@newsread3.news.pas.earthlink.net...
Trying to ugrade a VB 6.0 application to .NET, but upon compilation, I keep
getting:

Printer.ScaleMode = vbInches

I am getting "Printer is not declared", "vbInches" is not declared.

Can someone please explain how to work around this? Thank you, Ike