Global Structures

  • Thread starter Thread starter dan.borras
  • Start date Start date
D

dan.borras

I realize this might be a basic question but is there a way to use a global structure in a dotnet compactframework application in dotnet VB, so that it can be accessed through the application? Could you provide some code examples if the is a solution

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Hi Daniel,

Check out the "Shared" keyword:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vakeyShared.asp

From the link above:
"The Shared keyword indicates that one or more declared programming elements
are shared. Shared elements are not associated with a specific instance of a
class or structure. You can access them by qualifying them either with the
class or structure name, or with the variable name of a specific instance of
the class or structure."

Let me know if this doesn't help answer your question.

cheers jonathan

--
Jonathan Wells
Product Manager
..NET Compact Framework
Check out the .NET Compact Framework FAQ at:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided “AS IS” with no warranties, and confers no rights.

Daniel Borras said:
I realize this might be a basic question but is there a way to use a
global structure in a dotnet compactframework application in dotnet VB, so
that it can be accessed through the application? Could you provide some
code examples if the is a solution
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
 
Back
Top