MAKE <Object> tag


Hello,
 I received from vendor few cab files that need to be placed on my client side of ASP.NET pages and the full specs of functions/methods to be called. All clear here. But!
How do I create an <OBJECT> tag? How to retrieve all Params? Cab Version? All I have - cab files. I am using VS2008. Thought there is a tool in it but can not find... Should I go to regedit to find CLSID? What about param's?
<object id="MYNAME" classid= "CLSID:????" codebase= "mycabFile.CAB#version=1,13,0,0">
    <param name= "???" value="">
</object>  
thank you!

"I have not failed.  I've found 10,000 ways that won't work."   
Thomas A. Edison
-1
nzolotar
5/4/2009 7:28:52 PM
πŸ“ asp.net.client-side
πŸ“ƒ 24353 articles.
⭐ 2 followers.

πŸ’¬ 1 Replies
πŸ‘οΈβ€πŸ—¨οΈ 4413 Views



 Hi,
<OBJECT ID="fpBoolean1" CLASSID="CLSID:DD55D143-EBF7-11D0-8810-0000C0E5948C" CODEBASE="http://www.fpoint.com/max/inputpro.cab"> <PARAM NAME="BorderStyle" VALUE="0"> <PARAM NAME="BorderColor" VALUE="-2147483642"> <PARAM NAME="BorderWidth" VALUE="1"> <PARAM NAME="BooleanStyle" VALUE="0"> <PARAM NAME="TextFalse" VALUE="FarPoint Boolean"> </OBJECT>
The tag has the following parameters:
ID=     A name for the object. The name should be unique among all other objects on the page.
CLASSID=     A class ID number. Every ActiveX control has a unique class ID that was encoded into it during development. The browser uses this number to determine which control to load.
This number must be exactly correct or the control will not load. Thus, it is preferable to cut and paste these numbers into your object tag or to use a tool such as the ActiveX Control Pad to insert them. For more information, see "Using the ActiveX Control Pad."
CODEBASE=     URL referring to where the ActiveX control can be acquired. When the page is loaded into the user's system, the browser checks the registry to determine if the system has the ActiveX control referenced by the CLASSID. If it does, then the local copy is used. Otherwise, the browser attempts to download the control from the URL designated by the CODEBASE tag.
For details on the intricacies of code downloading, see Microsoft's code download specification.
PARAM NAME="x" VALUE="y"     Optional parameters to set properties of the ActiveX control when it is loaded. Each is expressed as a property NAME and a VALUE to set it to. Once the control is loaded, it is given these property settings by the browser. Which settings are supported depends on the ActiveX control.
DATA=     An optional parameter providing binary data that sets properties and provides information about the control.
Close the object tag using the (</OBJECT>) tag after the parameter list.
OR
http://www.fpoint.com/support/whitep/ActiveX/ax1999.aspx#content
http://forums.devarticles.com/asp-development-3/how-to-use-ocx-4894.html
hope it helps

Thanks
Avinash Tiwari

Remember to click β€œMark as Answer” on the post, if it helps you.
-1
qwe123kids
5/5/2009 5:29:45 AM
Reply: