Problems with Paintpicture & Printer object in VB416 
Author Message
 Problems with Paintpicture & Printer object in VB416

Private Sub StampaDisegno(ByVal strPath As String, lngXpos As Long,
lngYpos As Long)
Dim X As Picture

Set X = LoadPicture(strPath)
Printer.PaintPicture X, lngXpos, lngYpos
Set X = Nothing
End Sub

The first call of the subroutine works but the second time the system
crash, in VB432 everything is ok.
Is there anywone who can help me or share my problem?

Ex:
Stampa Disegno  "c:\disegno1.bmp",0,0     '-----> ok
Stampa Disegno  "c:\disegno2.bmp",0,2000 '-----> System Crash

Thank you

Glauco Marini



Mon, 28 Feb 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Printer.Paintpicture and Picturebox.paintpicture

2. Printer.PaintPicture & EM_FORMATRANGE

3. Printer.Paintpicture problem

4. Printer.PaintPicture Problem

5. Problem with secure database vb416-Access2.0

6. HELP! Problem with SSTab in VB416

7. PaintPicture - quality of compression for printer and Imagebox

8. Help for Printer.PaintPicture

9. Printer.PaintPicture : Need Help !!!!!!

10. Printer.PaintPicture No Picture on Print out

11. printer.paintpicture

12. Printer.PaintPicture

 

 
Powered by phpBB® Forum Software