NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on June 14, 2010, 09:50:51 AM
-
Hi,
I need to read a web page from within the Loging proc of a web server app.
I´ve modified the web4 example to show the problem (Attached)
I´ve added the HTTP_Downloadpage proc to read the web page(I use a proc from another NT example)
If you run the app attached as is you will see how the app hangs
If you uncomment the message line before the window open the message appears and the proc runs ok !?!?!?!?!?
I´ve tryed setting the window as mdi but theres no app, etc...
Is this a bug or must I do any to allow this proc to run?
Thanks
Alberto
[attachment deleted by admin]
-
I need your dict. If you send a C7 example app you MUST send the C7 dict.
This is because every time you convert the dict it gets new GUID's, so your converted dict is not the same as my converted Dict.
-
Understood, here it goes...
[attachment deleted by admin]
-
Hi Alberto,
I took your app and ran it here. I had to remove _all_ the Message statements though to make it work, as they are invisible if the window is hidden. But if all are removed then it works fine.
If you unhide the window you should be able to see it - but it goes very quickly.
Cheers
Bruce
-
Ok, I found the problem.
Try this, with all my messages removed.
Uncomment the 0{prop:hide} and it will hang.
If you comment it then it work.
The 0{prop:hide} is before the ThisWebClient.init()
If you move it after, then it works.
Alberto
-
hmm - works here both ways...
-
weird, I move the hide after in another app and it does not work, I have to leave the window unhide for it to work.
Windows Vista Home edition.
C72 NT5
No problem to leave the window unhide but...
Alberto