S
sam
HI..
We have a VB 6 application (SP5)... running successfully on XP workstation.
When I run the same application on Win 2000 server. I get a Automation Error
message -2147417848 ( The object invoked has disconnected from its clients)
I was able to trace the exact location of this error message. It happens at
the following code
*******
' Picture3 is a Image control
FillPictureFromDisk LogoFileName, Picture3, 0.4, 0.1, vbBlack
Private Sub FillPictureFromDisk(FileName$, ToPic As Control, ByVal vertloc#,
ByVal HorLoc#, Colorname As String)
' Passing Image control in the ToPic Control
' Pictemp is a imageknife control
ToPic.Picture = Pictemp.Picture
' I get error message after this assignment
End Sub
******
I tried compiling to P-code and Native-code.But I still get the same error.
I would appreciate if somebody can assist me getting this resolved.
Sameer
We have a VB 6 application (SP5)... running successfully on XP workstation.
When I run the same application on Win 2000 server. I get a Automation Error
message -2147417848 ( The object invoked has disconnected from its clients)
I was able to trace the exact location of this error message. It happens at
the following code
*******
' Picture3 is a Image control
FillPictureFromDisk LogoFileName, Picture3, 0.4, 0.1, vbBlack
Private Sub FillPictureFromDisk(FileName$, ToPic As Control, ByVal vertloc#,
ByVal HorLoc#, Colorname As String)
' Passing Image control in the ToPic Control
' Pictemp is a imageknife control
ToPic.Picture = Pictemp.Picture
' I get error message after this assignment
End Sub
******
I tried compiling to P-code and Native-code.But I still get the same error.
I would appreciate if somebody can assist me getting this resolved.
Sameer