Page 1 of 1 1
Topic Options
#74328 - 2003-04-04 08:24 PM Display Message at Logoff
Anonymous
Unregistered


We would like to display a message at log off time. I tried the messagebox command but that is way too small (apparently BIG has no effect on it). I would like to be able to enhance the text font some also to make it more attractive. OTOH, it did most of what we want including clearing the screen, a title, and a timeout value. One I get it figured out, I plan to run it thru the logout script GPO.

What are the best alternatives to messagebox? I would rather generate something than send a file down to the PC and also then have to deal with screen resolution.

Env: Windows 2000 Pro in AD, Kixtart 4.01.

Pete Carstensen

Top
#74329 - 2003-04-04 08:46 PM Re: Display Message at Logoff
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
How about kicking-off a stripped down version of Internet Explorer, pointing to an HTML page on a share or on the workstation ?

-Shawn

Top
#74330 - 2003-04-04 08:56 PM Re: Display Message at Logoff
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Funky Splash [Big Grin]

Topic: MessageBox()
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#74331 - 2003-04-04 10:11 PM Re: Display Message at Logoff
Anonymous
Unregistered


Sorry, the html page wouldn't work since I need it to time out after 5 seconds. Good idea tho and it certainly would solve the formating problem!

Pete

Top
#74332 - 2003-04-04 10:23 PM Re: Display Message at Logoff
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Implement a custom KiXForms messagebox with timeout. See http://www.kixforms.org
_________________________
There are two types of vessels, submarines and targets.

Top
#74333 - 2003-04-04 10:45 PM Re: Display Message at Logoff
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Pete,
Why do you say HTML won't work? Sure it will! You just need to embed a bit of jscript in it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#74334 - 2003-04-04 10:47 PM Re: Display Message at Logoff
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Well, i've got a little command line utility (very small about 29kb) called KIXPOP that can display an embedded HTML page in a window using the Internet Explorer ActiveX control, it supports a timeout as well.

Your call whether a third party util is suitable here, but you can get it here:

KixPop.zip

Real easy to use, just unzip the contents into a folder, then run kixpop like this:

c:\> kixpop c:\kixpop\welcome.htm "hello world"

the timeout is set to three seconds. just make sure to specify the fully qualified path of the html file on the command line. you can also host the page off a web site, example:

c:\> kixpop http://www.kixtart.org

just an option.

-Shawn

ps. Les is right about the timeout - the welcome.htm in the zip file has it. But when running in the context of the web browser itself, might cause you grief in that it may display a messagebox asking if its ok to close the window.

Because KixPop wraps the ActiveX control, this is not an issue.

[ 04. April 2003, 22:49: Message edited by: Shawn ]

Top
#74335 - 2003-04-11 12:50 AM Re: Display Message at Logoff
Anonymous
Unregistered


The kixpop program worked just great! Thanks very much!!!

Pete

Top
#74336 - 2004-06-03 04:34 PM Re: Display Message at Logoff
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Quite a handy little tool. Thanks Shawn.

Never would have found this if not for the handy-dandy search tool on this site.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#74337 - 2004-06-03 04:45 PM Re: Display Message at Logoff
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
I wonder when he's going to integrate it into KiXforms?
Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 271 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.057 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org