views:

108

answers:

2

I have a problem that I feel is best implimented in a stand alone windows application, but needs to pass data to a web page that is already open.

Is it possible to pass the data directly to the web page?

If so, what is the best way to go about it?

(Its my first question, so go easy on me!)

+1  A: 

This is not going to be an easy problem to solve, but I think it's possible by hosting the web-page in a browser embedded in a .NET application. This Code-Project article might help

Also this article talks a bit about accessing the DOM through a C# application.

Have you got any requirements on language? And can you add a bit more detail about exactly what you're trying to achieve?

EDIT 1: Watij is a web-application testing framework for Java. You can use it to fill in text-boxes, click buttons etc. I think it might fit your needs and, if it doesn't, it's open-source, so you might be able to hack it to work. There is a whole family of Wati* products - Watin for .NET, Watir for Ruby, etc.

RB
We need to do some modeling that would work best if graphicly displayed, and we are required to use a fairly restrictive in house framework when building web pages. If we could use a stand alone app and pass various values back to the open web page, it would help avoid the framework problem.
NathanL
The app language would probably need to be Java, and for the web unfortunantly we are stuck with the in house xml based frame work.
NathanL
+1  A: 

Getting access to external web pages are not permitted due to security credentials. But you can open and write to a web page via winInet APIs. Please go through the article

http://www.informit.com/library/content.aspx?b=Visual_C_PlusPlus&seqNum=107

lakshmanaraj