Re: Setting up a Timer in an ActiveX DLL

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance






Ok, let me start again, and explain what I am doing...

I am writing a WebStats App... for my web server, and I will also be
packaging it up and selling it.

Right now, my DLL really does nothing at all that requires it to run
under IIS... all it does right now is extract/collate data from the
logs, and write specific thinmgs into an access database, via
ADODB/ODBC...

Eventually, it will also handle login/domain access via ASP, and I will
also encapsulate a lot of the back end code for the Stats DHTML
generation within it to prevent clients from playing with/breaking the
package.

basically, I just want my DLL triggered every morning to collate the
previous dayus logs form all domains being tracked.

It all works fine now, apart from the auto running of itself every
morning.

So... Can an EXE be used instead of the DLL? Can I still access my
classes the same way (Via ASP), and if so, can the EXE have a timer on a
form (that never gets seen) run this way under IIS?

Though I am a very capable web developer, and have no dramas with
VBScript/JavaScript/ASP, and have written COM DLL's for IIS before as
basic wrappers for other DLLs, I have never written something like this
that has to automate itself.

I dont want it running under windows schedule as it is something that
needs to be self sufficient, as it will be a product I will be selling,
and I want the installation to be quick and simple, and the package to
work in the simplest way possible.

I hope this clarifies things a bit...


*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • Re: Max windows handles in IIS. Pls help.
    ... How are you running the application on a different web server? ... an ISAPI DLL that runs on IIS5 -- are you trying to run this same ISAPI DLL ... only loaded and executed by IIS. ...
    (microsoft.public.inetserver.iis)
  • Re: w3wp.exe locking DLL and PDB files.
    ... i can replace it any time even if a minute ago i run a page that is using this DLL. ... >the IIS is locking a regular VB.NET DLL that is referenced and used by my aspnet DLL. ... > i have an ASP.NET project that is using a (Class Library Project) VB.NET DLL. ... what will be in production environment, if i have to stop the web server in order to replace the DLL, it is unacceptable. ...
    (microsoft.public.dotnet.framework)
  • Re: Max windows handles in IIS. Pls help.
    ... I also can't believe that IIS can only open 2,500 window handles but when i ... ran the application on a different web server, it proved that it is true. ... doesn't really reflect the windows handles currently being used by the .dll. ...
    (microsoft.public.inetserver.iis)
  • ASP response from IIS Slows down After calling a COM+ DLL
    ... scope object in my IIS 6.0 Web Server in Win Server 2003. ... This COM+ DLL ... After that the response from IIS for the ASP ...
    (microsoft.public.vc.atl)
  • Redeployment Problem
    ... I installed my web app on web server using VS.net 2003s deployment ... package. ... took just the dll in bin directory and moved it over to web server. ...
    (microsoft.public.dotnet.framework.aspnet)