The remote server machine does not exist or is unavailable - Urgent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prakashsakthivel
    New Member
    • Oct 2007
    • 57

    #1

    The remote server machine does not exist or is unavailable - Urgent

    Hi Members

    I got this message when word was called second time from vb.


    First time it is working fine.

    When 2nd opened, I find pid of the excell and terminate then call as per below


    dim xl as new excel.applicati on
    set xl=new excel.applicati on

    with xl

    activecell...

    end with

    Here i got this msg.

    Every thing I did like properly closed application
    such as

    xl.quit
    set xl=nothing

    why this happening/

    could you plz tell me about that how to handle


    Regards

    Prakash.s
    Last edited by prakashsakthivel; Oct 29 '07, 08:12 AM. Reason: Urgent
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Dont use "With" statement with XL objects. Remove With/End With and directly write the Code.
    I'am not sure why this happens.. Even I have faced this problem..
    Second time, when you run, you will get this problem..

    Regards
    Veena

    Comment

    Working...