Hello world,

i wrote a wrapper class for Strings (like CString in Visual C++). There is only one private property (the string of course), some methodes and of course property methods to get/let the string.
The property methods are the default property for the class.

Now the problem:
When i try to read a string from a file directly into my object, it doesn't work:


Dim s as new clsString
Dim f as Integer

f = FreeFile()
Open "C:\autoexec.bat" for input Access Read as #f
Line input #f, s
Close #f




What can i do?

help appreciated
Peter