Advertisement

05.16.2008 at 05:52AM PDT, ID: 23408073 | Points: 125
[x]
Attachment Details

moving message sign

I sometimes need to send a message to our customer without sending an email. If someone could help me with some code to make a moving message sign or something else to give our customer some info about for an example, if, the emailserver is down.

br
Kenneth
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: QC20N
Question Asked On: 05.16.2008
Participating Experts: 2
Points: 125
Views: 0
Translate:
Loading Advertisement...
05.16.2008 at 05:57AM PDT, ID: 21582242

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.16.2008 at 06:18AM PDT, ID: 21582380

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.17.2008 at 08:35AM PDT, ID: 21589717

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.18.2008 at 10:50AM PDT, ID: 21593402

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2008 at 12:37AM PDT, ID: 21595748

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2008 at 03:38AM PDT, ID: 21596445

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2008 at 03:56AM PDT, ID: 21596525

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2008 at 04:23AM PDT, ID: 21596671

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2008 at 04:39AM PDT, ID: 21596781

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.19.2008 at 05:20AM PDT, ID: 21597066

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
06.27.2008 at 12:23AM PDT, ID: 21881497

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.16.2008 at 05:57AM PDT, ID: 21582242

Rank: Guru

Can you clarify what you need help with?:
For example there are components out there that are good at displaying fancy messages, or you could have marqueeing text or a popup form or something.
--but there's a whole nother side to it - what's calling this popup? Is it your application? Does the message need to appear even if your application isn't running (in which case you need a service?).
Will the message be triggered by remote - for example the application could check an internet server every 5 - 10 minutes to see if there are any messages - or you could broadcast a message over the ports on your network - in which case you need someone that's good at networking.
 
05.16.2008 at 06:18AM PDT, ID: 21582380
For a windows system :

there is also the good old batch command
net send computername message
at the cmd prompt type "net send /?" for more info

for this to work: the service "Messenger" must be running on the destination computer and the sending computer

it diplays a simple message box with an ok.

We wrote a dozen applications to provide this functionality and now and then they just don't work.
We didn't have any trouble with this (yet :)



 
05.17.2008 at 08:35AM PDT, ID: 21589717
Well, I know the Net send command, but to have this working the service should be running and it is not running by default. So what do you think is the easy solution? I don't want to use the Net Send command.
 
05.18.2008 at 10:50AM PDT, ID: 21593402
easy ?
who said anything about easy ?

The most common program for us is UDP.
Easy to do with Indy.
But then again, with port blocking doesn't work ...

Make a client to send / receive messages to a other client or server.
I could give you our example but I am not at work at the moment.


 
05.19.2008 at 12:37AM PDT, ID: 21595748
:) Yes, I know notthing is easy.

But will be appreciate if you can give me the exampel.
 
05.19.2008 at 03:38AM PDT, ID: 21596445
This is the extract from the server and the client :

We actually create a database entry to create a message.
This way we can even send udp messages from a stored procedure in the database ...
Then we created a observer which monitors the messages table to send to the recipients.

The recipients just show the message in a Edit box
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
Server:
 
procedure ProcesThread.AlertUdp(SendText, Recipients: string);
var
  Recipient: string;
  Udp: TIdEchoUDP;
begin
  SendText := FieldByName('TEXT').Value;
  while Trim(Recipients) <> '' do 
  begin
    Recipient := Trim(Copy(Recipients, 0, Pos(';', Recipients) - 1));
    if Trim(Recipient) = '' then 
    begin
      Recipient := Trim(Recipients);
      Recipients := '';
    end else
      Recipients :=  Trim(Copy(Recipients, Length(Recipient) + 2, Length(Recipients)));
    Udp := TIdEchoUDP.Create(Nil);
    try
      with Udp do 
      begin
        Host := Copy(Recipient, 0, Pos('@', Recipient) -1);
        Port := StrToInt(Copy(Recipient, Length(Host) + 2, Length(Recipient)));
        Send(SendText);
      end;
    finally
      FreeAndNil(Udp);
    end;
  end;
end;
 
The client side:
 
procedure TfrmMain.UDPObjUDPRead(Sender: TObject; AData: TStream; ABinding: TIdSocketHandle);
var
  Stream: TStringStream;
begin
  if Application.Active then 
  begin
    Stream := TStringStream.Create('');
    try
      Stream.CopyFrom(AData, AData.Size);
      medWarning.Text := Stream.DataString;
    finally
      FreeAndNil(stream);
    end;
  end;
end;
Open in New Window
 
05.19.2008 at 03:56AM PDT, ID: 21596525
So I can just copy & paste this in Delphi and it will work?
 
05.19.2008 at 04:23AM PDT, ID: 21596671
these are just the core routines ...
you obviously don't expect me to write your whole application ???
hell even i'm not that lazy ... oh well, i admit ... only on Mondays
 
05.19.2008 at 04:39AM PDT, ID: 21596781
:) No, I didn't expect that. I was just interested to see it visual. You know to see it in action. :)
 
05.19.2008 at 05:20AM PDT, ID: 21597066
visual ?
you mean something like the window action MsnMessenger does ?

or like flashing the Desktop button on the task bar ?
this flashes the button of a preview window in which you could put the edit control displaying the message:

off course you need to set the WS_EX_APPWINDOW to have the button separate from the main window ...

procedure TfrmPreview.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
  Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;
end;
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
procedure TfrmPreview.FlashTaskbarButton;
var
  FWinfo: FlashWInfo;
begin
  FWinfo.cbSize := 20;
  FWinfo.hwnd := Handle; // Handle of Window to flash
  FWinfo.dwflags := FLASHW_ALL;
  FWinfo.ucount := 3; // number of times to flash
  FWinfo.dwtimeout := 0; // speed in ms, 0 default blink cursor rate
  FlashWindowEx(FWinfo); // make it flash!
end;
Open in New Window
 
06.27.2008 at 12:23AM PDT, ID: 21881497
I will look at it.
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628