I haven't every used this method, but I did get it from the Help with Visual Studio. Maybe you can use it.
Listbox DTC help.
getValue Method
Returns a value from an object.
Syntax
object.getValue([nIndex | strField])
Parameters
object
A script object.
nIndex
Index of an item in the zero-based list. If left null, the index defaults to the currently selected item. The index of the currently selected item is equivalent to the value of the selectedIndex property.
strField
A string of the field name.
Remarks
For Listbox and OptionGroup objects, the method returns a text string that corresponds to the HTML attribute VALUE.
For the fields object, the method returns the value of the field for the current record.
Note For the OptionGroup object and ASP pages, there is an another way to return the value setting. You can reference an OptionGroup object by using its name with "_value" appended to it. For example, you could pass the value from an OptionGroup whose id is "myOptionGroup" by calling:
myVar = request("myOptionGroup_value"
In the scripting object model, you could return the same result with:
myVar = myOptionGroup.getValue()
More Help
Listbox Design-Time Control
Creates a Listbox script object, which creates an intrinsic HTML list box that can be bound to data.
Remarks
You can set the properties of the Listbox control at design time using the Properties window and the Listbox Properties dialog box.
Set the ControlStyle property to create a standard list box or a drop-down list box.
You can bind the Listbox control to one recordset and populate the list from another recordset by doing a lookup on the Lookup tab of the Listbox Properties dialog box.
If you want to create a static list instead of one that is data-bound, select the Static list option on the Lookup tab.
Note The scripting platform specifies where an object's script is run - either on the client (Microsoft® Internet Explorer 4.0 DHTML) or on the server (ASP). Thus, the scripting platform determines whether the object is available under Client Objects & Events or Server Objects & Events in the Script Outline window.
For the Listbox control, the Scripting Platform property is specified on the General tab of the Listbox Properties dialog box. For more information, see theDTCScriptingPlatform property. For detailed information about choosing a scripting platform, see Writing Script for Script Objects.
Scripting Notes
Call the hide, show, and isVisible methods to control how the list box is displayed.
To change the items of the Listbox object, call the addItem, removeItem, clear, and getCount methods.
To manipulate the current item, call the getValue, setValue, getText, and setText methods.
Call the selectByValue or selectByText methods to select an item in the list.
For more information about the run-time object, see Listbox Script Object. For information on scripting and objects, see Scripting with Design-Time Controls and Script Objects.
tbmishue