Article ID: 162050
Article Last Modified on 11/23/2006
Property Value
-----------------
Name Image1
AutoSize True
Height 100
Width 100
Property Value
------------------------
Name OptionButton1
Caption HI
Property Value
------------------------
Name OptionButton2
Caption BYE
Property Value
------------------------
Name OptionButton3
Caption Clear
Private Sub UserForm_Initialize()
'Select the "HI" option button.
OptionButton1.Value = True
'Load the Hi.bmp picture file into the Image control.
Image1.Picture = LoadPicture("C:\Windows\Desktop\hi.bmp")
End Sub
Private Sub OptionButton1_Click()
'Load the Hi.bmp picture file into the Image control.
Image1.Picture = LoadPicture("C:\Windows\Desktop\hi.bmp")
End Sub
Private Sub OptionButton2_Click()
'Load the Bye.bmp picture file into the Image control.
Image1.Picture = LoadPicture("C:\Windows\Desktop\bye.bmp")
End Sub
Private Sub OptionButton3_Click()
'Clear the picture file in the Image control.
Image1.Picture = LoadPicture("")
End Sub
120802 Office: How to Add/Remove a Single Office Program or Component
Additional query words: 97 XL97
Keywords: kbdtacode kbprogramming KB162050