How to use Math.Max Function in VB.NET

Submitted by donbermoy on
In this article, i will introduce some function in VB.NET regarding the Math Functions. Math.Max is a function in vb.net that has its class in Math. Math.Max() Mathematical Function in Visual Basic.Net is used to return the largest of two decimal numbers. Note: This function is only applied in two integer or decimal numbers. So, now let's start this tutorial! 1.

How to Display OS Version in Visual Basic.Net

Submitted by donbermoy on
Hi! This is me again! :) Now, i will introduce some kind of tutorial that will find and display your PC's OS Version with the use of Visual Basic. Before we start, let us first discuss what are the codes that we will be using in this tutorial. We will use the OperatingSystem class as it will return a string representation of operating system information and the Environment Class which will provide the current environment and platform of your OS. Now, let's start this OS Version Displaying tutorial! 1.

Font Dialog Tutorial in Visual Basic.NET

Submitted by donbermoy on
Font Dialog is one of the important features in VB.NET The Font because it lets the user choose attributes for a font, such as font family and associated font style, font size, effects , and a script. Now, let's start this Font Dialog tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

How to Trap Error in Visual Basic

Submitted by donbermoy on
Error trapping let you intercept and deal with run-time errors, rather than having programs abort or ignore a fatal error and can possibly causing loss of data. But there is one way to trap error in Visual Basic. It has the same syntax with VB 6.0 and VB.NET. To prevent the program from error we have to use the On Error Goto Statement. Now lets start this tutorial! :) 1.

C++ Tutorial: Using of BackgroundWorker Component in C++/CLI

Submitted by Bright777 on
Intro     Hi. It is Brigh777 and today I will show you how to use such component as backgroundworker in your C++ application. First of all, I tell you why we need, such component, as backgroundworker. Backgroundworker is a really good thing then you want to run some background processes in your application. The standard application does all calculations, commands and other things in one thread. It causes a lot of problems, such as a long time of work, the main window of your program can hangs , while you program will do calculations.

C++ Tutorial № 2 : Variables. Types. Boolean type.

Submitted by Bright777 on
   Hi everyone. It is Bright77 and today we are going to talk about variables: what is variable, how we should declare it and how to operate with them.    First of all we need to give a definition of term “variable”. You can say that variable it is thing that should change. It is quite right, but… So, in C++ you can imagine variable like a special container to store the information we need in the current program in the current time. Variables can store different information: from integer values to sentences and texts.

C++ tutorial №1: First program on C++

Submitted by Bright777 on
   Hi guys. Today I am going to meet you with C++ and we will write a short and simple program. So let's start from basic information about C++.    C++ is one of the most popular programming languages and is implemented on a wide variety of hardware and OS platforms. C++ is an object-oriented language. It was created by Bjarne Stroustrup in 1983 as a next step after C.