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: xPLComfort install trouble




Hi John,

> > I managed to get something like that working already. But
shouldn't I check that the
> > incoming message is of the expected class (or schema I guess is
the right term in xPL
> > land) for completeness?
>
> Yes - it wouldn't do any harm.
Do you have any sample code? I know it should be simple, but I've only been
using the
built in text editor, so it doesn't give any clues as to what methods are
available.

>
> > Next step is indeed conversion to names (along with phone number
to names). Got a
mysql DB
> > on a linux server...now will try and work out how to use mysql
from VB. I guess it's
not
> > hard.
>
> Just install the myODBC drivers for mySQL, and you should be able to
connect to it from
VBScript just like any other database.
>
> I have a script in xPLHal that looks up a name from an SQL server
database - I'd be
happy to share it if you feel it will be useful.
Yes please. I installed the ODBC drivers and then got very confused looking
at the MS docs
when looking for what to do next. I know this is simple, but I'm a
c/c++/java/perl/unix
programmer and not vb/.net! For now I've got it working with a long Select
Case statement
instead. Not ideal, but it does work :-)

Thanks,
Paul





xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

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.