SRC

Contains a URL (in HTTP notation) for the thin client command line file to load. See Thin Client Command-Line Files for a discussion of command line files and how to create them. SRC is the default property of the Web thin client ActiveX control. Do not specify this property if you are using AcuCommandLine.

Parameter Type    Input    Output
(BSTR) [ ] [ ]

The following example demonstrates using the <OBJECT> element to specify the program for execution:

<OBJECT 
   CLASSID="CLSID:087C768D-64C1-4AC1-845D-4589B4B2C24E" 
   ID="AcuThinAX" width="512" height="384"> 
   <PARAM NAME="AcuEmbedded" VALUE="TRUE"> 
   <PARAM NAME="SRC" VALUE="http://server.acucorp.com/location/commandlinefile.acutc"> 
</OBJECT>

The SRC property is intended for HTTP URLs only. However, you may also address local files if the path is prefixed with file:// rather than http://, as shown below. Note that this is also considered URL notation.

For example:

<OBJECT 
   CLASSID="CLSID:087C768D-64C1-4AC1-845D-4589B4B2C24E" 
   ID="AcuThinAX" WIDTH="512" HEIGHT="384"> 
   <PARAM NAME="AcuEmbedded" VALUE="TRUE"> 
   <PARAM NAME="SRC" VALUE="file://c:/webdemo/commandlinefile.acutc"> 
</OBJECT>

When you use the SRC property to call a file, the downloaded file is given a temporary name and is stored in the current master temporary directory for the user, as specified in Windows. Note that the Web thin client automatically captures the temporary name and uses it internally; however, the internal name is not exposed.