-
December 6th, 2002, 05:01 PM
#1
Call or click a button on remote application using DECOM
I have created an application that is automated on a remote machine. Periodically this application updates it's schedule from a database. There is also a menu Schedule->update that I can select to manually update the schedule.
Is there a way to select the update on the menu or call the function update on the applicatin through DECOM using Asp on a web page. Currently, using ASP I can see what the application is doing but I need it to access this update functionality on the remote application.
Mike@spb
-
December 7th, 2002, 07:02 AM
#2
Expose that "menu Schedule->update" method via DCOM interface and call it remotely. Anyway menu is only the UI tool for invocation of inner methods.
Best regards,
Igor
-
December 10th, 2002, 12:46 PM
#3
Not sure what you mean. How do I call it remotely using ASP. Do I setup the DCOM parameters to access my application and then just call the function. I am new to this and am confused.
What I am doing is I have created a windows media automation tool and have modified Microsofts remote administration web page to view the encoder. I want to be able to directly access my application. Microsoft's sample remote administration web page just access the windows media encoder engine and not my application.
Mike@spb
-
December 11th, 2002, 01:28 AM
#4
I know that there is second parameter in CreateObject function in VBS. May be it helps.
This is a example from MSDN:
The following code returns the version number of an instance of Excel running on a remote network computer named "myserver":
Function GetVersion
Dim XLApp
Set XLApp = CreateObject("Excel.Application", "MyServer")
GetVersion = XLApp.Version
End Function
-
December 11th, 2002, 02:51 PM
#5
I tried the sample and could not get it to work. I have an application residing on a remote machine and I want to createobject("MyApp.Application", "ServerIP"). Then I want to call a function on MYApp.FunctionName(CurTime). Would this be correct. Not sure of the proper syntax to call the FunctionName(). Can you point me in the right direction or get me samples of how to make this work.
Thanks in advance,
Mike@spb
-
December 13th, 2002, 03:42 AM
#6
I tried the sample and could not get it to work.
Why?
I have an application residing on a remote machine
Is this DCOM-server?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|