Skip to content
General IRCX

any1 know what im doin wrong with nHTMLn?

A TG007 community discussion started by Shadow0049.

Discussion 11 posts
Page 1 of 1
Open
Topic #1986 · 11 published posts · 2,649 views

well.. i got the browser to attach to the window.. but i cant SEE the webpage it loads. If i mouse over on one of the links (which i cant see) i can click and a new page loads that I STILL CANT SEE!!! will some1 please help.. heres the code

alias html { return $+(",$scriptdirdll\nHTMLn_2.9.dll,") }
alias mdx { return $+(",$mircdirsystem\dll\mdx.dll,") }
alias rsn { 
 window -p @rsn
 echo -a $dll($html,attach,$window(@rsn).hwnd)
 echo -a $dll($html,select,$window(@rsn).hwnd)
 .timer 1 1 //echo -a $dll($html,navigate,http://www.mircscripts.org)
}

wrong forum perhaps?

The Ignition Project | http://www.ignition-project.com/

Registered Linux User Number 368435

 

Hardware: AMD Athlon 64 3500+, DFI nF4 SLI Infinity, 1GB Dual Channel DDR400, 250GB Western Digital 2500 SE16 SATA II @7200rpm, 200GB Seagate 3200A UATA-133 @7200rpm, NVIDIA GeForce 6800GS OC'ed, 20" Apple Cinema Display

 

alias html { return $scriptdir $+ dll\nHTMLn_2.92.dll }
alias mdx { return $mircdir $+ system\dll\mdx.dll }
alias rsn { 
window -p @rsn
echo -a $dll($html,attach,$window(@rsn).hwnd)
echo -a $dll($html,navigate,www.mircscripts.org)
} 

My code does NOT have bugs. It just develops random features.

alias html return $+(",$scriptdir,dll\nHTMLn_2.9.dll,")
alias mdx return $+(",$mircdir,system\dll\mdx.dll,")

 

ozzy's code is correct, the one that i posted is in the same format as you want it, but this one should work.

i think the main reason it didnt work , is cause it looks like the file name was incorrect

 

alias html { return $+(",$scriptdirdll\nHTMLn_2.9.dll,") }

 

should be

 

alias html { return $scriptdir $+ dll\nHTMLn_2.92.dll }

 

note the bit in red

My code does NOT have bugs. It just develops random features.

no u guys arent getting it.. the page loads alright.. i just cant see it at all.. the page still hs the mouseover event where the arrow turns into a hand.. i just cant see any of the page. im wondering if this problem is just on my computer?

 

somebody run my code on your computer and see how it works..

 

alias html { return $+(",$scriptdirdll\nHTMLn_2.9.dll,") }
alias mdx { return $+(",$mircdirsystem\dll\mdx.dll,") }
alias rsn {
window -p @rsn
echo -a $dll($html,attach,$window(@rsn).hwnd)
echo -a $dll($html,select,$window(@rsn).hwnd)
.timer 1 1 //echo -a $dll($html,navigate,http://www.mircscripts.org)
}

I wouldn't think so, hence it runs out of mIRC, in which turn is basic html, if your browser can display html, then its not your computer. Although it could be your mIRC version, if its been tampered with, or possibly the code your using simply isn't working unsure.gif

 

Just my theory though...

 

Edited Nov 25, 2004 3:06 AM by Glitch

what is the exact name of the dll

cause i think ya either using an older version or have the name wrong

 

My code does NOT have bugs. It just develops random features.

Try taking the...

 

echo -a $dll($html,select,$window(@rsn).hwnd)

 

...out of the script. The Select is used when calling a default browser. However, when you use the navigate function it already uses a default browser. So, the select function won't be needed.

 

Also, you don't need to use echo -a. Just use everything else after it. It should work just fine.

yes i am using and older version... i wanted the official version of it not one the other people had added to. its version nHTMLn_2.9.dll that im using.

 

Edited Nov 25, 2004 7:30 PM by Shadow0049

lol, I think theres a reason they are more (newer) versions of it tongue.gif

Edited Nov 25, 2004 7:51 PM by Glitch