Discussion Locked

Push using ASP

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

13 replies

by andrew

If the EXE is an ActiveX server, you can instantiate it with Server.CreateObject, and call methods on its interface.

by dwtk9

The exe resides on a client. What I want to achieve is like a yahoo or msn messenger where once you recieve e-mails it will then send you notification on the client machine

by dwtk9

The exe resides on a client. What I want to achieve is like a yahoo or msn messenger where once you recieve e-mails it will then send you notification on the client machine

by fixone

if you will spy on the requests MSN or yahoo are doin' you will see that (at least in this case) there's no push, instead the clients are sending requests on a predefined time interval

by estebandelatorre

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 bucky kaufman (mcsd)

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

This discussion is closed to new replies.