PrintForm1.Print() works on one computer, not on another

C

C

I copied the *.exe to another computer running XP and it did not work.
Without PrintForm1.Print, the *.exe worked on that other computer. On
the other computer, I do not have VB Exp 2008. What causes this?

Is there a simple way to copy a window to a bitmap file, which would
show the controls as well as the plots I have drawn? In VB6, this was
done with BitBlt from user32.dll and gdi32.dll. Is there a better way
now?
 
J

J.B. Moreno

I copied the *.exe to another computer running XP and it did not work.
Without PrintForm1.Print, the *.exe worked on that other computer. On
the other computer, I do not have VB Exp 2008. What causes this?

Is there a simple way to copy a window to a bitmap file, which would
show the controls as well as the plots I have drawn? In VB6, this was
done with BitBlt from user32.dll and gdi32.dll. Is there a better way
now?

Most likely your .exe uses the VB.NET Power Pack -- see:

<http://msdn.microsoft.com/en-us/vbasic/bb735936.aspx>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top