Send Windows Message to Windows Application From JavaScript in application

Does anyone know if it's possible to send a windows application a message from javascript.

I have an web application that integrates to a windows application running on the client's machine where the web browser is running the application.    

When the user selects a record from a gridview in the web application I need to send a windows message to the client application to tell it which record was selected in the browser application.

If it's possible, I expect that it will require javascript to send the message to the windows client application.   Any ideas?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ted BouskillSenior Software DeveloperCommented:
Javascript cannot interact with the host client by design for security reasons.  Can you imagine how dangerous the web would be if it could?  Web sites are built to work in a sandbox created by the browser and have no access to the client by design.

If sounds like you should be building a 'Smart Client' application instead.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ted BouskillSenior Software DeveloperCommented:
http:#30346317 is the correct answer which is "It can't be done"
eFinancialSolutionsAuthor Commented:
An asnwere that it 'Can't be done' is not a solution.  
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.