![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to pass a structure to a form subroutine 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 |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to pass a structure to a form subroutine Young, Do you have some documentation about the syntax you use here, I never saw it, and therefore I am curious how to use this I know the Text property as the property that shows the name of a form, it is simple a String, I don't know it as an array, type or collection. Form1.Text(mmm) Cor |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| ASP.Net directory structure | .NET General | |||
| File structure inconsistent | Vista file management | |||
| folder structure?? | Vista file management | |||
| Old Disc structure. | Vista installation & setup | |||