User Profile

Collapse

Profile Sidebar

Collapse
Chrace
Chrace
Last Activity: Feb 15 '08, 05:36 PM
Joined: Feb 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Chrace
    replied to web services over a lan
    in .NET
    You forgot the port number?

    http://192.168.1.160:1321/...
    See more | Go to post

    Leave a comment:


  • Does System.Threadin g.Thread.Sleep( x ) sleep any subthreads created by the main thread?

    I have hooked this up to a Windows form system test harness and it seems that as soon as my self-developed timeout system exits the worker thread exits as well, so something is getting released. Or rather, something is getting blocked while I am doing my checking.

    If the worker thread is blocked because of the sleep on the main thread...
    See more | Go to post

    Leave a comment:


  • Chrace
    replied to Sending Email in vb .Net 2003 using SMTP Sever
    in .NET
    That's no .Net error though.

    You need to allow relaying on your Exchange (or whatever mail server) for your IP address or LDAP login account.

    "sorry, relaying denied from your location" should give you a hint there.
    See more | Go to post

    Leave a comment:


  • Agreed, nice clean method though the Windows shutdown should be considered. You can check on the FormClosing event whether the system is shutting down (System.Environ ment.HasShutdow nStarted) and ignore your own e.Cancel.

    My initial thought was to make the reminder an independent program but your version is cleaner in that you keep the link and single process instance.
    See more | Go to post

    Leave a comment:


  • Chrace
    replied to C# Generics Question
    in .NET
    Convert.ToSingl e( Object object ) does exist and might be why the compiler eats it. Doesn't mean it will work though.

    Without having tested it I would imagine calling Convert.ToSingl e with Object type parameter would try the possibilities, if failing it would look for an overloaded method on the object and if not found throw an exception.

    If you want to be 100% sure the code your own Switch with cases for TypeOf(object)...
    See more | Go to post

    Leave a comment:


  • Thread.Join( Timeout ) hanging when executing 3rd party software

    Hi all,

    I have a problem with with Thread.Join( Timeout ) where the timeout never occurs.

    I basically need to make a connection to an AS400 box which works fine. Once in a blue moon the AS400 gets a problem and the way this is handled on AS400 is by hanging. If I was to connect directly this would mean my main process would hang as well, so I've spawned a worker thread and used a Thread.Join( Timeout ) to make sure it...
    See more | Go to post
No activity results to display
Show More
Working...