Hi



My vb winform app updates between site sql server and in house access db.
The app needs to always run and is in the start-up of client's sbs 2003
(windows 2003) server. Problem is if client restart server and forget to
login the app does not run. I am resisting doing it as a service as a
service has some development restriction as well as installation
complications making it difficult to debug too among other things. What is
the best solution to this situation? Should I go the service route? In which
case is there an easy way to convert a winform app (with a visible form -
for monitoring purpose) to service type app?



Thanks



Regards

Re: Application type question by Charlie

Charlie
Thu May 24 09:17:06 CDT 2007

On May 24, 8:57 am, "John" <J...@nospam.infovis.co.uk> wrote:
> Hi
>
> My vb winform app updates between site sql server and in house access db.
> The app needs to always run and is in the start-up of client's sbs 2003
> (windows 2003) server. Problem is if client restart server and forget to
> login the app does not run. I am resisting doing it as a service as a
> service has some development restriction as well as installation
> complications making it difficult to debug too among other things. What is
> the best solution to this situation? Should I go the service route? In which
> case is there an easy way to convert a winform app (with a visible form -
> for monitoring purpose) to service type app?
>
> Thanks
>
> Regards

You might be able to place a reference in the registry under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

This will start software at bootup of a machine, in may be a different
key under SBS2003, I don't have that OS here to look at.


Re: Application type question by macleod

macleod
Thu May 24 09:57:54 CDT 2007

The "Run" hive only runs the apps after a user logs in. The only way to
start this without the user logging in is to set it up as a service.

From the sounds of it, you need to go through and get your action items from
the winform app and put it in the service. then use your winforms app to
monitor it. Without knowing more information, it's hard to say the best
route, but with what's know, that's what I'd do.

"Charlie Brown" <cbrown@duclaw.com> wrote in message
news:1180016226.049844.41700@p77g2000hsh.googlegroups.com...
> On May 24, 8:57 am, "John" <J...@nospam.infovis.co.uk> wrote:
>> Hi
>>
>> My vb winform app updates between site sql server and in house access db.
>> The app needs to always run and is in the start-up of client's sbs 2003
>> (windows 2003) server. Problem is if client restart server and forget to
>> login the app does not run. I am resisting doing it as a service as a
>> service has some development restriction as well as installation
>> complications making it difficult to debug too among other things. What
>> is
>> the best solution to this situation? Should I go the service route? In
>> which
>> case is there an easy way to convert a winform app (with a visible form -
>> for monitoring purpose) to service type app?
>>
>> Thanks
>>
>> Regards
>
> You might be able to place a reference in the registry under
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
>
> This will start software at bootup of a machine, in may be a different
> key under SBS2003, I don't have that OS here to look at.
>


Re: Application type question by John

John
Thu May 24 10:39:00 CDT 2007

Thanks. The other problem is that when server is logged off to avoid
unauthorised access then application is closed until someone logs back in.

Regards

"Charlie Brown" <cbrown@duclaw.com> wrote in message
news:1180016226.049844.41700@p77g2000hsh.googlegroups.com...
> On May 24, 8:57 am, "John" <J...@nospam.infovis.co.uk> wrote:
>> Hi
>>
>> My vb winform app updates between site sql server and in house access db.
>> The app needs to always run and is in the start-up of client's sbs 2003
>> (windows 2003) server. Problem is if client restart server and forget to
>> login the app does not run. I am resisting doing it as a service as a
>> service has some development restriction as well as installation
>> complications making it difficult to debug too among other things. What
>> is
>> the best solution to this situation? Should I go the service route? In
>> which
>> case is there an easy way to convert a winform app (with a visible form -
>> for monitoring purpose) to service type app?
>>
>> Thanks
>>
>> Regards
>
> You might be able to place a reference in the registry under
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
>
> This will start software at bootup of a machine, in may be a different
> key under SBS2003, I don't have that OS here to look at.
>



Re: Application type question by macleod

macleod
Thu May 24 10:58:05 CDT 2007

In that case, the easiest way is to stick with the current app and just tell
the client they need to insure that the server is logged in when the app
needs to run. Another option would be to continue converting it to a
service and then use Scheduled Tasks to start and stop the service.

"John" <John@nospam.infovis.co.uk> wrote in message
news:uxhQnmhnHHA.5032@TK2MSFTNGP02.phx.gbl...
> Thanks. The other problem is that when server is logged off to avoid
> unauthorised access then application is closed until someone logs back in.
>
> Regards
>
> "Charlie Brown" <cbrown@duclaw.com> wrote in message
> news:1180016226.049844.41700@p77g2000hsh.googlegroups.com...
>> On May 24, 8:57 am, "John" <J...@nospam.infovis.co.uk> wrote:
>>> Hi
>>>
>>> My vb winform app updates between site sql server and in house access
>>> db.
>>> The app needs to always run and is in the start-up of client's sbs 2003
>>> (windows 2003) server. Problem is if client restart server and forget to
>>> login the app does not run. I am resisting doing it as a service as a
>>> service has some development restriction as well as installation
>>> complications making it difficult to debug too among other things. What
>>> is
>>> the best solution to this situation? Should I go the service route? In
>>> which
>>> case is there an easy way to convert a winform app (with a visible
>>> form -
>>> for monitoring purpose) to service type app?
>>>
>>> Thanks
>>>
>>> Regards
>>
>> You might be able to place a reference in the registry under
>>
>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
>>
>> This will start software at bootup of a machine, in may be a different
>> key under SBS2003, I don't have that OS here to look at.
>>
>
>


Re: Application type question by Marius

Marius
Fri May 25 04:06:57 CDT 2007

What about a service program that starts other programs?

MH