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

How to copy text from an image (in 2 clicks, free)

Copying text online is certainly an action we do many times during the day, but the problem is that the text from the image cannot be copied - we have to retype it. However, today there are intelligent OCR tools for image text recognition.

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.

YouTube Vanced is down! These are alternatives

The popular replacement for the YouTube app - Vanced - will no longer be available for download. Namely, the authors (due to "legal reasons") had to stop the development of their application and announce that the download links will be unavailable soon.

New Google option

Google will start popularizing the search results of individual users with posts shared publicly by their links to Google+, the company announced. The new feature, which only works when users are signed in to their Google Accounts, aims to tailor the results to users' individual tastes.

The best application for watching foreign TV series

If you are a fan of foreign series, I believe you will like this application. This is an application for Android and iOS devices, and it can also be accessed via the web. It's called TVShow Time , and what does it offer?