|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
public object throughout the projectI am new in .NET application but have developed many applications in Visual
FoxPro and Visual Basic. In my first .NET application, I have a USER class which keeps record of user privileges. Is it possible to instantiate this object once in a project(To avoid back and forth communication with data server), which can be used in all other classes and forms. Any kind of help would be appreciated. Regards, NR
Show quote
Hide quote
"NR" <N*@discussions.microsoft.com> skrev i meddelandet Hi,news:E93950A7-5C4D-48AD-972A-77F177977FE2@microsoft.com... >I am new in .NET application but have developed many applications in Visual > FoxPro and Visual Basic. > In my first .NET application, I have a USER class which keeps record of > user > privileges. Is it possible to instantiate this object once in a project(To > avoid back and forth communication with data server), which can be used in > all other classes and forms. > > Any kind of help would be appreciated. > > Regards, > NR > You would better post the Q in microsoft.public.dotnet.languages.vb. In this group we deal with VB Classic (VB6 and below), and a few MVP's having a different opinion. ;) /Henning "NR" <N*@discussions.microsoft.com> wrote in message Yes you can, but you have posted to a newsgroup populated primarily by usersnews:E93950A7-5C4D-48AD-972A-77F177977FE2@microsoft.com... > I am new in .NET application but have developed many applications in Visual > FoxPro and Visual Basic. > In my first .NET application, I have a USER class which keeps record of user > privileges. Is it possible to instantiate this object once in a project(To > avoid back and forth communication with data server), which can be used in > all other classes and forms. > > Any kind of help would be appreciated. > of 'classic' VB and the COM-based developement platform. You will have better success if you post to a newsgroup where more users of the .Net Framework development platform hang-out. (They will have ".dotnet." or ".vs." in the title.) Perhaps: microsoft.public.dotnet.languages.vb -ralph
Help using SendMessage() function
can the loading of a large number of records go as quick as in DOS Auto Spacing Labels in 2D Graph What is Sendkeys Chr(188)? 8 to 24 Download website OLEDragDrop custom format Refresh a form FMLabs FMTKit functions BigInteger and BigDecimal [equivalents] for VB.NET? |
|||||||||||||||||||||||