473,699 Members | 2,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4352
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****@discuss ions.microsoft. com> wrote in message
news:1E******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:1E******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:1E******** *************** ***********@mic rosoft.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
1923
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 classid='CLSID:7FA62735-AHC3-14d2-9F81-00114B3245C5
2
3286
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' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
1
3436
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 partially work. The problem is that when I embed the XLS files PowerPoint is not running and has no way of capturing the XLS image and embedding it into the PPT. When the user opens the PPT they are presented with hundreds of “Object...
3
7669
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. kinda the way you can embed applications in applets for Java,
1
1657
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 it's a simple question of file copy/mail/web-publish/etc. The problem is when the application is run by someone who doesn't have .Net installed, it exits without any visible error (except for an obsecure entry in the event log). Needless to say,...
8
2540
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. Thanks, Tomasz J
1
4714
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, my Youtube videos don't work. After I checked the database, I can see that the youTube code did get uploaded, but the Embed tag turned to InvalidTag - Please see my youtube video script below. Does anyone know what is causing this problem and...
0
8612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9171
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9032
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6532
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.