.Net Program Examples
The following macros are examples to demonstrate the various things that can be done with OutsideView using the OVDotNetApi. You can download the projects into your Visual Studio environment and play around with the code base to learn how the OVDotNetApi works. Note that these examples require Outsideview to be installed on your PC and when you download these projects and load them up in your Visual Studio, you will need to update the references for the NTrace.dll and OVDotNetApi.dll. You will need to point the location for NTrace.dll and OVDotNetApi.dll to the installed location of OutsideView. To get the OVDotNetApi control to be available in the Visual Studio toolbox, you wil need to go into the OutsideView installation disk/folder and navigate to the Setup\OVDotNetApiInstaller location and invoke the content installer for either Visual Studio 2005 (VS8) or Visual Studio 2008 (VS9) and higher.
This project was created in Visual Studio 2008. This is an example of a startup macro to run within an enterprise session file. This macro allows the use of a generic OV session and have the users actually connect to a predefined host addresses/ports and service/applications on the host. This permits load balancing and a simpler administrative work load. Download this project here: EntGetUserInfo project
This project was created in Visual Studio 2008. This macro is a port of the FTPHints VCB Macro. Ideally this macro will replace the older FTPHints macro but for now both are present so that you can compare the two versions. Download this project here: FTPHints project
This project was created in Visual Studio 2008. This example uses the OVDotNetApi to automate the launching of a user specified OutsideView session and then read data from an excel file and input them into a block mode application named appt. It also demonstrates how you can read data from the same block mode Appt application and save the data to Excel file. Download this project here: ExcelAutomationClient project
This project was created in Visual Studio 2008. This example uses the OVDotNetApi to automate the creation of OutsideView emulation sessions from a base template session file. It also demonstrates how you can read the session data information from a Excel file to create the session files. Download this project here: SessionFileGenerator project