VB.NET Extensions

Common VB.NET extension methods to basic objects.

VB.NET developers may be used to the Microsoft.VisualBasic namespace for VB specific extensions. Wisej provides the Wisej.Web.VisualBasic namespace with the implementation of the Interaction extensions:

MethodDescriptionMicrosoft

MsgBox(Prompt, Buttons, Title, CloseCallback)

Displays a message in a dialog box, waits for the user to click a button, and then returns one of MsgBoxResult indicating which button the user clicked.

MsgBoxAsync(Prompt, Buttons, Title)

Asynchronously displays a message in a dialog box, waits for the user to click a button, and then returns one of MsgBoxResult indicating which button the user clicked.

InputBox(Prompt, Title, DefaultResponse, XPos, YPos, CloseCallback)

Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.

InputBoxAsync(Prompt, Title, DefaultResponse, XPos, YPos)

Asynchronous displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.

Beep(AudioBase64)

Plays a sound on the browser.

You can still use Microsoft.VisualBasic non UI methods in Wisej.

Last updated