The biggest problem is to reproduce the bug!
The Bug occurs now on 7 customer Computer´s. Most on Windows Server OS or in Terminal-Sessions and one customer has Windows XP. I use the gdviewer - control several times in my code. All codepoints has the same problem, so i don´t think that it´s a bug of my app. Again...i havn´t changed any code line, so i think that this can´t be a classic bug!
I have checked now all parameters, given by the gdviewer-control...
- Code: Select all
If UseDebuggingMode = True Then DebugPrint "UserControlResize-Werte"
If UseDebuggingMode = True Then DebugPrint "Viewer.ImageHeight:" & Viewer.ImageHeight
If UseDebuggingMode = True Then DebugPrint "Viewer.ImageWidth:" & Viewer.ImageWidth
If UseDebuggingMode = True Then DebugPrint "Imaging1.GetHeight:" & Imaging1.GetHeight
If UseDebuggingMode = True Then DebugPrint "Imaging1.GetWidth:" & Imaging1.GetWidth
If UseDebuggingMode = True Then DebugPrint "UserControl.Height:" & UserControl.Height
If UseDebuggingMode = True Then DebugPrint "UserControl.Width:" & UserControl.Width
If UseDebuggingMode = True Then DebugPrint "Viewer.Height:" & Viewer.Height
If UseDebuggingMode = True Then DebugPrint "Viewer.Width:" & Viewer.Width
All parameters are ok... the image is absolutly right loaded but the control display´s only about 20% - 50% of the image!! It seem´s like a rendering problem or the graphic-card has not enough memory to display....
Again: The Control load´s the image 100% (say´s the code), only if the viewer should display the image, the control show not the full image.
understand?
PS: if you have teamviewer, netviewer or any other remote-tool, we can make da "date"

where i show you the problem.