G
Gavin
Hi
I have created a resource file and have embedded strings
and bitmaps which I can retrieve without problem.
However, if I add a byte() object it fails with the
following msg:
"An unhandled exception of
type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: System.Byte[]"
The code I used:
Dim RM As Resources.ResourceManager =
Resources.ResourceManager.CreateFileBasedResourceManager
(filename, ".", Nothing)
Dim b() As Byte = DirectCast(RM.GetObject("data.dat"),
Byte())
The code works without a problem if I run it on Windows
but fails on .NET CF?
Help
Gavin
I have created a resource file and have embedded strings
and bitmaps which I can retrieve without problem.
However, if I add a byte() object it fails with the
following msg:
"An unhandled exception of
type 'System.NotSupportedException' occurred in
mscorlib.dll
Additional information: System.Byte[]"
The code I used:
Dim RM As Resources.ResourceManager =
Resources.ResourceManager.CreateFileBasedResourceManager
(filename, ".", Nothing)
Dim b() As Byte = DirectCast(RM.GetObject("data.dat"),
Byte())
The code works without a problem if I run it on Windows
but fails on .NET CF?
Help
Gavin