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.

VB – First application

VB – First application

To start learning Visual Basic, you can do it by starting immediately with forms that are already integrated, but a more correct way to start learning is with console applications.

Why? First of all, console applications do not have the standard form that you see with every program, they are oriented towards the strict execution of codes that will be displayed in the form of text or numbers. Console applications look like a command prompt.

I will insist on tutorials with console applications only because you can see and understand programming and the very essence of programming more clearly. The best way to learn to program is to start writing an application, and for this very reason, the first application will be oriented to simply displaying text in the console.

Example of code:

From the given code, we first see Module Module1.

Module or modules are an integral part of every application and it is never just one. Applications have modules, but they also have classes, which is the case with console applications.

Sub Main() is the main part of the code, i.e. the initial part of the code that the application must contain. It is always the initial part of the code to work with. What follows now is the important part for you.

If you want to print text in the console, you do so by first printing Console, because then you are preparing the console for a command, that is, you issue a command to the console to do something. By putting a period, the console expects you to emphasize what it should do, and I wrote WriteLine(), which issues a command to print some text in the console. Inside the brackets, I can write the variable without quotation marks because when variables are written they are written without quotation marks, but since you are still new to working in Visual Basic and you do not know what variables are, then you write quotation marks inside the brackets because we are declaring some text for the first time.

Below that, I wrote Console.ReadLine(), that is, translated into Serbian, I told the console to read the line. If I had not put this, the application would have shut down by itself after starting because nothing would have kept it active, and by putting this code it would be busy because it is waiting for the user to enter something. After that, I wrote End Sub because it is mandatory. Every Sub, every class, and every module must but must be closed when programming. Just like in HTML you have tags that you have to close the same and when programming you have to close Sub and Module. I did it with a simple End Sub and End Module command. The fact is that all this is automatically integrated, but if not, do it.

Here's what it looks like when you launch the app:

Comments

Popular this month

How to download the complete FB profile

UPDATE: The article has been updated. Click here. You have probably heard these days that the hacker group "Anonymous" will crash Facebook on November 5, 2011, maybe it will, maybe it won't. If you want to save all your pictures and videos, etc. you can do it in a few steps.

Five wishes from Google

Google is under investigation for allegedly abusing its strong position as a leader in the field of Internet search, and competing companies are suing Google and their partners, as this giant company is increasingly expanding into markets where it is already competitive.

This premium VPN gives free 17+ GB of bandwidth per month!

As you surf the internet your location is available on every site you visit. Basically, every site you visit knows your IP address, location, region, country . .. and much more. You don't believe it? Just look at this link and you will see your details: https://www.find-ip.net/ip-script If you don't already use a VPN, you can see your IP address, country, city, and region in the box above. Worrying?

Speccy - Get to know your computer in detail

The average user usually only knows what the CPU speed is, how much RAM it has, what the label is on the graphics card, and how much the HDD is… But he doesn't know some perhaps more important details. Speccy is a program that will reveal these details and you will have a complete insight into all the components that are inside your machine.

Look at historical objects in three dimensions

Google has launched a new Cultural Institute service where you can view some 3-dimensional historical objects on your computer in your favorite web browser. The items are detailed and you can enlarge them to see even the smallest parts. Of course, they are not perfect, there are some irregularities somewhere, but they were not noticed.