slow printing..again

it wasnt the laptops speed as a i thought.

if I am VPN'd to a clients site and try to do a print preview in my program it takes 1.5 seconds per.

No vpn and it's nice and quick... any suggestions as to how to track down the problem?

Thanks,


Dan

[281 byte] By [DRoden] at [2007-12-23]
# 1

Sounds to me like a networking / VPN issue rather than anything to do with VB.Net as such.

I'm assuming that you've run you application in debug mode to see the actual lines with method calls which seem to have the big performance difference. Finding the specific method call may help identify a scenario with the control with results in the slowdown.

spotty at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 2

i did not add any network related code while i am print previewing. any other ideas or suggesitons?

Thanks,

Dan

DRoden at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 3

Um, it's the VPN connection. You shoving a ton of bytes down a narrow channel. It'll take time to get them all, say, 1.5 seconds or so. Consider the resolution, bits per pixel, presumably a full screen rendering of the print preview, even with a 20:1 compression, that's not a bad time over a 512kbit connection.

SJWhiteley at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 4

nothing should be going over the network - everything is running locally. but for some reason (which i cant figure out) when i print preview there is a ton of network traffic. is there something inherent in printing to the screen that requires network communicatioN?

DRoden at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic Language...