How would I make a Visual Basic application talk to a web server? Someone will press something on the site and I want the application to display the information that the web site passes along to it.
A:
I suspect there are lots of ways to do this but simplest would be for the web application to write stuff into a database which the VB app displays. Unless I'm missing the obvious?
Rob Nicholson
2010-06-03 13:55:00
Yes but I need more specifics, how do I have the VB app detect the change?
Bubby4j
2010-06-03 13:56:31
A:
one way in SQL 2005/2008 would be to use xp_cmdshell
Example:
EXEC xp_cmdshell 'dir *.exe';
GO
This could be placed inside the stored procedure that does the insert/update etc.
This would run a custom executable, that in turn can 'communicate' with your VB application.
Darknight
2010-06-03 14:16:43