Click here to Skip to main content
15,920,217 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: help for folder compression [modified] Pin
Nilesh Hapse1-Jan-08 23:59
Nilesh Hapse1-Jan-08 23:59 
GeneralCreate custom folder while setup my application Pin
Mekong River1-Jan-08 15:56
Mekong River1-Jan-08 15:56 
GeneralRe: Create custom folder while setup my application Pin
Dave Kreskowiak2-Jan-08 5:07
mveDave Kreskowiak2-Jan-08 5:07 
GeneralRe: Create custom folder while setup my application Pin
Mekong River2-Jan-08 17:53
Mekong River2-Jan-08 17:53 
QuestionHow to view an msg file? Pin
ninkk1-Jan-08 4:51
ninkk1-Jan-08 4:51 
AnswerRe: How to view an msg file? Pin
Dave Kreskowiak2-Jan-08 4:58
mveDave Kreskowiak2-Jan-08 4:58 
QuestionPictureBox SizeMode Pin
nishkarsh_k1-Jan-08 2:04
nishkarsh_k1-Jan-08 2:04 
GeneralRe: PictureBox SizeMode Pin
Dave Kreskowiak1-Jan-08 11:06
mveDave Kreskowiak1-Jan-08 11:06 
The streams have nothing to do with streching the image.


nishkarsh_k wrote:
I wanted the picture to be stretched in as per the picture box…so set the sizemode property of picture box to stretch


Are you expecting the image to strech with a resizing PictureBox?? If the PictureBox isn't anchored to the sides of the form, the image won't resize because the PictureBox isn't resizing.

All you have to do to get it to work is set the Image property to the image you want and change the SizeMode to StrechImage. That's it. If you want something else, you're going to have to describe what you want it to do.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: PictureBox SizeMode Pin
nishkarsh_k2-Jan-08 18:08
nishkarsh_k2-Jan-08 18:08 
Questionsave images into access Pin
poonams1-Jan-08 0:59
poonams1-Jan-08 0:59 
GeneralRe: save images into access Pin
Michael Sync1-Jan-08 1:10
Michael Sync1-Jan-08 1:10 
GeneralDHTMLEdit control Pin
King of Kingz31-Dec-07 23:23
King of Kingz31-Dec-07 23:23 
GeneralRe: DHTMLEdit control Pin
Dave Kreskowiak1-Jan-08 11:08
mveDave Kreskowiak1-Jan-08 11:08 
GeneralRe: DHTMLEdit control Pin
King of Kingz3-Jan-08 18:41
King of Kingz3-Jan-08 18:41 
GeneralRe: DHTMLEdit control Pin
Dave Kreskowiak4-Jan-08 1:45
mveDave Kreskowiak4-Jan-08 1:45 
GeneralRe: DHTMLEdit control Pin
King of Kingz6-Jan-08 20:58
King of Kingz6-Jan-08 20:58 
GeneralSQL query Pin
Amanjot31-Dec-07 7:05
Amanjot31-Dec-07 7:05 
GeneralRe: SQL query Pin
Dave Kreskowiak31-Dec-07 9:08
mveDave Kreskowiak31-Dec-07 9:08 
QuestionRegistry Key Enumeration Pin
andyr200531-Dec-07 5:31
andyr200531-Dec-07 5:31 
GeneralRe: Registry Key Enumeration Pin
DigiOz Multimedia31-Dec-07 6:30
DigiOz Multimedia31-Dec-07 6:30 
GeneralVB.net - Checking for the instance of a control Pin
pkrvb30-Dec-07 23:20
pkrvb30-Dec-07 23:20 
QuestionRe: VB.net - Checking for the instance of a control Pin
CPallini30-Dec-07 23:42
mveCPallini30-Dec-07 23:42 
GeneralRe: VB.net - Checking for the instance of a control Pin
Dave Kreskowiak31-Dec-07 3:56
mveDave Kreskowiak31-Dec-07 3:56 
GeneralType Load Exception Pin
Nagarajan R.J30-Dec-07 21:23
Nagarajan R.J30-Dec-07 21:23 
GeneralRe: Type Load Exception Pin
Dave Kreskowiak31-Dec-07 3:57
mveDave Kreskowiak31-Dec-07 3:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.