B
Brian Cahill
Hello,
I am trying to write a function that returns two values but I can't
figure out the syntax or if it's even possible.
Private Function CTXScanner(ByVal mfSvr As String, ByVal xmlstr
As String, ByVal xslstr As String)
Try
For Each HotfixItem In MFRecHotfix.Items
xmlstr = xmlstr & "<MFHOTFIX ID=""" &
HotfixItem & """>" & Environment.NewLine
xmlstr = xmlstr & "<SERVER>" & mfSvr &
"</SERVER>" & Environment.NewLine
xmlstr = xmlstr & "</MFHOTFIX>"
Next
Return xmlstr
Return xslstr
End If
srv2 = Nothing
winSrv2 = Nothing
Catch ex As Exception
MsgBox(ex.Message.ToString())
Exit Function
End Try
End Function
I am trying to write a function that returns two values but I can't
figure out the syntax or if it's even possible.
Private Function CTXScanner(ByVal mfSvr As String, ByVal xmlstr
As String, ByVal xslstr As String)
Try
For Each HotfixItem In MFRecHotfix.Items
xmlstr = xmlstr & "<MFHOTFIX ID=""" &
HotfixItem & """>" & Environment.NewLine
xmlstr = xmlstr & "<SERVER>" & mfSvr &
"</SERVER>" & Environment.NewLine
xmlstr = xmlstr & "</MFHOTFIX>"
Next
Return xmlstr
Return xslstr
End If
srv2 = Nothing
winSrv2 = Nothing
Catch ex As Exception
MsgBox(ex.Message.ToString())
Exit Function
End Try
End Function