CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 17 Aug 2025 07:16:54 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080414222552
location: https://web.archive.org/web/20080414222552/https://www.daniweb.com/code/snippet311.html
server-timing: captures_list;dur=0.572236, exclusion.robots;dur=0.020297, exclusion.robots.policy;dur=0.010464, esindex;dur=0.012577, cdx.remote;dur=22.751449, LoadShardBlock;dur=191.071335, PetaboxLoader3.datanode;dur=45.568895, PetaboxLoader3.resolve;dur=75.147131
x-app-server: wwwb-app215
x-ts: 302
x-tr: 238
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app215; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 17 Aug 2025 07:16:55 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Mon, 14 Apr 2008 22:25:51 GMT
x-archive-orig-server: Apache/2.2
x-archive-orig-x-powered-by: PHP/5.1.6
x-archive-orig-set-cookie: bblastactivity=0; expires=Tue, 14-Apr-2009 22:25:51 GMT; path=/; domain=.daniweb.com
x-archive-orig-cache-control: private
x-archive-orig-pragma: private
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 14 Apr 2008 22:25:52 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 27 Oct 2007 06:17:03 GMT", ; rel="prev memento"; datetime="Fri, 28 Dec 2007 06:36:52 GMT", ; rel="memento"; datetime="Mon, 14 Apr 2008 22:25:52 GMT", ; rel="next memento"; datetime="Thu, 24 Jul 2008 04:35:47 GMT", ; rel="last memento"; datetime="Tue, 28 Apr 2009 16:45:10 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_3_20080414182409_crawl102-c/51_3_20080414222419_crawl104.arc.gz
server-timing: captures_list;dur=0.450702, exclusion.robots;dur=0.018744, exclusion.robots.policy;dur=0.009179, esindex;dur=0.010280, cdx.remote;dur=8.847730, LoadShardBlock;dur=125.066360, PetaboxLoader3.datanode;dur=106.419867, PetaboxLoader3.resolve;dur=135.638375, load_resource;dur=145.599952
x-app-server: wwwb-app215
x-ts: 200
x-tr: 367
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
TempMsg ( Tempory Message ) - visualbasic
TempMsg ( Tempory Message )
•
•
•
•

What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 311,366 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,151 IT professionals currently interacting right now! If you are in the IT industry or are just a technology enthusiast, you might find just what you're looking for in DaniWeb. Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Modernize Legacy Data with Sybase
Easily allows temporary message to be displayed on any label for a programmable length of time.
This is a very simple way to display a temporary message on an existing label (or textbox)without doing a lot of coding.
This is a very simple way to display a temporary message on an existing label (or textbox)without doing a lot of coding.
Private Function TempMsg(tempMessage As String, timeInSecs As Single, whichLabel As Object) ' ======================== ' Author: CookWare Ok ' ======================== ' Function may be Public or Private as needed. Remember if used in a module use ' WhichForm.WhichLabel format to pass parameter to the function. ' EXAMPLE: Call TempMsg(myMessage, myTime, myForm.myLabel) ' ======================== ' You Must included timer and timer code shown below ' ======================== ' Private Sub timMsg_Timer() ' timMsg.Interval = 0 ' timMsg.Enabled = False ' bMsgOn = False ' End Sub ' ======================== ' You must also Dim bMsgOn As Boolean (either Public or Private as needed) ' ======================= Dim myMsg As String myMsg = whichLabel ' Stores currently displayed message bMsgOn = True If timeInSecs > 10 Then ' Limits time interval to 10 seconds ( May be changed as you see fit ) timeInSecs = 10 End If timMsg.Interval = timeInSecs * 1000 ' converts timeInSecs to milliseconds timMsg.Enabled = True ' Starts timer Do Until bMsgOn = False ' Do tempMessage until time is elapsed DoEvents whichLabel = tempMessage Loop whichLabel = myMsg ' Restores original message End Function
Comments (Newest First)
linux | Master Poster | Feb 8th, 2007

•
•
•
•
It's not that difficult to read. You don't really need the comments if you know what you're doing in VB.
bumsfeld | Master Poster | Aug 8th, 2005

•
•
•
•
Wow, this difficult to read! Why are there so many "you must" in there?
Post Comment
•
•
•
•
DaniWeb Marketplace (Sponsored Links)