Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 9th, 2005, 05:58 PM
Hawknz's Avatar
Hawknz Hawknz is offline
Blonde Contributor
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: New Zealand
Posts: 98 Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 21 h 59 m 57 sec
Reputation Power: 13
Unhappy ASP & Balloon popup problem

Hiyas,

I'm not too sure if this is the right forum for this, but lets try.

Firstly a quick rundown of the script: It's a multi-user ASP script (to be hosted on IIS 5.0) that monitors a specific variable in Application_OnStart.
When this variable is updated by another user, the change is detected and the asp script then reads text from a table in the .MDB database to display to the user online. (Sort of like a instant-messaging type system, but there is a small delay between checks!)

The text would contain something like "Call John on 521-xxx-xxx" or similar.

What I want to do with this text is display it in a balloon type popup from the taskbar area. Similar to the Outlook 2003 Desktop Alert pop up. I suspect this is called by a .DLL or ACTIVEX script, but I'm having difficulty locating something that will do this for me that will work in ASP and I wouldn't know how to impliment it. I don't really want to use a IFRAME or a Dialogue box to do this if I can help it.

Any suggestions, throughts, urls would be appreciated.

Thanks
Peter
__________________
Hawk - The flightless Kiwi bird

Did I help you out? Click the and agree.

Reply With Quote
  #2  
Old February 16th, 2005, 11:58 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,942 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 9 h 49 m 28 sec
Reputation Power: 62
The Outlook desktop alert would be a client side program. I'd look at implementing a sliding DIV which "pops" the message into the document in the least obtrusive place

Personally, I'd say that an alert() dialog would be Ok. This is basically how the private message alert works on this forum and it always seems Ok to me
__________________
selwonk

If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!

Reply With Quote
  #3  
Old February 16th, 2005, 01:32 PM
Hawknz's Avatar
Hawknz Hawknz is offline
Blonde Contributor
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: New Zealand
Posts: 98 Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level)Hawknz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 21 h 59 m 57 sec
Reputation Power: 13
Cool

Quote:
Originally Posted by selwonk
The Outlook desktop alert would be a client side program. I'd look at implementing a sliding DIV which "pops" the message into the document in the least obtrusive place

Personally, I'd say that an alert() dialog would be Ok. This is basically how the private message alert works on this forum and it always seems Ok to me


A sliding DIV would be a good idea. But to keep things simple, I may have to revert to an alert() dialog. Maybe I was just wanting too much in my program!

Appreciate the advice.

Reply With Quote
  #4  
Old February 16th, 2005, 04:14 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
You could use ECMAScript to create a borderless window that opens in the lower-left corner of the client's desktop

...but I'd kill anyone who actually does that

But yeah, stick with selwonk's suggestion, its the best, imho

-D00d

Reply With Quote
  #5  
Old February 16th, 2005, 04:40 PM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,942 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 9 h 49 m 28 sec
Reputation Power: 62
Yep - as D00d knows, I like keeping things simple. I'm always acutely aware that if the user is familiar with something, they will adopt it without question. A modal dialog pop-up is something that most users are familiar with - it does exactly what it says on the tin. Nice and simple, the user has probably dealt with it before, and it can even be made into a nice tidy function:
Code:
<%
Sub Alert(str_Message)
Response.Write("<script language=""JavaScript"">alert('" & str_Message & "');</script>")
End Sub
Alert('Your message here')
%>

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > ASP & Balloon popup problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway