The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xAPIntranet OCX Questions



This should work ok:
sMsg = "audio.transport" & Chr(10) & "{" &
Chr(10)
sMsg = sMsg & "command=pause" & Chr(10) &
"}" & Chr(10)
bxAPSend = xAPProcessor.SendxAPX("",
"xap-audio.transport", sMsg, "01", "Zone1")

I removed xAPProcessor.xAPSourceName  as it would mean the message sent
would be targetted back into floorplan, unless that was then plan?

I recently made a small application using the intranet ocx for Paul that
xAP enabled his rather impressive fish
tank.(http://www.siliconpixel.com/gallery/FishTank)
It used the ocx and read data from an access database and simply sent
xapbsc.info messages with the results. It also generates an inrtanet web
page with the data and an rss feed as well. It can also run as a
service. The app and the source code (vb6) can be found here:
http://www.mi4.biz/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=82&ttitle=Fish_Tank_demo
in particular the sendinf of the xapbsc.info messages uses the SendxAPX
function

hth

James



harley0922 wrote:

>I am trying to send a xAP message with the SendxAPX function and the
>message does not get sent and the return value is false.  See code
>below.
>
>sMsg = "audio.transport" & Chr(10) & "{"
& Chr(10)
>sMsg = sMsg & "command=pause" & Chr(10) &
"}" & Chr(10)
>
>bxAPSend = xAPProcessor.SendxAPX(xAPProcessor.xAPSourceName, "xap-
>audio.transport", sMsg, "FF072101", ":Zone1")
>
>Any ideas?
>
>Rick
>
>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.