VB 6

VB 6 – Int() Function

In this article, you will learn about a Int() function.The int() function will change any double or real number into integer and drop the real part. For example, Example Program: Int() Function Output: Int() Function

VB 6 – Log() Function

In this article, you will learn about Log() function. The Log function takes the Logex of a number x. To know the correct log value of a number you must refer to a log table. For example, logex = loge10 = 2.302585 Example Program: Log() Function Output: Log() Function

VB 6 – Sqr() Function

In VB 6, the sqr() function gives the square root of any number. The argument for the sqr() function must be a Double mean a real number. In the example program below, we accept a number and return its square root. Program Code: Sqr() Function Output: Sqr() Function

VB 6 – Cos Function

The Cos function in VB 6 returns the cosine value of a degree. When you enter a degree value in the program, it gives you a real value, that is, the Cosine value. The program code is given below along with output. Program Code: Cos Function Output: Cos Function

VB 6 Collections

In the previous article, you learned about different types of loops and know about arrays. In VB 6, there is also a container called Collection. The collections are interesting because they have following properties: Can contain different data types Have their own index Have their own methods The collection have different types of methods to …

VB 6 Collections Read More »

VB 6 For … Each Loop

In the previous article, you learned about the For loop, however, there is another loop called For…Each loop similar to For loop. The For…Each loop is suitable to go through each item of a collection or an array. Syntax: For…Each Loop The syntax for the For..Each loop is given below. The keywords are very much …

VB 6 For … Each Loop Read More »

Please support us by disabling your adblocker or whitelist this site from your adblocker. Thanks!

turn of adblocker imag