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

New Google mobile internet saving application - Datally

I wrote an article on how to save internet traffic on an Android device and I suggested the Onavo Extend and Opera Max apps because they were the most popular back then. Meanwhile, Opera Max has been discontinued and Onavo has been completely redesigned and is now a VPN application with the option to save internet traffic. Their compression technology is probably now used by Facebook in its application because they bought Onavo - link . Google has decided to seize the opportunity and "push" with a new application called " Datally ".

SOPA and PIPA are slowly losing support, the protest yielded results

Controversial U.S. anti-piracy laws, known by the acronyms SOPA and PIPA lost the support of eight members of Congress after major protests by the Internet community. Support was denied, among others, by Marco Rubio of Florida, a rising star of the Republican Party, and his party colleague Roy Blunt of Missouri - who were among the signatories of the bills.

How to change IMEI number on Android phone?

IMEI is an abbreviation of "international mobile equipment identity" and each mobile phone should have a unique IMEI number. You cannot change this number with the operator, but you can temporarily change it on your device. It allows the operator to accurately identify your device and thus enable/disable network services. Also, you can use the possibility of changing the IMEI number, at least for a short time, if you know exactly what you want, but I leave those ideas to you because this is an educational article.

Twitter is celebrating its sixth birthday

Exactly six years ago, one of the founders of Twitter posted his first tweet - " just setting up my twttr ". Although the popularity of this service was modest in the first few years, today Twitter has over 500 million users who send tweets, and messages 140 characters long.

Google AI game recognizes and learns what you draw!

Artificial intelligence (AI) is quite popular nowadays and is being used more and more intensively. Google has, I can say, the most developed so far and is available to end-users (at least one part). We had a chance to see how it is integrated into the new Google Assistant that has replaced Google Now.