Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
B

backSlashZero

@backSlashZero
About
Posts
12
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [Message Deleted] [modified]
    B backSlashZero

    EricCiz wrote:

    yes go ahead and do it please.

    :laugh:

    cout << "\0"; // its backSlashZero

    The Lounge csharp asp-net

  • bad sectors are bad!
    B backSlashZero

    And I have decided to throw it away and use my wallet to by a new one… :-\

    cout << "\0"; // its backSlashZero

    The Lounge

  • got bad sectors!
    B backSlashZero

    leppie wrote:

    Depends on the thickness

    It’s stuffed with bills and pretty thick… :-D

    cout << "\0"; // its backSlashZero

    The Lounge question

  • got bad sectors!
    B backSlashZero

    leppie wrote:

    A wallet

    i have a leather wallet... will it work??? :)

    cout << "\0"; // its backSlashZero

    The Lounge question

  • got bad sectors!
    B backSlashZero

    hmmm! i think that's acceptable, got any tool name?

    cout << "\0"; // its backSlashZero

    The Lounge question

  • got bad sectors!
    B backSlashZero

    got bad sectors in my HDD:sigh: ! what tool should i use to remove them???:confused:

    cout << "\0"; // its backSlashZero

    The Lounge question

  • Service Starting Problem!
    B backSlashZero

    Yes i did!

    protected override void OnStart(string[] args)
    {
    eventLog1.WriteEntry("In OnStart: Calling web service for Sending Reminders on "
    + DateTime.Now.ToLongDateString());

    EmailObj.SendReminder(); \\\\send reminders if any!
    timer.Enabled = true;
    timer.Start();
    

    }

    cout << "\0"; // its backSlashZero

    C# help sysadmin windows-admin performance tutorial

  • Service Starting Problem!
    B backSlashZero

    N a v a n e e t h wrote:

    Better method to do this is to write a console application which sends mail and exits automatically. Use windows scheduler to schedule this exe to run at required time.

    Thanks I am going to do this now :~

    cout << "\0"; // its backSlashZero

    C# help sysadmin windows-admin performance tutorial

  • Service Starting Problem!
    B backSlashZero

    Thanks! I tried it out but problem is still there :confused:

    cout << "\0"; // its backSlashZero

    C# help sysadmin windows-admin performance tutorial

  • Service Starting Problem!
    B backSlashZero

    I have created a windows service to send email on daily basis. It has a timer object that fires an event after 24 hours,

    private System.Timers.Timer timer = new System.Timers.Timer (86400000);

    In timer event I do my working i.e. I send my emails, something like this:

    private void OnTimedEvent(object source, System.Timers.ElapsedEventArgs e)
    {
    eventLog1.WriteEntry("Calling web service for Sending Reminders on " + DateTime.Now.ToLongDateString());
    if (EmailObj.SendReminder()) // if sending email is sussful
    {
    eventLog1.WriteEntry("The operation was successfully completed on " + DateTime.Now.ToLongDateString());;
    }
    else
    {
    eventLog1.WriteEntry("There was some error, the operation failed on " + DateTime.Now.ToLongDateString());;
    }

    if (DateTime.Today.Day == 1)
    {
    	// first date of month; send emails	
    }
    

    }

    The problem is, I have installed the service on Windows server 2003, but the service starts and stops immediately with the message “The MyServiceName service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service” I can see the event log entries that I did on OnStart event of the service; also the service is working fine on Windows XP. Please help me I have to run this service on MS Windows server 2003 forever to send emails on daily basis,

    cout << "\0"; // its backSlashZero

    C# help sysadmin windows-admin performance tutorial

  • No one teaches PROGRAMMING any more
    B backSlashZero

    Well they are still teaching, I did my graduation in Feb. 2007, from Virtual University of Pakistan, and I hadn’t seen even the GUI of Visual studio till my final project came up, we worked on C/C++ (all courses focused on Programming we were free to use any language), and a couple of courses on Java, then we explored the Visual Studio on our own, and it was like a breeze, Regards,

    cout << "\0"; // its backSlashZero

    The Lounge

  • What about being late
    B backSlashZero

    My office timings are 9:00AM to 6:00PM, but I get to work sometime between 9:30AM and 10:00AM. I am loving it!

    cout << "\0"; // its backSlashZero

    The Lounge csharp asp-net database sql-server sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups