I've read that if you want to use the VB6.FixedLengthString in .net you must import microsoft.visualbasic
I've use that namespace but an error still occur. It said that Type 'VB6.FixedLengthString' is not defined. Can somebody help me solve this problem?
From: Eka Saputra
-----------------------
<Id>ZpYIup4W9EyV0j3rWoDFag==</Id
* Eka Saputra via .NET 247 <anonymous@dotnet247.com> scripsit:
> I've read that if you want to use the VB6.FixedLengthString in .net you must import microsoft.visualbasic
> I've use that namespace but an error still occur. It said that Type 'VB6.FixedLengthString' is not defined. Can somebody help me solve this problem?
I would not use this namespace in a new .NET application. It's in the
compatibility library ("Microsoft.VisualBasic.Compatibility.dll"), so I
assume that you forgot to add a reference to this library and didn't
import the 'Microsoft.VisualBasic.Compatibility' namespace.

Signature
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/