Skip to main content

Here's what a VPN can't protect you from (but you need to use it)

The abbreviation " VPN " has slowly become established among average Internet users, which is certainly good, but the problem is that people have started to see VPN as the ultimate solution to all problems.

[VB2010] Displays an image

[VB2010] Displays an image

So you need to display an image in your application but after selecting say from ComboBox. This is very easy to do and does not require any special knowledge.

  1. Right-click in Solution Explorer on the name of your application and select Properties at the bottom.
  2. Now select Resources in the new window and you will immediately see that it says String1. This is where you put your files to run inside the program. This is extremely important precisely because it is necessary to run the image from the very resources of your application.
  3. Add Resource then Add Existing File and select which image you want.
  4. Now put on your form say one ComboBox and PicutreBox so that we can complete the example.
  5. Double click on ComboBox and enter the following code:
        If ComboBox1.Text = "ÄŒokolada" Then PicutreBox1.Image = My.Resources.Slika
      

Here is the point in the following. You specify a condition of type If this is this. If we select the word Chocolate in the ComboBox then the app will show us an image from a resource that I put called Image (you put the name of your image, it's already variable).

Comments

Popular this month

Copy the text from the image to a TXT file

In one of the last posts I wrote how to find the desired Font from an image, but what about the whole text? There are other tools for this. In order not to manually copy the entire text from an image, one site will do it for you - OCR .

How to download the complete FB profile

UPDATE: The article has been updated. Click here. You have probably heard these days that the hacker group "Anonymous" will crash Facebook on November 5, 2011, maybe it will, maybe it won't. If you want to save all your pictures and videos, etc. you can do it in a few steps.

SOPA is retiring for now

Lamar Smith said he is withdrawing the controversial SOPA law for now until they find a solution. Namely, the people behind this have obviously taken the protests of Wikipedia , Google, Reddit, and other big companies around the world seriously.

New smileys for Facebook "grew" into pictures!

Lately, the  new option on Facebook has become a favorite among users. Namely, when the new option for Facebook chat appeared, it was known that it would not stop at troll smilies . There are already a lot of those smileys now, users are looking for something better, more interesting, so they made a whole mosaic of these little pictures!

How to create a temporary email to SEND messages?

About six years ago, I wrote about services that allow you to create temporary email addresses to receive email messages. These services cannot send messages, so I decided to write a new article for that purpose.