Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / April 2007

Tip: Looking for answers? Try searching our database.

FormClosing and FormClosed ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pascal - 23 Apr 2007 20:55 GMT
bonjour

does somebody explains to me the difference beetween frm_roman_FormClosing
and frm_roman_FormClosed ?
Where do i have to call the sub fermer() to be sure nothing remains in
memory?

When i quit this form with the red cross on the form and reopen it after,
there is always some strings in the textboxes on it... the variables seems
to remain in memory ?
thank you
Private Sub Fermer()

Call miseAzero()

Me.Dispose()

Me.Close()

End Sub

#Region "remise à zéro"

Private Sub miseAzero()

message = ""

LblAfficheLeTaff.Text = ""

TxtBxProposition.Text = ""

LBlPoint.Text = ""

Points = 0

GrpBxSymbols.Enabled = False

GrpBxChoixDuTaff.Enabled = True

Me.Text = "Ecrire en chiffres arabes ou romains" & " :-: Partie n°" &
Parties

BtnGenerer.Enabled = True

BtnProposition.Enabled = False

NbreArabe = Nothing

NbreRomain = Nothing

End Sub

http://www.scalpa.info
RobinS - 24 Apr 2007 08:02 GMT
The Form_Closing event happens before the form closes, and you can cancel
it. The Form_Closed event occurs after the form is closed.

Robin S.
---------------------------
> bonjour
>
[quoted text clipped - 49 lines]
>
> http://www.scalpa.info

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.