Hello dear students,
For those of you who still have not figured out
how to prevent the unloading of forms (if the user clicked
on the X button or pressed ALT+F4), here's how. =)
VB6:
1. Use the QueryUnload( ) event procedure.
2. The first argument of QueryUnload, Cancel,
   determines whether or not the form will be
   unloaded or not. Assign False to Cancel variable
   once the user has decided to Cancel the action.
Example:
Private Sub Form_QueryUnload
(Cancel As Integer, UnloadMode As Integer)
    Dim nResult As Integer
    nResult = MsgBox("Are you sure you want to exit?", vbYesNo, "Title"
    If (vbNo = nResult) Then
        Cancel = True
    End If
End Sub
VB.NET:
1. Use the Closing() event procedure.
2. The second argument of Closing(), e,
   can determine whether or not the form will be
   unloaded or not. Assign False to Cancel member of e
   once the user has decided to Cancel the action.
Example:
Private Sub Form1_Closing
(
    ByVal sender As Object,
    ByVal e As System.ComponentMod el.CancelEventAr gs
) Handles MyBase.Closing
    Dim nResult As Integer
    nResult = MsgBox("Are you sure you want to exit?", MsgBoxStyle. YesNo, "Title"
    If (MsgBoxResult. No = nResult) Then
        e.Cancel = True
    End If
End Sub
Just inform me if you have any additional questions
or clarifications.
Good luck and God bless on your thesis endeavors! =)
Regards,
Ms. Cath
Posted by hangedman on February 13, 2007 at 02:17 PM | Speak up
hear me out
trying to talk to you
it�s not getting any easier
settle down.
Can�t seem to get through to you
Tension builds, we begin to fall apart
I think we�re better off apart.
Waste time with violence
This love/hate relations�

Would you wait?
While I�m trying to explain
We�re fighting again
Can you hear me?

Everyday it�s the same old thing with you
We�ve bruised up
We fight, then we make up
This shit is tiring.
We�re out of line
Is this ever gonna stop?
When will it ever be enough?

Waste time with violence
This love/hate relations
Can�t we see through the obvious?
We�re breaking down�

You can take this love to go
I�ve had enough of you
Things aren�t working out�
Currently listening to: Urbandub
Posted by hangedman on November 4, 2006 at 02:07 PM | Speak up

1. kunwari insekto ka, ano ka?

----ipis cguro. mangaggagat ako sa mata para makaganti ganti naman...

2. kunwari halaman ka ano ka?

----venus fly trap. para busog lagi...


3. kunwari cartoon character ka, cno ka?

----bonsai. para relaxing tingnan...


4. kunwari di ka pinoy, anung nationality mo?

italian.. para astig...


5. kunwari last text na ng buhay mo, cnung tetext mo?

nanay ko... magpapaalam ako lumabas 


6. kunwari actor/actress ka, cno kamuka mo?

 c carlo doce. ung gwapong sikat na artista...


7. kunwari bayani ka ng pilipinas, saan ka may
rebulto?

sa labas ng bahay namen.


8. kunwari parte ka ng katawan, ano ka?

uyy tinde ng tanong a.....


9. kunwari d ka pinanganak nung year na
pinanganak ka, kelan ka pinanganak?

2006 para astig... fresh. labo


10. kunwari prof ka sa school nyo, ano ang
tinuturo mo?

 Swimming sa Girl school. hehe joke lng. cyempre drawing na.l

Posted by hangedman on August 22, 2006 at 05:29 PM | Speak up

'Stig... got to drink with pumba and rafiki again... (peace men.. hehe.)

didnt think that u'd read this nana. ungas ka wag mo na tong daanan. hehe... wala kang mapapala dito... ay meron pala, matatawa ka lng. lam ko naman d mo matiis kagwapuhan ko e. hehe...

well still steady with everything... dunno why im writing this shit. sabaw.

anyway....

 

nais kong magpakalasing
dahil wala ka na
nakatingin sa salamin
at nag-iisa
nakatanim pa rin ang gumamelang
binalik mo sakin
nang tayo'y maghiwalay
ito'y katulad ng damdamin ko
kahit buhusan mo ng beer ayaw pang mamatay

giliw, wag mo sanang limutin
ang mga araw na hindi sana naglaho
mga anak at bahay nating pinaplano
lahat ng ito'y nawala
nung iniwan mo ako
kaya ngayon

ibuhos na ang beer
sa aking lalamunan
upang malunod na ang puso kong nahihirapan
bawat patak anong sarap
ano ba talagang mas gusto ko
ang beer na to o ang pag-ibig mo

nais kong magpakasabog
dahil olats ako
kahit ano hihithitin
kahit tambucho
kukuha ako ng beer at ipapakulo sa kaldero
lalanghapin ang usok nito
lahat ay aking gagawin upang hindi ko na isiping nag-iisa na ako

ibuhos na ang beer
sa aking lalamunan
upang malunod na ang puso kong nahihirapan
bawat patak anong sarap
ano ba talagang mas gusto ko
ang beer na to o ang pag-ibig mo

giliw, wag mo sanang limutin
ang mga araw na hindi sana naglaho
mga anak at bahay nating pinaplano
lahat ng ito'y nawala
nung iniwan mo ako
kaya ngayon

ibuhos na ang beer
sa aking lalamunan
upang malunod na ang puso kong nahihirapan
bawat patak anong sarap
ano ba talagang mas gusto ko
ang beer na to o ang pag-ibig mo

 

Posted by hangedman on August 22, 2006 at 10:49 AM | Speak up

Again....

 I dunno....

 Requesting consent to use all these limbs
To embrace whatever's left of december
Reworking the script to make a point
When these eyes begin to witness murder
I'd take to the air
If i could i would share
Lies in a photograph
I'm counting the cost
Acting selfless no doubt
To unite altogether the worth of december
Recollecting the terms, the pictures and dates
Understand when eternity's over
Combining the facts
I review all the tapes
A little numb to feel older
Try cascading the words
To unravel the truth
I'd take to the air
If i could i would share
Lies in a photograph
I'd like to play fair
If i could i would share
Knives and a killing smile
Don't believe everything
Everything you feel
Don't believe everything
Everything you see

Currently listening to: Chiksilog
Posted by hangedman on August 16, 2006 at 07:06 AM | Speak up
« Newer · »