473,398 Members | 2,427 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,398 software developers and data experts.

Register a dll(service) on web server

35
Hello,
I have a need to create a set of scripts that will send a weekly e-mail out with some info i pull from my sql servers. Currently to accomplish this I have written an aspx page that sends out the e-mail and i have written a vb script that loads the page waits 5 minutes and then closes it, and i am calling that vb script using windows scheduler.

I consider this solution to be a "Hack" and i wanted to simply write a C# file and compile it to a dll with logic that says something like "on wed at 12:00 am do routines"

But I don't know how to go about registering the dll as a service, making it a persistent service that will always start when the server does and also once it is registered can i simply write a code that says if(DateTime.now == {date}) or do i need to have it looping constantly in the code. If the latter how do i keep from crippling the server?

Thanks.
Aug 30 '07 #1
0 791

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Daylor | last post by:
i have 1 main winapplication. 3 services ,each in dll. each service is created for telephony user. each service is destroyed when the telephony user is hangUp. is there a way to recompile...
2
by: Robert M. | last post by:
Information: Server A: SQL Server 2000 Enterprise Edition. OS is Windows 2003 Server Enterprise Edition. SQL Service pack is 3a. Member of domain ABCDomain. Server A is going to function as a...
0
by: simon | last post by:
I have dll and I would like to use it in my aplication. I set references to that dll in server explorer and than I put on the top of the page: <%@ Register TagPrefix="date"...
3
by: John Fred | last post by:
Salve, I have write a service Windows for the remoting. I have a dll Server (OLD COM+) For Configure DLL Server I user Config File Es. <configuration> <system.runtime.remoting>...
2
by: domtam | last post by:
Hi there. My goal is to write a windows service that can act as HTTP Request server. How can I do that? I know that I can use ASP.NET to develop a web site to achieve this purpose, i.e....
2
by: vbnet Group | last post by:
Hi Guys, Does anybody know how to register a service with parameters? I developed an application in VB.NET with can also run as a service. Therefore the executable must be started with a...
2
by: Arno R | last post by:
Hi all, I just heard from a sysadmin that there is an error message after installing my Acc97 RT app on a new server. Error message: "Can't open the file mfcans32.dll". Server: Windows Server2003...
0
by: dipalichavan82 | last post by:
i have implemented windows service that uses timer in VS2005 c#.i created setup for that.when i install that setup on other machine ,i need to run installutil command in command prompt to register...
4
by: tvrdak | last post by:
Hello, I would like to register service to start with some arguments - meaning command line arguments of service itself. The best approach was some articles about selfregistrating service, like...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.