Solved

Add image to vb.net form

Posted on 2008-10-02
4
1,507 Views
Last Modified: 2008-10-03
I know it is possible to change icon on a vb.net form but what I would like to do is dsplay an image that is contained in a jpeg file.  I tried to convert the jpeg to an icon but it is way to small

Any ideas?
0
Comment
Question by:johnnyg123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Expert Comment

by:ladarling
ID: 22628154
If you go the the project properties, Resources, and add a new Icon resource you may be able to cut>paste into the VStudio Icon Editor. If you are the artistic type, you might be able to recreate what you want. I am not, so I outsource :-)
If that wont work for you, its probably a job for a graphic designer. I usually hire somebody from Rent-A-Coder, they usually do a good job for like $20 and get it back to you quickly.
http://www.rentacoder.com/RentACoder/DotNet/default.aspx
 
0
 
LVL 25

Accepted Solution

by:
SStory earned 500 total points
ID: 22628172
Do you want to show the JPEG image as the form's icon?
If so you should open it in Photoshop, install the ICO plugin to photoshop.
Crop and resize the image to the appropriate size for icons.. I think 16x16 for that one...or maybe 16x15.
At this size no photo is going to look very well.

If you were talking about showing a picture on a form...just drop a picturebox control and set the Image property to the picture.
0
 

Author Comment

by:johnnyg123
ID: 22628219
hmmmm

well...I guess I could go with the picture box

I have set the text to nothing...is it possible to change the color of the title bar to something other than blue?
0
 
LVL 25

Expert Comment

by:SStory
ID: 22637961
Well you can't use a picturebox in the title bar itself unless you come up with your own title bar...this is doable, but means you must provide for minimize, maximize, windows dragging, etc.

I don't think you can change the color in code if it is adhering to a Windows Theme.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question