Y
Young
I've the following structure:
Structure MyStruct
Dim x As String
Dim y As String
End Structure
In one of my form (Form1), I have this sub:
Sub Test(byref XXX as MyStruct)
.......
end sub
I then try to pass in the structure by doing this:
Dim mmm as MyStruct
Form1.Text(mmm)
The above caused an error when in the Sub declaration:
This is the error: XXX cannot expose type MyStruct outside the project through class Form1
Can someone please help?
TIA
Young
Structure MyStruct
Dim x As String
Dim y As String
End Structure
In one of my form (Form1), I have this sub:
Sub Test(byref XXX as MyStruct)
.......
end sub
I then try to pass in the structure by doing this:
Dim mmm as MyStruct
Form1.Text(mmm)
The above caused an error when in the Sub declaration:
This is the error: XXX cannot expose type MyStruct outside the project through class Form1
Can someone please help?
TIA
Young