Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1112167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:39:57+00:00 2026-05-17T02:39:57+00:00

In html I just do <img src=x.jpg width=1px height=2px> how about in vb.net. Is

  • 0

In html I just do <img src="x.jpg" width="1px" height="2px"> how about in vb.net. Is there an easy way to do this. When you are viewing the image through the picture box

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:39:58+00:00Added an answer on May 17, 2026 at 2:39 am

    How do you display the image? If you load an image into the Image property of a PictureBox you can use the SizeMode property to stretch the image to the size of the PictureBox. You can then set the width and height of the PictureBox.

    PictureBox1.Load("image.png")
    PictureBox1.SizeMode = PictureBoxSizeMode.Stretch
    PictureBox1.Size = New Size(width, height)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Html <input type=file name=picture value= /> <img id=preview_pic src=/images/no-image.jpg alt= height=100 width=100 /> I
I've got image tags that look like this: <img src=/path/to/my/image.jpg /> But when I
I just finished reading this post: https://developer.yahoo.com/performance/rules.html#flush and have already implemented a flush after
I need to catch the HTML of a ASP.NET just before it is being
---HTML <div id=story> <div id=individual> <img src='uploads/1231924837Picture.png'/> <h2>2009-01-14</h2> <h1>Headline</h1> <p>stroy story etc stroy story
HTML (or maybe just XHTML?) is relatively strict when it comes to non-standard attributes
Instead of just filling out the form in HTML it should also be possible
So I'm coming at WPF from a HTML perspective. I just want to put
html Tidy gives this as output for some reason: <?xml version=1.0 encoding=utf-16?> <?xml version=1.0
I have the following: $imageurl = <img class='item_thumb' src='getimagethumbnail.php?imagename=.urlencode($product_image).&from=.$prodimagedir.' min-width='150' min-height='150' border='0' class='item_thumb'>; Which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.