Jump to content
Xtreme .Net Talk

JoeNuvo

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by JoeNuvo

  1. I never got a good sample about multi connection also. what I ever do is just like client-server program. create winsock control array to accept connection (for ex. Winsock1 listen and Winsock2(i) accept connection) and for sending out. I just use for loop to send data to all connection (of course... this will have delay for client at the tail of list). so If you want some sample for this bad code. I can provide.
  2. try this one http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_10313144.html you will found sample code for remote start/stop service here. Don't want to just copy code to put down here. (wanna give credit to the one whom answer it) Wish this can help.
  3. Don't sure it good or not but I just try loop with DoEvents Sleep 1 seem it work. a little bit delay compare run without "sleep" but CPU never peak. (without sleep my process end in 11227 TickCount with sleep my process end in 12786 TickCount) But what I actually want (I think tonofstell also) is some code which can act as "Timer" control. Timer control never eat CPU and come back to do the work at adjustable period. Just want something like that in Code.
×
×
  • Create New...