|
-
Sep 15th, 2000, 10:17 AM
#1
When a user clicks on a CommandButton, I want an image to change, but I keep getting type mismatch errors. Here is my code:
Private Sub cmdTest_Click()
Image1.Picture =("C:\My Documents\TestIco.bmp")
End Sub
The path is correct, but I feel that I am missing something.
Mike
-
Sep 15th, 2000, 10:24 AM
#2
the correct Code
Private Sub cmdTest_Click()
Image1.Picture =LoadPicture("C:\My Documents\TestIco.bmp")
End Sub
-
Sep 15th, 2000, 10:47 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|