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!

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!

To click on the post or not?

Recently, Facebook has been flooded with " click bait " posts, and sometimes you don't know if there is something really useful behind that post or if it's just collecting clicks. There is a plugin that can partially reveal this to you. Nothing special, it's a Chrome extension called " Photo Zoom ". What does he actually do? Enlarges the image you hover over by loading the source address of the image . How can it help? Clickbait posts often "trick" users into clicking with an image (in addition to terrible headlines). They place those pictures so that only a part of them is visible on the Facebook wall and just enough to interest your potential. If you want to see the whole thing, you have to click on the link, which is their goal.

SIM card sizes (Mini, Micro, Nano) - explanation

Many users still complain about the size of SIM (subscriber identification module) cards. Which one goes on the phone? Can it be shortened? Can a smaller one into a larger slot? Although we are slowly switching to eSIM (more on this in this article ), we still use classic SIM cards. Newer phones usually require a Nano sizes, but operators issue SIM cards in all sizes. More precisely, now SIM cards are made so that the user can choose the size immediately, and later change it if necessary. More on that at the end of the article.