Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms singleton pattern

Status
Not open for further replies.

GeertVerhoeven

Technical User
Oct 7, 2001
142
BE
Is there a possibility to use the singleton pattern in VB.NET. I need to have it to make it possible to only use 1 instance of a form. I already have a solution but it is one with flags.

So does anybody know how to implement the singleton pattern ?

Gette
 
gette:
if you've coded a solution I would be curious if it is similar to the ones I've already posted in previous threads. There was never an answer if they are wrong or not. I just didn't use NotInheritable (seems to be sealed in C#) declaring the class.

Andreas

thread796-418582
thread796-420250

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top