hi
Im trying to use the webbrowser control on a form, keeping it hidden. However, it doesnt seem to open my url properly. The html document is local but on the network and its path is
\\10.0.0.3\u1\NTProfiles\Craig\My Documents\Programs\ENService\*.html
I have put a star because a unique number is generated for the file and the file copied using the current system time.
The url contains a lot of javascriupt which is required, so im not sure if thats the problem. I was using the Inet control, but i didnt have much luck with that either.
The call i am making on the webbrowser control is as follows:
Is there a way to interact with Internet Explorer while keeping it invisible or another way that would make this work? The HTML document also contains a form that posts data to a remote location. The HTML doc also submits this onload using the following JavaScript:Code:With frmMain.brsSnd .Stop .Navigate App.Path & "\" & strNewFile Do While .Busy DoEvents Loop .Stop End With
the action control on form sendsms is the submit buttonCode:function LoadDoc() { number() checkIfNum(document.sendsms.RECIPIENT.value,0) document.sendsms.action.focus() document.sendsms.action.click() }
Any ideas, any at all please lend them. Thanx.


Reply With Quote