Git Product home page Git Product logo

vb.net-util's Introduction

Visual Basic.NET utilities for students/teachers

This is a collection of VB.NET utilities I have created when I was teaching VB.NET in a secondary school.

Download

  • Binary (Compiled with VB 2010 with .NET Framework 4)

About the utilities

MsgBox Demo / InputBox Demo

As their name implies, they are used to demonstrate the capability of MsgBox and InputBox statements.

These two programs have two functions, namely

  • To show the required MsgBox / InputBox.
  • Generate VB.NET code for the said MsgBox / InputBox.

The programs are used myself to create the teacher’s version of VB.NET worksheet or exam papers. To take high quality screenshots, I recommend Greenshot.

Expression Evaluator

This program finds out the values of multiple VB.NET expressions. Enter one expression in a line, and the program will output the result in a corresponding line. The main use of the program is to create worksheets which ask students to evaluate VB.NET expressions. (Manual calculations are prone to errors.)

For example, you want to calculate the answers for the following:

VB expression Result
Strings.Right("polar", 2) & Strings.Left("ease", 3) "areas"
Len("--Computer Literacy--") 21
"S." & Strings.Left("2A", 1) "S.2"
Mid("dictionary", 5, 3) "ion"
UCase(LCase("Hello!")) "HELLO!"
LCase(Trim(" Mr. Wood ")) "mr. wood"
Dim s As String = "Testing"
s = Mid(s, Len(s) - 2, 2)
"in"

The input of the program looks like this: (you need to remove s = in the last line.)

Strings.Right("polar", 2) & Strings.Left("ease", 3)
Len("--Computer Literacy--")
"S." & Strings.Left("2A", 1)
Mid("dictionary", 5, 3)
UCase(LCase("Hello!"))
LCase(Trim(" Mr. Wood "))
Dim s As String = "Testing"
Mid(s, Len(s) - 2, 2)

Snippet runner

This program runs a VB.NET code snippet. The Console and Debug/Trace outputs are shown when you run the code snippet.

A preset Console input can be added when you execute the program, and the input can be dumped to the Console output, so the program appears to be executed like the actual VB.NET program.

At present, subroutines are not supported.

vb.net-util's People

Contributors

lwchkg avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.