473,225 Members | 1,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

Flashing message in an HTA

Hello all.

I've found the following script handy for usage with an HTA:

http://www.microsoft.com/technet/scr...8/hey0130.mspx

My question is...how can I cause the message displayed
("Searching ....") to flash every couple seconds while it's
processing; and then stop flashing when it's finished?

Just want to spruce up my HTA a bit. Any suggestions would be greatly
appreciated.

Thanks!

- Dave
Feb 15 '08 #1
16 5389
On Feb 15, 9:33 am, Highlander <tron9...@msn.comwrote:
Just want to spruce up my HTA a bit. Any suggestions would be greatly
appreciated.
Use Flash. With CS3 it is a match made in heaven for applications on
the web.

Feb 15 '08 #2
On 15 Feb, 14:33, Highlander <tron9...@msn.comwrote:
I've found the following script handy for usage with an HTA:
Firstly HTA is a red-herring. HTA's are evil and best avoided. What
you asked for literally can be done in a web-compliant fashion,
without needing that sort of necromancy. Web techniques apply to HTAs
OK, some HTA techniques are (thankfully!) forbidden for web use.

Find a good JavaScript tutorial. (M$oft isn't - they're too busy
pushing proprietary tweaks, not standards).

Study two things: How to do simple visual effects by dynamic CSS
changes, and using JavaScript's .SetTimeout() method to drive things
with intervals. The rest is just a bit of practice and legwork in
coding your scripts.

If you get stuck, try asking in comp.lang.javascript

Don't use VBScript. Don't ever use it for web work (client-side or
server-side). It's an ugly language, anything it can do, JavaScript or
JScript can do better. Mostly though, using J(ava)Script gives you
some hope of working on other browsers, client-side VBScript limits
you and your users to IE only.

Flash would be ridiculous overkill for this.
Feb 15 '08 #3
On 15 Feb, 17:37, Highlander <tron9...@msn.comwrote:
But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.
The code to do blinking is pretty simple.

It's just that people who think this is a good idea find it hard to
type, after c.i.w.a.h have got to them and broken their fingers.
Feb 15 '08 #4

"Highlander" <tr******@msn.comwrote in message
news:44**********************************@s8g2000p rg.googlegroups.com...
On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@central.netwrote:
>
Thanks for all the responses.

I was hoping there was something simple like:

<blink>flashing text here</blink>

But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.

Thanks for the code Jonathan, but it doesn't work on my machine. Plus,
that amount of code is overkill for simply wanting to make some text
flash. I think I'll shelf this idea.

Thanks again.

- Dave
>
Don't cave so fast. After you do it once, you will have it for posterity..

Feb 16 '08 #5
MikeB wrote:
I was hoping there was something simple like:

<blink>flashing text here</blink>
Hey, I'll do the blinking around here.

--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Feb 16 '08 #6
In article <#Y*************@TK2MSFTNGP04.phx.gbl>,
"MikeB" <m.byerleyATVerizonDottieNettiewrote:
>
"Highlander" <tr******@msn.comwrote in message
news:44**********************************@s8g2000p rg.googlegroups.com...
On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@central.netwrote:

Thanks for all the responses.

I was hoping there was something simple like:

<blink>flashing text here</blink>

But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.

Thanks for the code Jonathan, but it doesn't work on my machine. Plus,
that amount of code is overkill for simply wanting to make some text
flash. I think I'll shelf this idea.
What about a small animated gif? Think about its natural
advantages: for little code, it flashes and annoys, it does not
resize and it is a bit of a bother to implement. <g>

--
dorayme
Feb 16 '08 #7
On Feb 15, 7:44 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article <#Y6S$IDcIHA....@TK2MSFTNGP04.phx.gbl>,
<blink>flashing text here</blink>
What about a small animated gif? Think about its natural
advantages: for little code, it flashes and annoys, it does not
resize and it is a bit of a bother to implement. <g>
Or Flash!
Feb 16 '08 #8
In article
<b8**********************************@e6g2000prf.g ooglegroups.com
>,
Travis Newbury <Tr***********@hotmail.comwrote:
On Feb 15, 7:44 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article <#Y6S$IDcIHA....@TK2MSFTNGP04.phx.gbl>,
<blink>flashing text here</blink>
What about a small animated gif? Think about its natural
advantages: for little code, it flashes and annoys, it does not
resize and it is a bit of a bother to implement. <g>

Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.

--
dorayme
Feb 16 '08 #9
I don't know if this is the best option, but what
about a simple animated GIF with some frames
text and some frames blank? Then you could just
show the GIF or hide it.

