Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global properties or varables
Message
De
05/09/2005 17:54:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/09/2005 15:04:41
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01046793
Message ID:
01046851
Vues:
21
Read the whole thread. It's not only about ini and configuration files. You can have a class that'd keep public static types for the whole application.
Cetin

>Cetin:
> That's the way i use in fox , i store the custom object to a public variable or hang it on the _screen and i can read it from anywhere in my app, but i can't find the way in .net, the thread you pointed is about an ini or configuration file which i use for set connection strings, i would like to use the custom object to retrieve and store info without using a file for example i use a form to select a customer and i want to store his id in an object and then be accessed from any form in my application, as you said in fox i can keep that custom object as public variable or add it as an object to the _screen but i can not find the way in .net.
>
>i hope you ´ve understood me and tahnk you in advance for your help.
>
>
>>>In Vfox i use _screen to hang properties or objects that can be accessed by forms , i m trying to do the same in .Net using a mdiform in which i create some public properties but i can't find the way for those propeties in MdiForm may be accessed by child forms.
>>
>>Juan,
>>In VFP too normal way is to use a custom object (oMyApp) to store such info. You can do the similar in .Net. Check Thread #1040828 (it's C# but gives the idea).
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform