mIRC Homepage
Posted By: pouncer com objects - 09/04/06 10:12 AM
is there any way i can use vb's webbrowser component ,or somethign similar in mIRC using $com?
Posted By: FiberOPtics Re: com objects - 09/04/06 11:19 AM
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.
Posted By: pouncer Re: com objects - 09/04/06 11:24 AM
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?
Posted By: FiberOPtics Re: com objects - 09/04/06 11:49 AM
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
Posted By: pouncer Re: com objects - 09/04/06 12:09 PM
thanks alot. but with ssl sites its not possible to log in using sockets?
Posted By: hixxy Re: com objects - 09/04/06 12:30 PM
mIRC has SSL sockets now: /sockopen -e
Posted By: TheGateKeeper Re: com objects - 09/04/06 01:48 PM
i tried the -e tag, and it never makes it to the on sockopen event, it automatically sockcloses. Any reason for this?
Posted By: hixxy Re: com objects - 10/04/06 03:11 PM
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.
Posted By: TheGateKeeper Re: com objects - 11/04/06 12:55 PM
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.
Posted By: Mpdreamz Re: com objects - 13/04/06 08:12 PM
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.
© mIRC Discussion Forums