View Single Post
  #8  
Old 08-26-2008, 04:21 PM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 815
I think the problem you are experiencing now is that we are
splitting the line at a vbcr, but each line actually
contains a vbcrlf. You should be able to get rid of any
extra cr's or lf's if you make the following three lines the
first lines after your "For Each szHost in vServerList"
line:

Code:
            ' Get rid of any carriage returns or line feeds that still may be
            ' remaining in szHost
            szHost = replace(replace (szHost, vblf, ""), vbcr, "")
Does that work better?

Thanks

JJH
Reply With Quote