\r\n\r\n
Go Back  Xtreme Visual Basic Talk > General Discussion > Random Thoughts > Why am I here at this time of day?


\r\n \r\n
 
 
Thread Tools Display Modes

\r\n\r\n\r\n
Just thinking. It\'s 10.30PM over here and I\'m still on the forum. Why is it that sometimes we stick around too long? I know I\'m not the only one.
\r\nHey, I learned VBA for work, but I left work 6 hours ago. I must be doing something wrong. Am I a codaholic?
\r\n
\r\n
Code:
\r\n
\'Code below should be in the ThisBody module of your project.\r\n\'It can be used in the PositionChange event of the ThisBody module, but...\r\n\'remember that the BoyfriendActionChange event of the ThisGirlfriend module\r\n\'might also be triggered at the same time.\r\n\r\nSelect Case Position \r\nCase Vertical\r\n Select Case Location\r\n Case AtWork\r\n MsgBox "No problem" & vbCrLf & "Keep working"\r\n Case AtHome\r\n If Computer.MozillaFireFox.CurrentSite = _\r\n [url]http://www.xtremevbtalk.com[/url] Then\r\n MsgBox "You\'re a codaholic!", vbCritical\r\n GirlfriendWarning = Inputbox("Is you girlfriend angry about your coding again?", vbQuestion)\r\n If GirlfriendWarning = vbYes Then\r\n Call GirlfriendCritical\r\n End If\r\n End If\r\n End Select\r\nCase Horizontal\r\n If LeftEye is Open and RightEye is Open Then\r\n MsgBox "You are probably doing something nice" \'possibly also check where you are\r\n Else\r\n Exit Sub\r\n End If\r\nEnd Select\r\n\r\nPublic Sub GirlfriendCritical()\r\nMsgBox "Shut down all machines and buy flowers for Girlfriend", vbCritical\r\nEnd Sub
\r\n
Maybe I have to do some debugging...
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n
\r\n __________________
\r\n "Accept what you can not change and change what you can not accept" - Me
\r\n"Normal is the average of all oddities" - Me
\r\n"Don\'t re-invent the wheel!" - My dad
\r\nPlease enclose your code in [vb] and [/vb] tags
\r\n
\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n Last edited by Wheels1978; 02-01-2005 at 03:06 PM.\r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n'; pd[935504] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n
\r\n
\r\n  \r\n #2  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 02-01-2005, 04:07 PM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
elnerdo\'s Avatar\r\n\r\n
\r\n \r\n elnerdo\r\n elnerdo is offline\r\n\r\n\r\n
Prev Previous Post   Next Post Next
  #1  
Old 02-01-2005, 02:51 PM
Wheels1978 Wheels1978 is offline
Junior Contributor
 
Join Date: Apr 2004
Location: 's-Gravenpolder, NL
Posts: 389
Default Why am I here at this time of day?


Just thinking. It's 10.30PM over here and I'm still on the forum. Why is it that sometimes we stick around too long? I know I'm not the only one.
Hey, I learned VBA for work, but I left work 6 hours ago. I must be doing something wrong. Am I a codaholic?
Code:
'Code below should be in the ThisBody module of your project. 'It can be used in the PositionChange event of the ThisBody module, but... 'remember that the BoyfriendActionChange event of the ThisGirlfriend module 'might also be triggered at the same time. Select Case Position Case Vertical Select Case Location Case AtWork MsgBox "No problem" & vbCrLf & "Keep working" Case AtHome If Computer.MozillaFireFox.CurrentSite = _ [url]http://www.xtremevbtalk.com[/url] Then MsgBox "You're a codaholic!", vbCritical GirlfriendWarning = Inputbox("Is you girlfriend angry about your coding again?", vbQuestion) If GirlfriendWarning = vbYes Then Call GirlfriendCritical End If End If End Select Case Horizontal If LeftEye is Open and RightEye is Open Then MsgBox "You are probably doing something nice" 'possibly also check where you are Else Exit Sub End If End Select Public Sub GirlfriendCritical() MsgBox "Shut down all machines and buy flowers for Girlfriend", vbCritical End Sub
Maybe I have to do some debugging...
__________________
"Accept what you can not change and change what you can not accept" - Me
"Normal is the average of all oddities" - Me
"Don't re-invent the wheel!" - My dad
Please enclose your code in [vb] and [/vb] tags

Last edited by Wheels1978; 02-01-2005 at 03:06 PM.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->