Click to See Complete Forum and Search --> : VB 6 string type in VB.Net ?


ppanke
May 3rd, 2006, 12:26 PM
I need to create a VB 6 string variable, in a VB.Net app. I then need to send it to an unmanaged API. (If I send a VB.Net string class, the receiving API blows up; it does not recognize the class. It needs a VB 6 string variable.). Does anyone know how to do this?

Thanks

aniskhan
May 3rd, 2006, 11:10 PM
string in vb.net is immutable ,can't be modified and is used for constant values, if the string is modified in called function then pass system.text.stringbuilder.