473,404 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Embed Another Application In my C# App

I am looking to embed an application into my c# Application.
(Google Earth for reference)
It does not appear to have an OLE interface.

I want to use it on a panel within my application thus allowing me to add my
own customised tool bar etc.

Does anyone have any suggestions on how to best acheive this goal?
Jun 27 '06 #1
3 4330
If it really doesn't have any sort of OLE or any other sort of programmable
interface, the only way I can think of to control it is using SendKeys. A
horrible solution IMHO, but sounds like it could be the only one...

"ShaunO" <Sh****@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
I am looking to embed an application into my c# Application.
(Google Earth for reference)
It does not appear to have an OLE interface.

I want to use it on a panel within my application thus allowing me to add
my
own customised tool bar etc.

Does anyone have any suggestions on how to best acheive this goal?

Jun 27 '06 #2
There is a basic way to control it (it polls a text file)

The bit which i need a little assistance with is how i can actually embed
it's UI/ graphical output into my application so it appears to look like my
application.

An abstracted example would be to write an application that contains a panel
on which the windows calculator would appear. In that area of the ui, the
user could use all the functionality of the calculator as if it were in its
own window.

Is it maybe possible to enumerate the windows open, find the one that is
google earth and then asign its parent to a panel in my application ?? -
really dont know?

Shaun

"ChrisM" wrote:
If it really doesn't have any sort of OLE or any other sort of programmable
interface, the only way I can think of to control it is using SendKeys. A
horrible solution IMHO, but sounds like it could be the only one...

"ShaunO" <Sh****@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
I am looking to embed an application into my c# Application.
(Google Earth for reference)
It does not appear to have an OLE interface.

I want to use it on a panel within my application thus allowing me to add
my
own customised tool bar etc.

Does anyone have any suggestions on how to best acheive this goal?


Jun 27 '06 #3
The easiest way to complete your task is to find whether SDK/API is available
for the APP that you want to harness into your own.
If it's not, you need to use "screen scraping" approach (like there
http://www.codeproject.com/aspnet/weather.asp) and create wrapper what you
will use from you app
There is a basic way to control it (it polls a text file)

The bit which i need a little assistance with is how i can actually embed
it's UI/ graphical output into my application so it appears to look like my
application.

An abstracted example would be to write an application that contains a panel
on which the windows calculator would appear. In that area of the ui, the
user could use all the functionality of the calculator as if it were in its
own window.

Is it maybe possible to enumerate the windows open, find the one that is
google earth and then asign its parent to a panel in my application ?? -
really dont know?

Shaun

"ChrisM" wrote:
If it really doesn't have any sort of OLE or any other sort of programmable
interface, the only way I can think of to control it is using SendKeys. A
horrible solution IMHO, but sounds like it could be the only one...

"ShaunO" <Sh****@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
I am looking to embed an application into my c# Application.
(Google Earth for reference)
It does not appear to have an OLE interface.

I want to use it on a panel within my application thus allowing me to add
my
own customised tool bar etc.

Does anyone have any suggestions on how to best acheive this goal?


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 27 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Phil | last post by:
Hi, I want to access the features of a plugin without actually embedding it into a page. Is this possible? Eg The code to embed the object into a page is: <OBJECT...
2
by: Annu | last post by:
Hi I need help on <enbed> tag. Following code(No 1) is working properly on windows but on linux code no.2 is not working Code No 1: <EMBED type='application/x-mplayer2' ...
1
by: snicks | last post by:
I have a series of XLS files which I need to embed into a PowerPoint presentation on an IIS server. I’ll be using VB.NET. I’ve tried using an ASPOSE.PowerPoint control to do this and it does...
3
by: johnThemod | last post by:
Hi, Im new to these groups, Im wondering is it possible to develop a windows application(c#) and embed it into a browser. So if a user goes to this page, the application woudl be downloaded....
1
by: stoj | last post by:
I have a smallish C# application that i wish to distribute as a standalone executable (ie. without installer or other support files). Easy enough if everyone has .Net Framework 2.0 installed as...
8
by: Tomasz J | last post by:
Hello Developers, It may sound like a stupid question, but how to embed a resource in ASP.Net 2.0 web application? I mean, without using a separate library. There is no "build action" property....
1
by: MoroccoIT | last post by:
Greetings - I have a CF Form that uploads news articles, at times, I like to paste Youtube Videos with my articles. I noticed that on one server, it works fine, but on a different hosting company,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.