-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: BanupriyaVelmurugan
Message 6 in Discussion

Hi Raagz,   I added the code as follows   Protected Overrides Sub OnStart(ByVal args() 
As String)
  ' Add code here to start your service. This method should set things
  ' in motion so your service can do its work.
  MakeURLRequest()
End Sub   Protected Overrides Sub OnStop()
  ' Add code here to perform any tear-down necessary to stop your service.
End Sub   Private Sub MakeURLRequest()
  Dim client As New WebClient
  Dim bytedata As Byte()
  Dim strURL As String
  strURL = "http://localhost/birthday/birthdaymail.aspx";
  bytedata = client.DownloadData(strURL)
End Sub   How to execute the windows service... It produces the following error 
message on execution.   Cannot start service from the command line or a debugger.  A 
Windows Service must first be installed (using installutil.exe) and then started with 
the ServerExplorer, Windows Services Administrative tool or the NET START command.   
How to go with this error?   Thanx & Regards, Banu

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to