[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Intranet OCX 0.4 released
--------------040601050000050209000707
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Glenn,
www.mi4.biz/files/intranetocx/intranetocx_0_4b.zip
Set .xAPDisable to true before the .SystemStartup and pipe raw xAP
messages into .IncomingxAP sub (just web.service messages really)
Hopfully this will let you use the Intranet ocx for just the webserver.
Assuming the program is wanted to be part of the intranet then you will
need to send you own web.service messages though.
Let me know how you get on.
James
Stuart Booth wrote:
> On Tue, 11 Oct 2005 21:39:15 +0100, James <james@xxxxxxx> wrote:
>
>
>> I am assuming you can get the raw xAP message from the xFx
libraries,
>>
>
> Me! Me! I can answer that!! <waves arm in the air frantically>
>
> Sure you can.
>
> class xAPMessage has a property named Raw. This returns a
> xAPRawMessage object. This is essentially the raw text that arrived on
> receipt of a xAP message from the network. It's what gets cracked
> apart and stored internally to xFx in a xAPMessage object and its
> related classes. It's from this raw data object that xAPViewer can
> also display the raw bytes of an inbound xAP message in its popup
> message view windows.
>
> You just need to go ToString() on the xAPRawMessage object to get the
> original xAP message text, or use the Text and Length properties.
>
> After that you can pass it on to anything you like really, including a
> public OCX function once you've added xAPIntranet.OCX as a reference
> to the .NET application. I'm just having a peek at it in the object
> browser as I type.
>
> I also converted your sample app to .NET to give it a quick whirl, but
> there's a compiler error, and it's way past my bedtime now so the
> brain has turned itself off.
>
> Me.xAP_Intranet1 = New xAPIntranetOCX.xAP_Intranet
>
> The error is:
>
> 'xAPIntranetOCX.xAP_IntranetClass.Private Sub New()' is not
accessible in this context because it is 'Private'.
>
> I also had to change the reference to the xAPIntranet.OCX file.
>
> HTH,
>
> S
>
--------------040601050000050209000707
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Glenn,<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://www.mi4.biz/files/intranetocx/intranetocx_0_4b.zip">www.mi4.biz/files/intranetocx/intranetocx_0_4b.zip</a><br>
<br>
Set .xAPDisable to true before the .SystemStartup and pipe raw xAP
messages into .IncomingxAP sub (just web.service messages really)<br>
<br>
Hopfully this will let you use the Intranet ocx for just the webserver.
Assuming the program is wanted to be part of the intranet then you will
need to send you own web.service messages though.<br>
<br>
Let me know how you get on.<br>
<br>
James<br>
<br>
<br>
Stuart Booth wrote:
<blockquote
cite="midr2hok11qa6es2tsu84porso9t1q5tp4vea@xxxxxxx"
type="cite">
<pre wrap="">On Tue, 11 Oct 2005 21:39:15 +0100, James
<a class="moz-txt-link-rfc2396E" href="mailto:james@xxxxxxx"><james@xxxxxxx></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I am assuming you can get the raw xAP message
from the xFx libraries,
</pre>
</blockquote>
<pre wrap=""><!---->
Me! Me! I can answer that!! <waves arm in the air
frantically>
Sure you can.
class xAPMessage has a property named Raw. This returns a
xAPRawMessage object. This is essentially the raw text that arrived on
receipt of a xAP message from the network. It's what gets cracked
apart and stored internally to xFx in a xAPMessage object and its
related classes. It's from this raw data object that xAPViewer can
also display the raw bytes of an inbound xAP message in its popup
message view windows.
You just need to go ToString() on the xAPRawMessage object to get the
original xAP message text, or use the Text and Length properties.
After that you can pass it on to anything you like really, including a
public OCX function once you've added xAPIntranet.OCX as a reference
to the .NET application. I'm just having a peek at it in the object
browser as I type.
I also converted your sample app to .NET to give it a quick whirl, but
there's a compiler error, and it's way past my bedtime now so the
brain has turned itself off.
Me.xAP_Intranet1 = New xAPIntranetOCX.xAP_Intranet
The error is:
'xAPIntranetOCX.xAP_IntranetClass.Private Sub New()' is not accessible in
this context because it is 'Private'.
I also had to change the reference to the xAPIntranet.OCX file.
HTH,
S
</pre>
</blockquote>
<br>
<!-- **begin egp html banner** -->
<br><br>
<div style="width:500px; text-align:right; margin-bottom:1px;
color:#909090;">
<tt>SPONSORED LINKS</tt>
</div>
<table bgcolor=#e0ecee cellspacing="13"
cellpadding="0" width=500px>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Palm+developer&w1=Palm+developer&w2=Filemaker+developer&w3=Sql+developer&w4=Computer+internet+security&w5=Web+developer&w6=Developer+tool&c=6&s=135&.sig=s-VhzdIgQqxUdEajDGtCdQ">Palm
developer</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Filemaker+developer&w1=Palm+developer&w2=Filemaker+developer&w3=Sql+developer&w4=Computer+internet+security&w5=Web+developer&w6=Developer+tool&c=6&s=135&.sig=lGgnefWZwGisM8FwbeG8Wg">Filemaker
developer</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Sql+developer&w1=Palm+developer&w2=Filemaker+developer&w3=Sql+developer&w4=Computer+internet+security&w5=Web+developer&w6=Developer+tool&c=6&s=135&.sig=RCEEysgM658XhXL6fkmVHA">Sql
developer</a></tt>
</td>
</tr>
<tr valign=top>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Computer+internet+security&w1=Palm+developer&w2=Filemaker+developer&w3=Sql+developer&w4=Computer+internet+security&w5=Web+developer&w6=Developer+tool&c=6&s=135&.sig=bIm18F_2jJUWqlxWaPuKKA">Computer
internet security</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Web+developer&w1=Palm+developer&w2=Filemaker+developer&w3=Sql+developer&w4=Computer+internet+security&w5=Web+developer&w6=Developer+tool&c=6&s=135&.sig=rL25Ohn9r_NpW8Pscbl4kg">Web
developer</a></tt>
</td>
<td style="width:25%;">
<tt><a href="http://groups.yahoo.com/gads?t=ms&k=Developer+tool&w1=Palm+developer&w2=Filemaker+developer&w3=Sql+developer&w4=Computer+internet+security&w5=Web+developer&w6=Developer+tool&c=6&s=135&.sig=ps2RfkQzNqD_ZJvU3Sakhw">Developer
tool</a></tt>
</td>
</tr>
</tr>
</table>
<!-- **end egp html banner** -->
<!-- **begin egp html banner** -->
<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
<tt>YAHOO! GROUPS LINKS</tt>
</div>
<br>
<ul>
<tt><li type=square> Visit your group "<a
href="http://groups.yahoo.com/group/xAP_developer">xAP_developer</a>"
on the web.<br> </tt>
<tt><li type=square> To unsubscribe from this group,
send an email to:<br> <a href="mailto:xAP_developer-unsubscribe@xxxxxxx?subject=Unsubscribe">xAP_developer-unsubscribe@xxxxxxx</a><br> </tt>
<tt><li type=square> Your use of Yahoo! Groups is
subject to the <a href="http://docs.yahoo.com/info/terms/">Yahoo!
Terms of Service</a>.</tt>
</ul>
<br>
<div style="text-align:center; color:#909090;
width:500px;">
<hr style="border-bottom:1px; width:500px;
text-align:left;">
</div>
</br>
<!-- **end egp html banner** -->
</body>
</html>
--------------040601050000050209000707--
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|