Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: How to manager the com object's version in asp


Message #1 by Lin Ma <linma@v...> on Tue, 12 Dec 2000 15:40:02 -0500
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C0647B.B3D246D2

Content-Type: text/plain;

	charset="windows-1252"





How to change the com object's version?

How to force a new download to the cab file when a new version of com object

is updated?



Appreciate your help.




Message #2 by "Carvalho, Marcelo (M.A.)" <mcarval2@f...> on Tue, 12 Dec 2000 17:39:45 -0500
Lin, I have the problem with download the component in the client machine,

do you know how use ocx's ?, I already take a look in the usage cab file,

but nothing happeng, can you help me please ???



Take a look in my code, the ocx that I try to use is msacal70.ocx(calendar)







<%@ Language=VBScript    %>

<%   Option Explicit     %>

<HTML>

<HEAD>

<SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript>

<!--



Sub window_onload

document.thisForm.calendario.Value =date()

End Sub



-->

</SCRIPT>

</HEAD>



<% ' VI 6.0 Scripting Object Model Enabled %>

<!--#include file="../_ScriptLibrary/pm.asp"-->



<BODY>

<meta name="VI60_DefaultClientScript" Content="VBScript">

<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">

<LINK href="../_Themes/clearday/THEME.CSS" rel=stylesheet type=text/css

VI6.0THEME="Clear Day">

<LINK href="../_Themes/clearday/GRAPH0.CSS" rel=stylesheet type=text/css

VI6.0THEME="Clear Day">

<LINK href="../_Themes/clearday/COLOR0.CSS" rel=stylesheet type=text/css

VI6.0THEME="Clear Day">

<LINK href="../_Themes/clearday/CUSTOM.CSS" rel=stylesheet type=text/css

VI6.0THEME="Clear Day">



<SCRIPT LANGUAGE=vbSCRIPT>

function calendario_AfterUpdate()

 	parent.frame2.location.href="dias uteis2.asp?dia=" &

thisForm.calendario.Day  & "&mes=" & thisForm.calendario.Month& "&ano=" &

thisForm.calendario.Year

end function



</script>



 



<FORM name=thisForm METHOD=post>



<div STYLE="HEIGHT: 27px; LEFT: 134px; POSITION: absolute; TOP: 12px; WIDTH:

391px">

	<p align="center"><font color="mediumblue" size="5"><strong><u>

		Cadastro de dias Uteis </u></strong></font></p>

</div>



<div STYLE="HEIGHT: 16px; LEFT: 20px; POSITION: absolute; TOP: 44px; WIDTH:

688px">

     <hr style="BACKGROUND-COLOR: steelblue; HEIGHT: 5px; WIDTH: 715px">

</div>





<DIV STYLE="HEIGHT: 30px; LEFT: 180px; POSITION: absolute; TOP: 66px; WIDTH:

30px">

<OBJECT id=calendario RUNAT="CLIENT"

	classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02"  

	codebase="http://sb3233.ford.com/siv/componentes/controles.cab"

	style="HEIGHT: 192px; LEFT: -48px; TOP: 0px; WIDTH: 336px" 

	VIEWASTEXT>

	<PARAM NAME="_ExtentX" VALUE="8890">

	<PARAM NAME="_ExtentY" VALUE="5080">

	<PARAM NAME="_StockProps" VALUE="1">

	<PARAM NAME="BackColor" VALUE="-2147483637">

	<PARAM NAME="Year" VALUE="<%=year(date())%>">

	<PARAM NAME="Month" VALUE="<%=month(date())%>">

	<PARAM NAME="Day" VALUE="<%=day(date())%>">

	<PARAM NAME="DayLength" VALUE="1">

	<PARAM NAME="MonthLength" VALUE="2">

	<PARAM NAME="DayFontColor" VALUE="255">

	<PARAM NAME="FirstDay" VALUE="1">

	<PARAM NAME="GridCellEffect" VALUE="1">

	<PARAM NAME="GridFontColor" VALUE="12582912">

	<PARAM NAME="GridLinesColor" VALUE="255">

	<PARAM NAME="ShowDateSelectors" VALUE="-1">

	<PARAM NAME="ShowDays" VALUE="-1">

	<PARAM NAME="ShowHorizontalGrid" VALUE="-1">

	<PARAM NAME="ShowTitle" VALUE="-1">

	<PARAM NAME="ShowVerticalGrid" VALUE="-1">

	<PARAM NAME="TitleFontColor" VALUE="10485760">

	<PARAM NAME="ValueIsNull" VALUE="0"></OBJECT>

</DIV>

</BODY>

</FORM>

<% ' VI 6.0 Scripting Object Model Enabled %>

<% EndPageProcessing() %>

</HTML>





-----Original Message-----

From: Lin Ma [mailto:linma@v...]

Sent: quarta-feira, 13 de dezembro de 2000 04:29

To: ASP components

Subject: [asp_components] How to manager the com object's version in asp





How to change the com object's version?

How to force a new download to the cab file when a new version of com object

is updated?



Appreciate your help.



---

You are currently subscribed to asp_components as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_components-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index