Article ID: 141091
Article Last Modified on 12/9/2003
Private Sub SSCommand1_Click()
'Set the SSCommand button's Picture property to the PictureBox
'control's default property as below:
SSCommand1.Picture = Form2.Picture1
'The workaround is to explicitly specify the PictureBox control's
'Picture property. Use the following code instead:
'SSCommand1.Picture = Form2.Picture1.Picture
End Sub
Windows 2000
32-bit: No Errors, appreas to work okay.
16-bit: VB caused a General Protection Fault in module VB.Exe at
0023:39FF.
Windows NT 3.51:
32-bit: An application error has occurred and an application error
log is being generated. VB32.Exe Exception: access violation
(oxc0000005), Address: 0x0046e951.
16-bit: VB caused a General Protection Fault in module VB.Exe at
0023:39FF.
Windows 95:
32-bit: VB32 caused an invalid page fault in module VB32.Exe at
0137:0046e951.
16-bit: VB caused a general protection fault in module VB.Exe at
0023:000039ff.
Windows 98:
32-bit: VB32.EXE caused an invalid page fault in module VB32.Exe at
015f:0046e951.
Or:
VB32.EXE caused an invalid page fault in module KERNEL32.DLL
at 015f:bff7b9e3.
16-bit: Same as Windows 95.
Windows (and Windows for Workgroups) 3.11:
VB caused a General Protection Fault in module VB.Exe at 0023:39FF.
Keywords: kbbug kbctrl kbpending KB141091