473,396 Members | 1,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Application type question

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
May 24 '07 #1
3 975
On May 24, 8:57 am, "John" <J...@nospam.infovis.co.ukwrote:
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\Curr entVersion\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.

May 24 '07 #2
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" <cb****@duclaw.comwrote in message
news:11*********************@p77g2000hsh.googlegro ups.com...
On May 24, 8:57 am, "John" <J...@nospam.infovis.co.ukwrote:
>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\Curr entVersion\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.

May 24 '07 #3
What about a service program that starts other programs?

MH

May 25 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vikas | last post by:
I am working on an application to be written in C++ which has to read a binary file and parse it to get the data out of it. The file format is Integrated Product Message (IPM) which contains...
9
by: Guy | last post by:
I have extended the datetimepicker control to incorporate a ReadOnly property. I have used the new keyword to implement my own version of the value property, so that if readonly == true then it...
4
by: Adam Clauss | last post by:
This may be more of a Visual Studio question than a C# question, but it came up within the context of a C# app, so here it is. In a Windows Form or a Web Form application, you can drag various...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
10
by: Saso Zagoranski | last post by:
hi, this is not actually a C# problem but since this is the only newsgroup I follow I decided to post my question here (please tell me where to post this next time if you think this post...
1
by: aparnasinha26 | last post by:
Hi All, I have to develop an application .The application has to update database.It does not have any user interface.It needs to run on Windows XP/2000 automatically at a particular time say 4...
9
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and...
3
by: Paul | last post by:
Looking for recommendations on a programming language for a web application. I am soliciting recommendations on a programming language for a web application described below. Actually, it is not...
12
by: =?ISO-8859-1?Q?Une_B=E9vue?= | last post by:
two possibilities or the attribute type of script : text/javascript (the one i usually use) application/x-javascript what are the differencies between both ? depends on the html content ?...
3
by: Magnus.Moraberg | last post by:
Hi, I have a C# .net application. In this application, the user clicks on a button to generate an excel file. I save the macros which compose this generate file within an excel template file....
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.