In this exercise, you will use Microsoft Visual InterDev to create a Web page and add JavaScript and VBScript to push buttons .
You will see the following line of code highlighted:
<!-- Insert HTML here -->
<form><input type = "button" value = "Test JavaScript"
name = "cmdJavaCode" OnClick="bln=JavaCode()">
<input type = "button" value = "Test VBScript"
name = "cmdVBCode">
</form>
<script language="javascript">var bln = false
function JavaCode() {
alert("Hello from JavaScript!")
return true
}
</script>
<script language="VBScript">Sub cmdVBCode_OnClick
MsgBox "Hello from VBScript!"
End Sub
</script>
* To preview your Web page
The default Visual InterDev browser will display the Web page.
http://localhost/MyWebProject/MyFirstPage.htm
Visual J++ is Microsoft's visual Java object-oriented development environment. It uses the same user interface as Microsoft Visual C++. Visual J++ development can only be done on Windows 95 or Windows NT 4.0. However, the generated code can be executed on any platform that supports the Java Virtual Machine.
The Java Virtual Machine
The Java Virtual Machine is needed to execute Java programs. The Virtual Machine is a virtual processor emulated in software. The instructions (Java bytecodes) executing on a virtual processor are the same no matter which operating system the Virtual Machine is running on.
Figure 4.3 Visual J++
This means that the Java code can run on any platform that has a Java Virtual Machine. The Virtual Machine reads the bytecode and executes the native instructions appropriate to the local operating system. This gives Java its machine independence.
Advantages of Visual J++
Visual J++ allows developers to:
Microsoft Visual FoxPro is an object-oriented environment for database construction and application development. It allows you to construct objects and classes that feature true inheritance, encapsulation, and all other traits of a robust object-oriented development environment.
Visual FoxPro provides you with the necessary tools to organize tables of information, execute queries, create integrated relational database management systems (DBMS), or program fully developed data management applications. The Visual FoxPro database engine is a full-featured file-server relational database engine that is optimized for large datasets.
Microsoft Visual FoxPro brings several unique strengths to the Visual Tools family, including:
Like Microsoft Visual Basic, you can use Visual FoxPro to create Automation servers to expose functionality that can be used and reused by other applications. For example, you can utilize existing data manipulation code in an Automation server application that can be called from any Microsoft Office application or by the Internet Information Server. This allows you to leverage existing code while taking advantage of the latest advances in component technologies.
In the same manner as Visual Basic, a Visual FoxPro Automation server supports Remote Automation to create true distributed multitier client/server applications.
Advantages of Visual FoxPro
Visual FoxPro provides the following features: