Click here to get back home

Declare Public Variable

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Declare Public Variable John Brown 09-04-2007
Get Chitika Premium
Posted by John Brown on September 4, 2007, 2:46 pm
Please log in for more thread options
I am using WM5.0 and VB 2005
My understanding is that I cannot declare a public variable, i.e.:
Public strKW1 as String
in a form class. When I include it in a module, modMain.vb, and set the
Startup Object to Sub Main() which is also in modMain.vb, the application
will not start, or at least keep running, on my device. This is the way I
have always declared Public variables in Windows Applications.
So how do I Declare a Public variable (actually class in this particular
instance) in an application for Windows Mobile?

Thanks for your help.
--
John Brown

Similar ThreadsPosted
New public surveys on the MED community experience October 7, 2005, 10:15 am
flood coming to microsoft.public.smartphone.developer August 7, 2007, 5:44 pm
flood coming to microsoft.public.smartphone.developer August 7, 2007, 4:10 pm
flood coming to microsoft.public.smartphone.developer August 7, 2007, 4:29 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap