mIRC Home    About    Download    Register    News    Help

Print Thread
nHTMLn.dll ?? #73105 29/02/04 01:30 AM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
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

Re: nHTMLn.dll ?? #73106 01/03/04 04:22 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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.)

Re: nHTMLn.dll ?? #73107 01/03/04 08:36 PM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
Where do ya get this dll from? laugh

Re: nHTMLn.dll ?? #73108 01/03/04 08:40 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922

Re: nHTMLn.dll ?? #73109 01/03/04 09:07 PM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
Cheers Mate! grin

Re: nHTMLn.dll ?? #73110 02/03/04 11:45 AM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
NVM I got it fixed. Thanks lots. grin

Last edited by rpg_gamer; 02/03/04 11:50 AM.
Re: nHTMLn.dll ?? #73111 06/03/04 01:05 AM
Joined: Mar 2003
Posts: 187
S
Soul_Eater Offline
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2003
Posts: 187
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>

Last edited by ParaBrat; 07/03/04 05:48 AM.
Re: nHTMLn.dll ?? #73112 06/03/04 05:29 AM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
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.

Re: nHTMLn.dll ?? #73113 08/03/04 09:14 PM
Joined: Mar 2003
Posts: 187
S
Soul_Eater Offline
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2003
Posts: 187
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.

Re: nHTMLn.dll ?? #73114 09/03/04 05:40 AM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
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.

Re: nHTMLn.dll ?? #73115 28/03/04 02:12 AM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
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.

Re: nHTMLn.dll ?? #73116 28/03/04 08:46 AM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
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/)
}

Re: nHTMLn.dll ?? #73117 05/04/04 06:13 AM
Joined: Mar 2003
Posts: 612
B
billythekid Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
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.


billythekid
Re: nHTMLn.dll ?? #73118 23/07/04 04:54 AM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
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

Re: nHTMLn.dll ?? #73119 23/07/04 08:17 PM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline
Vogon poet
Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
maybe your script should be in dir that dont contain spaces (Program Files)... why just not use \Script\subfolder\... with no spaces... imo

Re: nHTMLn.dll ?? #73120 23/07/04 09:16 PM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
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.

Re: nHTMLn.dll ?? #73121 01/08/04 12:27 AM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
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.

Re: nHTMLn.dll ?? #73122 01/08/04 12:41 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Try to open a picture window: /window -p @@

If that doesn't help, paste all your code so we can try it ourselves.

Re: nHTMLn.dll ?? #73123 02/08/04 03:18 AM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
{ 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?

Re: nHTMLn.dll ?? #73124 02/08/04 04:28 AM
Joined: Jun 2003
Posts: 40
R
rpg_gamer Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
Nevermind, I got it running again. Thanks anyways. grin