Global Structures

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...
 
J

Jonathan Wells [msft]

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DataGrid align Cell in Compact Framework. 3
x 1
visual effects on a web-page 4
Asp.Net 1
CurrentRowIndex does not exist in DataGridView ??? 1
On The Fly 1
thread synchronization 5
Viewstate in asp.net 2

Top