nighttrain's Profile User Rating: -----

Reputation: 8 Worker
Group:
Active Members
Active Posts:
408 (0.26 per day)
Joined:
22-September 10
Profile Views:
5,299
Last Active:
User is offline Jan 28 2015 11:42 PM
Currently:
Offline

Previous Fields

Country:
PL
OS Preference:
Windows
Favorite Browser:
Internet Explorer
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Volkswagen
Dream Kudos:
0
Icon   nighttrain still drilling

Posts I've Made

  1. In Topic: Cannot stop runned windows service

    Posted 17 Jan 2015

    i've found out problem. It is because i configured the services with this option:

    timer.SynchronizingObject = Me
    


    i used it because i want to be sure that if timer.Elapsed is reached and work there is onging and when time interval is riched as well i wanted to prevent timer.Elapsed event handler to be executed but wait until previous will finish the job. When i removed that line i've noticed error dissapered. I've replaced it with

    'inside timer.Elapsed event handler around the code
    SyncLock Me
    ..my code
    ..my code
    End SyncLock
    
    
    inside timer.Elapsed event handler around my code. This solution works. I still don't understand why this error appears when i have timer.SynchronizingObject on place but when synclock - not. This is strange as both doing the same: preventing enter timer.Elapsed event to be executed if previous one is ongoing.
    ....
  2. In Topic: Cannot stop runned windows service

    Posted 17 Jan 2015

    no, i set it right now but then when i tried to run service i received this message:

    ---------------------------
    Services
    ---------------------------
    The MyParser service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
    ---------------------------
    OK   
    ---------------------------
    
    
  3. In Topic: assembly dll indentical reference

    Posted 17 Jan 2015

    what consider me even if ParserRunner has this .dll (of course not required) this should not be critical thing right? I mean not program running issue - its just dll which would not be used. This was warning - i fixed it up already and didnt try if could compile having that warning does Visuals studio just aware me of and would grant me to run solution?
  4. In Topic: assembly dll indentical reference

    Posted 17 Jan 2015

    so its simply means Visual studio is telling me that ParseJob.dll is not required inside ParseRunner is it correct?
  5. In Topic: assembly dll indentical reference

    Posted 17 Jan 2015

    Class ParseJob and ParseRunner are two diffrent classes resist in two diffrent projects. And ParseJob inherits from ParseRunner. In this case what you are saying is only ParseJob has to have ParseRunner dll reference inside and ParseRunner project class not?

    P.S Whats OG?

My Information

Member Title:
D.I.C Regular
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Poland
Full Name:
Bob
Years Programming:
4
Programming Languages:
VB,NET

Contact Information

E-mail:
Click here to e-mail me
ICQ:
ICQ  637172526

Friends

Comments

Page 1 of 1
  1. Photo

    FlashM Icon

    24 Sep 2010 - 14:17
    no problem... you're welcome anytime...
Page 1 of 1