mXparser - Hello World - Visual Basic

MathParser.org - mXparser - logo - Visual Basic

*** If you found the software useful donation is something you might consider 🙂 ***

If you found the software useful donation is something you might consider :-)

mXparser "Hello World!" Visual Basic tutorial using Visual Studio 2015.

Imports org.mariuszgromada.math.mxparser

Namespace mxparserhelloworld
   Module HelloWorld
      Sub Main()
         Dim eh As Expression = New Expression("5^2 * 7^3 * 11^1 * 67^1 * 49201^1")
         Dim ew As Expression = New Expression("71^1 * 218549^1 * 6195547^1")
         Dim h As String = mXparser.numberToAsciiString(eh.calculate())
         Dim w As String = mXparser.numberToAsciiString(ew.calculate())
         mXparser.consolePrintln(h + " " + w)
      End Sub
   End Module
End Namespace

Step 1.1 Create new project.

01 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 1.2. Select "Visual Basic" and "Console Application". Input "Project name" and browse "Project location".

02 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 2.1. Reference "mxparser.dll" library.

03 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 2.2. Pickup location of the  "mxparser.dll" file.

04 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 2.3. Click "Ok" and your project is ready to code!

05 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 3.1. This is a code draft of your class.

06 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 3.2. Import "org.mariuszgromada.math.mxparser" package - you should see code completion hints while typing.

07 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 3.3. Write the full "Hello World!" code.

08 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 3.4. Select the startup object that should be launched.

09 - mXparser - Hello World - Visual Basic - Visual Studio 2015

10 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 4.1. Run the project.

11 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 4.2. Check whether "Hello World!" text was displayed!

12 - mXparser - Hello World - Visual Basic - Visual Studio 2015

Step 5. Enjoy using mXparser 🙂

*** If you found the software useful donation is something you might consider 🙂 ***

If you found the software useful donation is something you might consider :-)

Best regards,

Mariusz Gromada

Download latest release – v.4.0.0.2: bin + doc + src (.zip 10.7 MB)

Download latest release – v.4.0.0.2: bin only (.zip 3.04 MB) – separate binaries for java: 1.5, 1.6, 1.7, 1.8; .NET: 2.0, 3.0, 3.5, 4.0, 4.5, 4.6, .NET Core, .NET Standard, .NET PCL, Xamarin.Android, Xamarin.iOS

Source code .zipSource code .tar.gz View on GitHubMathSpace.pl