Sunday, November 21, 2010

How to add our own designed Windows Controls to the VB .net solution. This is not a web application.?

I have designed a button(*.giff). I want to add it my solution.Please Help.How to add our own designed Windows Controls to the VB .net solution. This is not a web application.?
Hi!



The button that you've designed is an image, not a windows forms control. You can add it to a PictureBox control, however, to achieve your desired effect:



1. Drag and drop a PictureBox control onto your form.

2. Resize the PictureBox to the size of your button.

3. Click on the PictureBox and view it's properties in the properties window.

4. Click in the ';Image'; property and then on the ';...'; button.

5. Select the ';Project Resources File'; option and then click ';Import';.

6. Navigate to your image in the window that appears.

7. Click ';OK';.



Now your button should be on your form, inside a PictureBox control. Feel free to e-mail me if you need any more help!



I hope this helps!How to add our own designed Windows Controls to the VB .net solution. This is not a web application.?
A gif isn't a control, it's a picture. You'll need a control to put it in. (Designing your own control means writing code.)

1 comment:

Post a Comment