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: SlimP3 - XPL = Homeseer 2


  • Subject: Re: SlimP3 - XPL = Homeseer 2
  • From: "JohnQuirk" <johnquirk@xxxxxxxxx>
  • Date: Fri, 26 Aug 2005 09:55:18 -0000

Hi John,
Good to hear from you again. I can confirm that the script works
fine outside of XPL, which is what I'm finding so frustrating.

Any advice on debugging.

Thanks

JohnQ


--- In ukha_xpl@xxxxxxx, "John B" <home-automation@j...>
wrote:
> Hi John,
>
> As Tony says, this looks like a problem creating the HS object.
> CreateObject should work fine from within xPLHal - I use it to do
stuff
> with databases using ADO.
>
> Can you try putting the following lines into a file in Notepad:
>
> Set hs = CreateObject("HomeSeer.Application")
> hs.Writelog "XPL","M2"
> hs.ExecX10 "M2", "on", 0, 0
> Set hs = Nothing
>
>
> Then save it as a VBS file and try running it.
>
> If it fails with the same error (Object variable or with block
variable
> not set) then you know it's an error within HS.
> If it works, then we need to look at why it doesn't work from
within
> xPLHal.
>
> HTH,
>
> John





xPL Main Index | xPL Thread Index | xPL 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.