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 make a "3 steps" page

Many ask me "How do I put 3 steps on a Facebook page?" So I decided to make a short guide for that. If someone doesn't know what " 3 steps " are: These are the pages where you have to like first, share the page, and finally see the link . Now you can do it too, very easily!

Interesting gadgets for less than $5 [2. part]

Due to the great interest in the article in which I presented several interesting gadgets that cost less than $ 5 , I decided to compile another list. Note :  all the products I listed below can be purchased on various sites, but I posted links to Aliexpress because I have bought a lot there and have the most experience.

Serbia will soon have the strongest supercomputer in the Balkans!

By upgrading the "Paradox" supercomputer, Serbia will receive in the next few months the most powerful supercomputer in the Balkans, worth around one million euros! Today, the " Paradox " supercomputer has 1,100 processors and operates at seven teraflops, which is 7,000 billion operations per second. With the upgrade, the computer will have 5,000 processors and will work at 40 teraflops, or 40,000 billion operations per second. It can currently store 60 terabytes (60,000 gigabytes) of data.

The first Lion update

As part of a software update released yesterday, Apple released OS X 10.7.1 , the first update for their operating system that carries patches for several security vulnerabilities and bugs that accompanied the initial release.

What is GLONASS?

If you've looked at the detailed specification of an Android or GPS device, you may have seen another term next to the GPS tag and didn't know exactly what it represents. Well,  GLONASS is a global navigation system that was started by the USSR in 1976, so this project could be taken over by Russia after the collapse of the Soviet Union.