|
-
Feb 17th, 2006, 06:08 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Displaying picture in Image / picture control
Dear All,
I have placed an image control on my form. A bitmap picture(picture name is shapes) is placed at my C drive. There is also a command button on the form.
I want that when I click the button, the picture should be displayed in the image control.
When I use the following code in the click event of command button it gives me type mismatch error.
Me.Image1.Picture = "C:\shapes"
If I try to do so using Picture control, same error comes.
Plz help and guide.
Regards,
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
|