Re: Doing The Impossible

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dmitriy Lapshin [C# / .NET MVP] (x-code_at_no-spam-please.hotpop.com)
Date: 04/20/04


Date: Tue, 20 Apr 2004 16:26:57 +0300

Hello Greg,

You could write a simple C# app hosting the IE Web Browser control (yes yes
it will be a simple specialized web browser). Your users would then open the
University's Web app in that browser, navigate to the page where data should
be pasted, and here comes the trick. Your existing app should be able to
copy all necessary data to the clipboard using some predetermined format
(say, CSV or even better - XML) - I hope this is not that hard to implement
. The specialized browser, in turn, should be able to read the data from the
clipboard in that format and toss them to the Web page fields by using the
IE page object model.

Does this make sense?

-- 
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Greg Smith" <gjs@umn.edu> wrote in message
news:exoueOtJEHA.752@tk2msftngp13.phx.gbl...
> Hello, I have been given a programming task that falls into the
"impossible"
> category with my current skill set.  I am hoping somebody out there knows
> how to do this and can save my b-t.
>
>
>
> I work for a large University.  I wrote a Windows-based database
application
> for my department that is used in purchasing.  The University has just
> released Web-base application that does the same thing using a sub set of
> the data that my application uses.  The people in my department hate it
and
> want to keep using my application, however, the University application
MUST
> BE USED to order.  What my users have asked for is a way of doing a mass
> copy and paste of the needed information from my Windows app to the Web
app.
> I have talked to the University's programmers and there is absolutely no
> chance of them changing their application to facilitate this.  It all has
to
> be done from the Windows app.
>
>
>
> Obviously information could be cut and pasted a field at a time, but they
> would like a massive copy and then go to the web form and paste, paste,
> paste.
>
>
>
> Is there a way to do this from the clip board?  From a text file?  Can I
> assign a hot-key programmatically to paste things off the clipboard or
text
> file?
>
>
>
> Any help is greatly appreciated.
>
>


Relevant Pages

  • Re: Spaces - do you use it, and how?
    ... for moving all the windows of a selected app to the other space. ... your mail sits, OR do you have a space with a web browser, image editor ... Word Windows went missing for ...
    (uk.comp.sys.mac)
  • Re: Running a C# program w/GUI through a web browser
    ... your windows app and embed it in a web browser like you are wanting too. ... > local machine and displays a graphical representation of this. ... Eg. executing the program through a web browser. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Embedded WMP 6 suddenly got WMP 9 looks, why?
    ... sorry I don't use the web browser control in my VB app. ... I think my problem i really rare, so don't waste time on it, but if ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Doing The Impossible
    ... it will be a simple specialized web browser). ... University's Web app in that browser, navigate to the page where data should ... > copy and paste of the needed information from my Windows app to the Web ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Scanning from asp page
    ... Unfortunately we are to far down the line with the ASP app to change to a Win ... app, and when the windows app is finished processing images, the asp page ... perhaps should consider a Windows App that hosts a web browser or talks to a ...
    (microsoft.public.dotnet.framework.aspnet)