Permabanned
- Joined
- 28 Oct 2006
- Posts
- 6,552
- Location
- Bournemouth
I'm making a super simple program with this outline
You stick it in the startup folder, you boot up
Window pops up, asks you to enter anything you want reminding about when you log off (i.e. memory stick, pick up news paper etc)
Then being vb it obviously remebers this.
However i need to trigger a msgbox when the end command is issued. Sort of like when you have a word document open and you click shutdown it will pop up asking if you want to save discard or cancel.
I'm just using
If (Label1.Text = "") Then End Else Me.Hide() ---- (where label1 is the place you type your reminder)
to put the program in dormant mode.
However i don't know where to insert this code:
If (Label1.Text = "") Then End Else MsgBox(Label1.Text, MsgBoxStyle.Exclamation, "REMEMBER")
Any help much appreciated.
You stick it in the startup folder, you boot up
Window pops up, asks you to enter anything you want reminding about when you log off (i.e. memory stick, pick up news paper etc)
Then being vb it obviously remebers this.
However i need to trigger a msgbox when the end command is issued. Sort of like when you have a word document open and you click shutdown it will pop up asking if you want to save discard or cancel.
I'm just using
If (Label1.Text = "") Then End Else Me.Hide() ---- (where label1 is the place you type your reminder)
to put the program in dormant mode.
However i don't know where to insert this code:
If (Label1.Text = "") Then End Else MsgBox(Label1.Text, MsgBoxStyle.Exclamation, "REMEMBER")
Any help much appreciated.