Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
declare AddForm Lib "winspool.drv" Alias "AddFormA" _ (ByVal hPrinter As Long, ByVal level As Long, pForm As Byte) As Long Who can give sample code
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B282474
That is in vb6.0.But now i use in vb.net.It can't work. The reason is API Function CpoyMemory and AddForm can't use in VB.net.