943,733 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 278
  • C# RSS
Feb 11th, 2009
0

positioning in code

Expand Post »
Well i have an application which is connecting to a certain device over tcp/ip.The connection sometimes gets broken so i have made a reconnect function which is then called and does the reconnect and it works.Well my question is i would like to have a timer which will measure the time something like 5 minutes and if in those 5 minutes there is no activity on the network will call the timer event which will then call the reconnect() function.I know how to do all that but there is one catch.

I would like that after the reconnect those his job and the event is over i would like to position always on the same position in code,always in the same place.

I know that when the event is called that the app could be on any line of code and i wouldn't like when the event is over that the code starts where it stopped. I Would like to start from always the same location.

Is this posible!!!!!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
nikola.rosic is offline Offline
27 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: how to add the data into datagrid view
Next Thread in C# Forum Timeline: Set a field value





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC