Push using ASP
Hi ,
I would like to know how to code an ASP code that will be able to push some information to an "exe" that is running.
Web Development
Hi ,
I would like to know how to code an ASP code that will be able to push some information to an "exe" that is running.
by andrew
by dwtk9
by dwtk9
by dwtk9
by fixone
by dwtk9
You will have to develop an activex control that you should install when your client access your web site, and...
1.- Make this activex control "Chat" with your exe file, which I found it very hard to do, but all depends on how your exe file works or do.
2.- Make your activex control your exe file, that is to replace the exe that you want to manage, and control it via web.
Many "Notify" services works like this.
The client launches the notify.exe program, and the .exe start pooling a database (remote or not) every 1, 3 or five minutes and if if finds a match, it popups a message with ths subjetc of the message.
by dwtk9
There's three good ways to get ASP (or HTML) to reference an application on the client - The Object tag, the Metadata tag, and the VBScript CreateObject (NOT Server.CreateObject) command.
Server.CreateObject() will NOT work, because it would launch the client .exe (or DLL) on the Server.
Any of the three will reference the client application, allowing you to manipulate it with VBScript or JavaScript:
1.
2.
3. CreateObject("MyServer.Listener")
If it is important which version of the ActiveX server the client is using (as is often the case with ADO), you can use the METADATA tag to reference the UUID of the COM object like so...
vs.
This also works with the
by dwtk9
by cmoss
Please see Q250983 at:
http://support.microsoft.com/support/kb/articles/q250/9/83.asp
by dwtk9
by dwtk9
This discussion is closed to new replies.
Sort by Trending