Paint Shop Pro has an Animation Shop that can
do that fairly simply. I expect there are also other
programs available.

And yes, BLINK is a Netscape tag that's almost
never used because, like MARQUEE, it's irritating.

You might also try limiting the groups you post
to next time. You've set off a barage of inflammatory
wiseacreing by mentioning HTAs in a non-VBS group. :)

Feb 16 '08 #10
In article <uB**************@TK2MSFTNGP04.phx.gbl>,
"mayayana" <ma**********@mindXXspring.comwrote:
And yes, BLINK is a Netscape tag that's almost
never used because, like MARQUEE, it's irritating.
Did you say Marquee? Interested in car races?

--
dorayme
Feb 16 '08 #11
On 2008-02-16, MikeB <wrote:
>
"Highlander" <tr******@msn.comwrote in message
news:44**********************************@s8g2000p rg.googlegroups.com...
On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@central.netwrote:
>>

Thanks for all the responses.

I was hoping there was something simple like:

<blink>flashing text here</blink>

But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.

Thanks for the code Jonathan, but it doesn't work on my machine. Plus,
that amount of code is overkill for simply wanting to make some text
flash. I think I'll shelf this idea.
There is also text-decoration: blink in CSS, but fortunately I think
no-one supports it.
Feb 16 '08 #12
On Feb 15, 8:54 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.
You failed to read the thread, I sad Flash a long long time ago....
Feb 16 '08 #13
Ben C wrote:
There is also text-decoration: blink in CSS, but fortunately I think
no-one supports it.
Gecko and Opera do, apparently IE does not.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Feb 16 '08 #14
Well bust mah britches and call me cheeky, on Sat, 16 Feb 2008 13:41:20 GMT
Travis Newbury scribed:
On Feb 15, 8:54 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.

You failed to read the thread, I sad Flash a long long time ago....
One wouldn't really have to read the thread to figure that...

--
Neredbojias
Riches are their own reward.
Feb 16 '08 #15
In article
<1c**********************************@28g2000hsw.g ooglegroups.com
>,
Travis Newbury <Tr***********@hotmail.comwrote:
On Feb 15, 8:54 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.

You failed to read the thread, I sad Flash a long long time ago....
You mean that earlier on you admitted that Flash was (to quote
the words your reply was to) "for little code, it flashes and
annoys, it does not resize and it is a bit of a bother to
implement". I am sorry I missed that earlier admission.

--
dorayme
Feb 16 '08 #16
ekkehard.horner schrieb:
Paul Randall schrieb:
[...]
wrong! no elements allowed between </headand </body>
wrong! no elements allowed between </headand <body>
[...]
Not my day, obviously!
Feb 18 '08 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: rikesh | last post by:
Hi Does anyone know how to make a table row flash in a certain colour, depending on a DB value? I have a helpdesk application listing statuses of Agents and the calls queued on the system. ...
2
by: Phillip Parr | last post by:
I've made a chat page using php and javascript. Which is nice. But I'd really like the title bar to flash when a new message appears for users who have minimised the window, like msn. Does any body...
9
by: Phillip Parr | last post by:
Hello, I know there is no way in Javascript to make the task bar flash when your window is minimised. However, I found out recently that if a javascript alert is sent to netscape when the window...
2
by: Xam | last post by:
Hello Everybody Can you let me know of a javascript/dom routine that will automatically put the flashing cursor in the first text box in my form so that it is ready for entry rather than the...
4
by: Randy Harris | last post by:
Strange problem on A2K. A continuous form is getting some sort of strobe effect on several systems that have been upgraded to Windows XP (never saw the problem on Win2K). One of the text boxes is...
0
by: Wayne | last post by:
If I open a report using this code it "flashes" as it opens: DoCmd.OpenReport "NumbersByDate", acViewPreview DoCmd.Maximize This is probably to be expected. If I open the same report using...
5
by: Ian Stiles | last post by:
I have tried everything under the sun to get rid of horrible flashing and flickering that occurs on a CSharp form when the form hosts a TreeView or WebBrowser control and then you resize the form....
8
by: Ian Stiles | last post by:
If you have "Show window contents while dragging" turned on (Right-click desktop, Appearance, Effects) then you get horrible flashing and flickering on a CSharp form when the form hosts a...
2
by: DzemoT. | last post by:
how to make flashing label (or other text control) depending of label's text example: if label.text="Hello" then 'flash else 'dont flash end if tnx
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.