External Com Control

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
PT
Senior Member
Posts: 147
Joined: Wed Apr 13, 2005 12:32 pm
Location: Hampshire.UK

External Com Control

Post by PT »

Scott



How do you call a task from an asp page?

What should the following say



Musicone = "ChangeValue.asp?etc

Should this be "ChangeTask.asp or something?

I have seen the execute task from the external control and it worked but not sure what format for asp page.
Regards

PT

If it isn't broke,fix it till it is!
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

If you're using the samples that are included with the plugin, checkout task.asp.



Generally though, you simply call ExecuteTask( providing the task name) on the HBControl object.
Scott
PT
Senior Member
Posts: 147
Joined: Wed Apr 13, 2005 12:32 pm
Location: Hampshire.UK

Post by PT »

Scott

Thanks for the quick reply.



I have been using the web control sample page as a guide with the ip ports etc completed. To this end I called the com object once at the start for any GetPropertyVAlue etc and then I have made a call ( on button click)to a modified task.asp as follows

musicone= "musiconetask.asp".



Should I just set up various task.asp with values as required or should I be calling the com object from within the page?
Regards

PT

If it isn't broke,fix it till it is!
Post Reply