mIRC Homepage
Posted By: rpg_gamer nHTMLn.dll ?? - 29/02/04 01:30 AM
I want to make mirc open a browser and refresh the page every 10 seconds, I know it has something to do with nHTMLn.dll and I have that file. Although I have the file I am not sure how to make it do what I want, if you could help me I will appreciate it very much so.

~rpg~ confused
Posted By: Online Re: nHTMLn.dll ?? - 01/03/04 04:22 PM
nHTMLn.DLL comes with a nice html documentation. Here's an example that opens yahoo.com and refreshes the page every 30 seconds: //window @@ | dll $nhtmln attach $window(@@).hwnd | dll $nhtmln navigate w[/i]ww.yahoo.com | .timerREFRESH 0 30 dll $nhtmln refresh

($nhtmln is a custom identifier that returns the path to nHTMLn.dll. I recommend you to use it this way.)
Posted By: Jae Re: nHTMLn.dll ?? - 01/03/04 08:36 PM
Where do ya get this dll from? laugh
Posted By: Online Re: nHTMLn.dll ?? - 01/03/04 08:40 PM
http://www.mircscripts.org/comments.php?id=1439
Posted By: Jae Re: nHTMLn.dll ?? - 01/03/04 09:07 PM
Cheers Mate! grin
Posted By: rpg_gamer Re: nHTMLn.dll ?? - 02/03/04 11:45 AM
NVM I got it fixed. Thanks lots. grin
Posted By: Soul_Eater Re: nHTMLn.dll ?? - 06/03/04 01:05 AM
the help file is very simple, in fact i havent come across a hard help file yet. <name calling deleted by moderator>

<moderator note: there's no need for name calling and insults, please use common courtesy here>
Posted By: Watchdog Re: nHTMLn.dll ?? - 06/03/04 05:29 AM
in fact i havent come across a hard help file yet.

Oh well excuse the rest of the human race for not meeting your exceptional standards.
Posted By: Soul_Eater Re: nHTMLn.dll ?? - 08/03/04 09:14 PM
I cant remember what name-calling I used now =\
oh well.

"Oh well excuse the rest of the human race for not meeting your exceptional standards. "

No seriously, people who write help files make them very simple, and easy to understand, I know this because I have written .hlp s myself. There is nothing hard about the mIRC help, MDX help, nHTMLn help, DmU help, any help file I have come across is very easy for the user to understand. How it is challenging, someone has yet to explain to me. It's laziness on the users part to actually read the documentation is what it is.
Posted By: Watchdog Re: nHTMLn.dll ?? - 09/03/04 05:40 AM
You called the other user a moron which does nothing to promote the advantages of help forums whether they are message boards, help rooms, email service or whatever. If helpers are to be trusted and appreciated then some of them need to lose the "I'm God" attitude and appreciate that some people either find English difficult to understand or help files, which are hardly ever written in a layman's version of English, difficult to understand.

I have written help files, tutorials, help pages on websites (including my own) and have been an oper for a number of years on the IRC network I use. At no stage did I need to call someone a moron because they required me to elaborate on instructions/assistance.

Some people find it difficult to ask others for help - it's either embarrassing for them or they may lack the communications skills to ask the question without looking stupid, especially in this computerised world we live in, where knowing little or nothing about computers renders one liable to be placed in a knowledge underclass by those that think they know it all.

For all you know the user may have read the help file that came with Necroman's DLL, or the user may have got the DLL from a script instead of the official download and therefore may not have come with the help file - the user didn't mention either way. The DLL has come with my script for at least three years and I don't include the help file with it as I include all the functions required as part of the script.

If the user does have the help file, it's not a crime to remind them of this fact but you could have been far more dimplomatic about it, even if only noting what I said in the first paragraph.
Posted By: rpg_gamer Re: nHTMLn.dll ?? - 28/03/04 02:12 AM
Another problem, I erased my hard drive and now I have everything downloaded and put back the way it was before. But now it won't show the graphics. confused If you know how to fix this, post.

Thanks in advance.
Posted By: Watchdog Re: nHTMLn.dll ?? - 28/03/04 08:46 AM
You mean the images from a website won't show in mIRC? Not sure why as I tried a few ways of breaking my alias and nothing gave me an image-free site. Try this in your alias file and see if it works. (Don't forget to change the filepath to the DLL, and of course the homepage)

Code:
ie {
  window -ak0p @Browser 0 0 800 600
  var %bs.bs $dll(nHTMLn.dll,attach,$window(@Browser).hwnd) 
  var %bd.bd $dll(nHTMLn.dll,navigate,http://iserv.com.au/)
}
Posted By: billythekid Re: nHTMLn.dll ?? - 05/04/04 06:13 AM
Quote:
No seriously, people who write help files make them very simple, and easy to understand
you wanna read the turbo pascal help file. I have been trying to use that for ages but its not as clear as you would hope, this is one of the main reasons i script in mIRC, fantastic help files.
Posted By: rpg_gamer Re: nHTMLn.dll ?? - 23/07/04 04:54 AM
I think I have everything in order and I'm trying to get it working again after my wipe, so I type //window @@ | dll $nhtmln attach $window(@@).hwnd | dll $nhtmln navigate www.yahoo.com | .timerREFRESH 0 30 dll $nhtmln refresh in the bar and press enter and it says:

* /dll: unable to open 'C:\Program Files\mIRC\attach'

What is the problem, I have tried renaming the file cause it was nhtml_2.9.dll or something like that and I thought it might not recognize it, but that didn't help any, if anyone could figure this out I'd appreciate it very much so. Thanks in advance. confused
Posted By: ShinZon Re: nHTMLn.dll ?? - 23/07/04 08:17 PM
maybe your script should be in dir that dont contain spaces (Program Files)... why just not use \Script\subfolder\... with no spaces... imo
Posted By: rpg_gamer Re: nHTMLn.dll ?? - 23/07/04 09:16 PM
that doesn't seem to work....is there something I need to add in my remotes or aliases or anything like that? confused I really wish I could get this working again.
Posted By: rpg_gamer Re: nHTMLn.dll ?? - 01/08/04 12:27 AM
I got the thing fixed with the error, but now when I open it, the screen of that box where it's supposed to display the internet page, it is only a brownish color and it seems to be loaded when I mouse over things it changes like I can click it, but I still have no graphics... How do I fix this? thanks to anyone who knows it.
Posted By: Online Re: nHTMLn.dll ?? - 01/08/04 12:41 AM
Try to open a picture window: /window -p @@

If that doesn't help, paste all your code so we can try it ourselves.
Posted By: rpg_gamer Re: nHTMLn.dll ?? - 02/08/04 03:18 AM
{ window -ak0p @Browser 0 0 800 600 var %bs.bs $dll(nHTMLn.dll,attach,$window(@Browser).hwnd) var %bd.bd $dll(nHTMLn.dll,navigate,http://iserv.com.au/)}

got that in alias, using the nhtmln.dll in my mirc folder, and

alias nhtmln { return nHTMLn.dll}

that in remotes.

Do I need anything else?
Posted By: rpg_gamer Re: nHTMLn.dll ?? - 02/08/04 04:28 AM
Nevermind, I got it running again. Thanks anyways. grin
© mIRC Discussion Forums