Real’s Howto WSH VBScript

Reals Howto WSH VBScriptThese How-to’s are about the usage of VBScript used with the Window Scripting Host (WSH). WSH enables scripts to be executed directly on the Windows desktop or command console, without the need to embed those scripts in an HTML document. Scripts can be run directly from the desktop simply by clicking on a script file ( .vbs for VBScript), or from the command console. The WSHost is included with all recent Windows versions or it can be freely downloaded from Microsoft or here
Read more

Regular Expressions in Visual Basic .NET

Regular Expressions in Visual Basic .NETThe .NET Framework comes with a very powerful regular expression engine that’s accessible from any .NET language, so you can leverage the parsing power of languages such as Perl without having to switch from your favorite language. The powerful .NET Framework regular expression engine allowed Microsoft to clean up the Visual Basic language by getting rid of regular expression- like (but far less versatile) features, such as the LIKE operator or the Replace string function. (The Replace function in the Microsoft.VisualBasic namespace is for backward compatibility only, and the String.Replace method supports only the replacement of single characters.)
Read more

Using Microsoft Visual Basic to Create a Graphical Front-End for a CSIM19 Model

This document describes how to use Microsoft Visual Basic to quickly and easily create a graphical front-end for a CSIM19 simulation written in C. The example used in this document is a simple service center phone bank. The source for this example is included with this document. You will not be able to compile the source yourself unless you own the CSIM19 libraries. This document assumes that readers are reasonably familiar with CSIM19 and basically proficient in Microsoft Visual Basic and Microsoft Visual C++. Obviously the methods described here are also applicable in other development environments, as long as users know their preferred development tools well enough.
Read more

Visual Basic - Arrays

Visual Basic - ArraysAn array is a named collection of variables of the same data type. Each element of the array is labelled by one or more indices. Arrays allow you to group related variables and to manipulate them all at once while still being able to access each variable separately. For arrays we can set up loops using the index numbers.
Read more

Vsual Basic 2005 Threading

Vsual Basic 2005 ThreadingThreading is, from your application’s point of view, a way of running various different pieces of code at the same time. Threading is also one of the more complex subjects examined in this book. That’s not because it’s difficult to use threading in your programs-as you’ll see, Visual Basic 2005 makes it absurdly easy-but because it’s difficult to use threading correctly. If you stick to the rules, keep your use of threads simple, or rely on the new all-in-one BackgroundWorker component, you’ll be fine. If, however, you embark on a wild flight of multithreaded programming, you will probably commit one of the cardinal sins of threading, and wind up in a great deal of trouble. Many excellent developers have argued that the programming community has repeatedly become overexcited about threading in the past, and has misused it, creating endless headaches
Read more

Next Page →