Verizon web hosting – Data Type: String The name of the application.

Data Type: String The name of the application. Objecttype Use: Required Data Type: String The class of object to create, delimited from Appname by using a point (.). For example, Appname.Objecttype Return Value Returns a reference to an ActiveX object Description Accesses an ActiveX server held within a specified file Rules at a Glance Although both pathname and class are optional, at least one parameter must be supplied. In situations where you cannot create a project-level reference to an ActiveX object, you can use the GetObject function to assign an object reference from an external ActiveX object to an object variable. GetObject is used when there is a current instance of the ActiveX object; to create the instance, use the CreateObject function. If you specify pathname as a zero-length string, GetObject will return a new instance of the object unless the object is registered as single instance, in which case the current instance will be returned. If you omit the pathname, the current instance of the object will be returned. An error is generated if pathname is not specified and no current instance of the object can be found. The object variable you will use within your program to hold a reference to the ActiveX object is dimensioned as type Object. This causes the object to be late bound; that is, your program knows nothing of the type of object nor its interface until the object has been instantiated within your program: Dim myObject As Object myObject = GetObject(“C:OtherAppLibrary.lib”) The details of how you create different objects and classes are determined by how the server has been written, and you’ll need to read the documentation available for the server to determine what you need to do to reference a particular part of the object. There are basically three ways in which you can access an ActiveX object: 1. The overall object library. This is the highest level and will give you access to all public sections of the library and all its public classes: GetObject(“C:OtherAppLibrary.lib”) 2. A section of the object library. To access a particular section of the library, use an exclamation mark (!) after the filename, followed by the name of the section: GetObject(“C:OtherAppLibrary.lib!Section”)

Hint: If you are looking for high quality and reliable webspace provider to host and run your jsp hosting application check Virtualwebstudio jsp web hosting provider

Comments are closed.