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

The difference between Sleep, Hibernate and Hybrid sleep options

What is the difference between regular Sleep mode and Hybrid sleep mode? And what is Hibernate ? I will try to explain in the simplest way possible so that everyone understands nicely. 1. Sleep When you select Sleep mode , all components of the computer except RAM are shut down to store data. So, if you do something on the computer and press Sleep, the computer shuts down and everything you did (left open windows, documents, etc.) is stored in RAM.

How to speed up folder opening [Win7]

I had a problem with the slow loading of folders on Win7, until recently. When I opened the folder, I waited for a while to read all the items from it. That green progress, at least upstairs, was filled with incredible slowness , which annoyed me. I searched a bit on the net, I concluded something myself and came up with a simple and effective solution. You will not need any program or complicated settings for this, everything is easy.

How to find a phone in the house if it is muted?

UPDATE: the article is outdated, read the new one:  How to find a phone if its sound is off ? Lost your Android phone at home, desperately trying to find it, and the ringtone is off? Well, that's going to be a bit more difficult. But there is a solution for that as well -  Remote Ringer . This application works quite simply:

Image of 1.74 giga pixels

In the picture of Barack Obama 's inauguration on January 20, 2009. you can clearly identify each person individually in that mass of people. Click 2x anywhere on the image. Use the zoom on the left to zoom in on the selected person and wait a few seconds for the image to focus. That image was taken by a 174-megapixel robot camera. That's 295 x the average 5-megapixel camera.

How to take a picture of an entire website

You need to take a picture of the whole website but you don't know-how. You try to paint part by part, but it takes too much time. Here are a few solutions on how to do it in just a few seconds.