I am not sure if this is possible. I want to have the using statement work the same way With does along with its current capabilities....Is there a way to merge them together? Here is a small example of what I would love to be able to do:
Granted it would only be 2 extra lines, but still.....Code:Using sw As New StreamWriter(FileName, True) .Write(MyMessage) .Close End Using![]()
Thanks and hope everyone is well!
D




Reply With Quote