Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] 3 little questions for which I can't find answer
#9
Nope, only local is returned.

Anyway, i managed to do it by a workaround :

d.InitFromWeb("http://votreip.free.fr/")
str s=d.GetText
str n
str pattern="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}"
if(findrx(s pattern 0 8 n)<0) out "does not match"; ret
n.trim(pattern)
out "Mon IP Publique est %s" n

Anyway to improve it?

Now, I tried to compile it as an exe.

I get an error on launching the program : Error (RT) in HtmlDoc.InitFromText: 0x80040154, Classe non enregistrée

Help?

kind regards,
Laurent.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)