Link to home
Start Free TrialLog in
Avatar of has
has

asked on

VBScript, IE4, exe server, event handling

when an object resides within an exe server, HTML
<OBJECT ... > CREATION does not work, due to security
reasons ??? so I wish to create it with CreateObject
within VBScript part of HTML file.but then I dont know how
to handle events idcontrol_eventfunction does not work,
at least I could not make it work. (for dll servers I know
this works if <OBJECT > is used to create the object).
I like to hear ideas as comments please unless you got the
answer. please do not say no solution either for an answer.
thanks.
Avatar of Mirkwood
Mirkwood

Events won't work in a client server situations. The reason for this that events are a callback mechanism. The server calls code from the client. To do this the server needs access priviledges on the client, which is not does have of course. It's the same with regular DCOM. Events won't work either unless the server is granted access rights on the client and the client is a DCOM server too.

This is the same reason why <object>CREATION does not work.
Avatar of has

ASKER

I am sorry but exe sever works perfectly in VB, VBA in excel,
and VC++ client. Only IE4 does not launch it if it is exe.
for this reason, I wish to create it from VBScript by CreateObject (wich he does create the object, and I can use the methods) and some how be able to get event calls.
I said DCOM not COM.
Trying doing it remotely. So on two different machines. You will see that I am right.
ASKER CERTIFIED SOLUTION
Avatar of sen999
sen999

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial