Activex
3 отговора
79 прегледа
Activex
Привет.
Искам да попитам как на Visual Basic след като компилирам ActiveX проект в *.ocx файл да мога да го интегрирам в уеб. Въобще как мога да направя ActiveX който да го ползвам в интернет страници
Искам да попитам как на Visual Basic след като компилирам ActiveX проект в *.ocx файл да мога да го интегрирам в уеб. Въобще как мога да направя ActiveX който да го ползвам в интернет страници
Re: Activex
Vseki Activex moge da se slogi v HTML -ako tozi koito 4ete stranizata si go ima instaliran na systemata (kontrola) - ima4e koda e ~ slednija :
<OBJECT
CLASSID="clsid: (nomera na reg .kontrol).." WIDTH=??? HEIGHT=??? BORDER=? HSPACE=? ID=...>
<PARAM NAME="njakakvi patametri ako ima" VALUE=?> -povtarja se za cski4ki parametri ;
</OBJECT>
neshto takowa i trjabva da raboti.
<OBJECT
CLASSID="clsid: (nomera na reg .kontrol).." WIDTH=??? HEIGHT=??? BORDER=? HSPACE=? ID=...>
<PARAM NAME="njakakvi patametri ako ima" VALUE=?> -povtarja se za cski4ki parametri ;
</OBJECT>
neshto takowa i trjabva da raboti.
Re: Activex
Ами с таг !
Цreate an <OBJECT> block with PROGID attribute, and with an ID attribute. Some of the objects created this way require additional information that you typically supply using <PARAMETER> tags inside the <OBJECT> block.
You can reference the object in your script using the object's ID. For example, if you drag a Browser Capabilities object onto your page, the editor creates an object tag that looks like this:
<OBJECT PROGID=MSWC.BrowserType id=OBJECT1></OBJECT>
Tip Change the object's ID to something meaningful. For example, in this case you might change it to oBType.
After the object has been instantiated with the <OBJECT> block, you can reference it in your script using its ID. The following excerpt from a page shows how you might use the object created above:
Your browser is <%=oBType.browser%>, version <%=oBType.version%>.
<p>
Your browser supports these programming languages:
<UL>
<%If oBType.javascript Then%>
<LI>JavaScript</LI>
<% End If %>
<%If oBType.VBScript Then%>
<LI>VBScript</LI>
<% End If %>
</UL>
don't waste my time - waste yours !
Цreate an <OBJECT> block with PROGID attribute, and with an ID attribute. Some of the objects created this way require additional information that you typically supply using <PARAMETER> tags inside the <OBJECT> block.
You can reference the object in your script using the object's ID. For example, if you drag a Browser Capabilities object onto your page, the editor creates an object tag that looks like this:
<OBJECT PROGID=MSWC.BrowserType id=OBJECT1></OBJECT>
Tip Change the object's ID to something meaningful. For example, in this case you might change it to oBType.
After the object has been instantiated with the <OBJECT> block, you can reference it in your script using its ID. The following excerpt from a page shows how you might use the object created above:
Your browser is <%=oBType.browser%>, version <%=oBType.version%>.
<p>
Your browser supports these programming languages:
<UL>
<%If oBType.javascript Then%>
<LI>JavaScript</LI>
<% End If %>
<%If oBType.VBScript Then%>
<LI>VBScript</LI>
<% End If %>
</UL>
don't waste my time - waste yours !
Пояснение !
Тази секция е подходяща за вграждане при сървър :-)))
Колегата е описал точно клиентския подход !
don't waste my time - waste yours !
Колегата е описал точно клиентския подход !
don't waste my time - waste yours !