mIRC Home    About    Download    Register    News    Help

Print Thread
com objects #146825 09/04/06 10:12 AM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
is there any way i can use vb's webbrowser component ,or somethign similar in mIRC using $com?

Re: com objects #146826 09/04/06 11:19 AM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
There are some things you can do with $com() and a webbrowser component, though it's more or less useless because of the string too long limit in mIRC. There are also ways to use VBscript etc, though before we get there, you're gonna have to be a bit more specific about what you are planning to do.


Gone.
Re: com objects #146827 09/04/06 11:24 AM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
thanks for the reply. i want to try and sign into my net passport using com objects, its basically a messenger application im working on. it can be done by sockets but i want to test it with com objects, any ideas?

Re: com objects #146828 09/04/06 11:49 AM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
There are some COM objects like the XMLHTTP one, and the WINHTTP one, which allow you to make HTTPS connections, that will probably help you on your way.

Someone once posted some code that uses the winhttp progid here

You can find documentation on MSDN for this object here


Gone.
Re: com objects #146829 09/04/06 12:09 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
thanks alot. but with ssl sites its not possible to log in using sockets?

Re: com objects #146830 09/04/06 12:30 PM
Joined: Sep 2005
Posts: 2,876
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,876
mIRC has SSL sockets now: /sockopen -e

Re: com objects #146831 09/04/06 01:48 PM
Joined: Dec 2004
Posts: 22
T
TheGateKeeper Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Dec 2004
Posts: 22
i tried the -e tag, and it never makes it to the on sockopen event, it automatically sockcloses. Any reason for this?

Re: com objects #146832 10/04/06 03:11 PM
Joined: Sep 2005
Posts: 2,876
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,876
SSL sockets are a bit buggy at the moment but they're supposedly fixed for the next version. There could be something wrong with your code though.

Re: com objects #146833 11/04/06 12:55 PM
Joined: Dec 2004
Posts: 22
T
TheGateKeeper Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Dec 2004
Posts: 22
i used the dlls to activate the -e switch, it works good now. So yea, guess we'll need to wait till the new mIRC is out.

Re: com objects #146834 13/04/06 08:12 PM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
To the OP i very much doubt its possible to put a VB Control on to a mIRC Dialog. It requires really specific api calls and i doubt a COM object is actually built for that purpose.


$maybe