all groups > dotnet myservices > february 2005
Passing startup parameters to a .NET service
Posted by Dave Hall at 2/25/2005 11:03:43 AM
How do I pass arguments at the startup of my service derived from
ServiceBase?
I have added code in the overidden OnStart(string[] args) function to use
the args parameter, but when I try to edit the Startup Parameters in the
Control Panel Sercices Applet, the applet won't save the value I pro... more >>
First Time Service....(cross posted)
Posted by Zac Maclean at 2/24/2005 2:18:02 PM
Looking for some pointers, tutorials, online help to get me going.
I need to write a service that monitors a SQL server agent (replication) and
will run basically a macro in an Office program to update certain files
maintained in the DB.
Basic flow:
User fires replication event, updating ... more >>
How do I get hWnd in a .NET service with no UI?
Posted by Dave Hall at 2/16/2005 1:54:34 PM
Sorry for the cross post. I discovered hhis newsgroup after my original
posting in microsoft.public.dotnet.framework newsgroup and thought it fit
better here.
I have a 3rd party library that requires a non zero hWnd parameter as a
parameter to one of it's functions. I need to ue this library i... more >>
SHDocVw
Posted by SLE at 2/14/2005 2:04:29 PM
Hi there,
The following code does not work from a .NET service:
Private Sub EnumIEWindows()
Dim sw As SHDocVw.ShellWindows
Dim ie As InternetExplorer
Try
sw = New SHDocVw.ShellWindows
For Each ie In sw
Debug.W... more >>
Windows Service Problem
Posted by John Rebocho at 2/8/2005 2:59:25 PM
I made a service in Studio .NET 2003 for windows. The problem is when the
service is installed on a PC with Studio .NET 2003 installed on it, the
service runs all the .exe's it is coded to, but when I install the service
on a PC with out Studio .NET 2003 it does not run the .exe's in the code.
A... more >>
How to install 2 times the same Service?
Posted by DraguVaso at 2/4/2005 1:02:24 PM
Hi,
I developped a Windows Service in VB.NET (2005).
I need to have it installed two times on 1 machine. When I want to install
it a second time, the setup doesn't allow me to install it again in an other
directory, but only to repair or remove the other version.
I get arround this by sim... more >>
|