Yes, it's possible. You just have to make the quotes part of the string itself.
Dim myData As String = """192.168.0.1"""
Now the value of the string will be "192.168.0.1", WITH the quotes. If you write that string to a file, it'll include the quotes.