473,785 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to develop an application which runs automatically

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 p.m. daily.
I have to develop the application in VB.net
My first question is which Visual Basic.Net Project type do I use-
Windows Service Or Class Library?
Second Question is What are the necessary initial steps I have to take
during development?
Thirdly how do I finally install or deploy the application so that it
automatically runs at a particular time on my Computer.
The OS will be either Windows XP or Windows 2000.
In addition if there are additional settings related to Operating
system?

Please Help!

Nov 19 '05 #1
2 2262
Hi,

There are 2 ways in which you can do that.

First the Simple Solution(less time consuming): Make a class and wrap the
functionallity in the class. Compile the class (using vbc/csc tool) or build
the project the dll file would be in the bin folder.

You can go to the control panes -> Schedules Task -> Add New Scheduled task.
There you can specify the periodicity in which the OS would execute your dll.
Like in your problem statement, you can specify the condition 04:00 PM daily.
In the process it would ask you the path of the dll file.

Second and the time consuming activity: Make an windows service. Have a
config file attach where you have parameters like M/H/D/F/Y for monthly ,
hourly, Daily, Forthnightly and Yearly and specify the duration.

You need to install the service using service installers. There is a lot of
stuff available for services on the net.

Hope this answers your query.

thanks and Regards,

Piyush Thakuria
"ap***********@ yahoo.com" wrote:
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 p.m. daily.
I have to develop the application in VB.net
My first question is which Visual Basic.Net Project type do I use-
Windows Service Or Class Library?
Second Question is What are the necessary initial steps I have to take
during development?
Thirdly how do I finally install or deploy the application so that it
automatically runs at a particular time on my Computer.
The OS will be either Windows XP or Windows 2000.
In addition if there are additional settings related to Operating
system?

Please Help!

Nov 19 '05 #2
<ap***********@ yahoo.com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
Please Help!


http://www.amazon.com/exec/obidos/tg...books&n=507846

Start at page 1...
Nov 19 '05 #3

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

Similar topics

7
2182
by: Tom Szabo | last post by:
Hi, I am looking for some library that will allow developing web-based applications in PHP. I am looking for something that is as close as possible to a windows like application as possible. Say it would implement simple forms and browsers/grids. I have seen some of them like PRADO, but it is still too much web-like. Is there anything more windows like?
10
2519
by: John Underwood | last post by:
Can I use python23_d and python23 to develop an extension for a commercial application uses python22.dll? (Providing that I do not use any new features found only in 2.3.) I would bulld version 2.2 but I am having trouble doing this with Visual Studio .NET Standard. (There is a well documented problem with version 2.2 (involving largeint.h) and VS.NET but none of the solutions that I found have worked.) On the other hand, I have...
4
1379
by: MEM | last post by:
Hello, I'm using application variables for a web based sales tracking application. I use the variables for stuff like connection string, database name, etc. I store the values in a asp file that is included in a login page. The assignments are in a routine/procedure that I then call on the login page. This is done everytime a user connects to the login page. So, what's happening to the variables? Are they being overwritten
2
3452
by: John Spiegel | last post by:
Hi all, Is there a way to programmatically restart Windows (2000, specifically), login automatically then start an application? I've been running across some Windows Shell options (which further examples would be appreciated) but would particularly like to find a .NET-specific example. TIA, John
1
326
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 p.m. daily. I have to develop the application in VB.net My first question is which Visual Basic.Net Project type do I use- Windows Service Or Class Library? Second Question is What are the necessary initial steps I have to take during development?...
43
3426
by: Rob R. Ainscough | last post by:
I realize I'm learning web development and there is a STEEP learning curve, but so far I've had to learn: HTML XML JavaScript ASP.NET using VB.NET ..NET Framework ADO.NET SSL
12
1502
by: Jeff | last post by:
Looking for your highly subjective opinions (from those of you who have been working extensively with VS 2005). I have a client that needs/wants a complete rewrite of an existing application. I will be proposing a .NET Windows application with a supporting SQL Server database. It will likely take 4-5 months before we roll out the first production version. Because of the apparent issues with VS 2005 (poor performance, unpredictable and...
4
2213
by: Ravi Ambros Wallau | last post by:
Hi: We developed a set of ASP.NET Web Applications that never runs in stand-alone mode, but always inside a portal (Rainbow Portal). All modules are copied on that portal. My question is: load time takes, sometimes, three or four of minutes in a medium-level machine (a PIII 1.5 Ghz), when the binary contents are changed, or if the time of last modification of the web.config file is changed. An application that runs in "stand-alone" mode...
1
1266
dmjpro
by: dmjpro | last post by:
Helllloooooooooooooooooo friends........ I face a problem right now which is to be solved immediately........ Our application sever - Oracle9i runs on SUN Solaris. And the database server is Oracle9i. The application server automatically stopped.. And our scripts on the fly detects it and up the system again.. As a result the all settings - session,application attributes fallen down... So there is no way to get back them ............. If...
13
2545
by: John | last post by:
Hi We have an MS Access application which runs on the server but some laptop users need the app to work offline. Our solution has been to use Access replication which automatically syncs data (both ways) when laptop is connected to the network. We are looking to rewrite the app to vb.net/sql server. My question is how does replication work in sql server specially in context of a vb.net front end i.e. what sort of coding/configuration we...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10325
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.