rcmerlin
January 12th, 2003, 03:53 PM
I am trying to 'call' a web hosted php program/script from a VB.Net aplication.
The script has no output, but needs to run every day.
I have set a timer to trigger at the correct intervals,
But don't know what i don't know.
I have everything done, but I cannot find how to call the url.
I think it used to be an OpenURL call in an older activeX control, but I cannot locate the current equivalent in .Net. There is also a method in Wininet.dll, but it does not seem to referenceable from VB.NET
Please help.
Thanks
...
Friend WithEvents Timer1 As System.Windows.Forms.Timer
Private Sub Timer1_Tick(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Timer1.Tick
Dim url AS String = "http://www.stuff.com/doit.php
'somthing like...
result = INETService.OpenURL( url )
End Sub ' tmrClock_Tick
:confused:
The script has no output, but needs to run every day.
I have set a timer to trigger at the correct intervals,
But don't know what i don't know.
I have everything done, but I cannot find how to call the url.
I think it used to be an OpenURL call in an older activeX control, but I cannot locate the current equivalent in .Net. There is also a method in Wininet.dll, but it does not seem to referenceable from VB.NET
Please help.
Thanks
...
Friend WithEvents Timer1 As System.Windows.Forms.Timer
Private Sub Timer1_Tick(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Timer1.Tick
Dim url AS String = "http://www.stuff.com/doit.php
'somthing like...
result = INETService.OpenURL( url )
End Sub ' tmrClock_Tick
:confused: