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

Fix your photos with one click!

A new tool based on artificial intelligence has appeared, which fixes photos in the best possible way! This tool scans the photo and adjusts the parts to get the best possible lighting, colors, and details… even adding elements that the camera did not capture.

Nova S live

In this article, you can find links to watch NOVA S (or Nova RS) channels live via your computer or smartphone. I update the links as often as I can and everyone can enter the VLC player and watch it that way. The links work from any country so people from the diaspora can watch.

Chrome finds which tab makes noise

Google has announced that the new version of Chrome 23 browser brings several interesting improvements, among which is the ability to find tabs where some sound is played.

Unlimited number of free SMS messages

The service is closed! With the help of a Free SMS service, you can send an unlimited number of messages to all numbers in the world. The service is located at: www.slidesms.com

How to run Linux distribution on Android

Android is an OpenSource system, which means that it offers us almost unlimited possibilities. One option is to install and run Linux distributions on Android devices. It can also be installed, for example. Windows XP but I will not write about it here.