Solved

Embeding forms from one app into another

Posted on 2002-05-12
9
146 Views
Last Modified: 2013-11-18
Hi,

I have no idea how to go about this but this is what I wish to achieve.

I wish to write a "master" application that does some core functionality.

I then wish to write other sub applications that can embed forms, tab pages, menu items, toolbuttons etc in the "master" application that can control the sub applications.

How do I go about this?[

Is COM involved here?

Please give full answers to this question.
0
Comment
Question by:ChrisBerry
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 9

Expert Comment

by:ITugay
ID: 7004211
Hi ChrisBerry,

not so easy

1. different application runs in different threads
2. objects locacted in different application located in applications memory that protected from another application.

Why do not use DLLs?

-----
Igor
0
 
LVL 4

Expert Comment

by:jsweby
ID: 7004216
Sounds like you want to add plug-ins to your software. Your "master" application will accept plug-ins that can add new menu items and screens to it. There's a great article on writing a program that can take plug-ins at
http://www.delphizine.com/features/1998/12/di199812me_f/di199812me_f.asp

J.
0
 

Author Comment

by:ChrisBerry
ID: 7004386
Hi,

Thanks for the replies.

ITugay,

The reason, as I see it, for not using DLLs is that I do not wish the "master" program to be aware that it needs anything and DLLs have to be declared. Maybe I am wrong and there is some way of doing this.

isweby,

Plug-ins sounds like a posibility however the article you mention is only available to subscribers of Delphi Informant, of which I am not and getting things like that here in South Africa is an "arm and leg" job.

Any further ideas?

Just out of interest I have seen almost what I want in action. When you instal VISIO it adds a button to the toolbars in MS Excel and Word.

Chris
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 4

Expert Comment

by:jsweby
ID: 7005332
Sorry you couldn't get to the DI article, I'm reluctant to email you a copy of the article if it is locked to subscriber's only.

Adding buttons and menus to the MS applications such as Word, Outlook and Excel is COM - you have to design the application so that it can take that, but that's out of my field of expertise.

J.
0
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 200 total points
ID: 7007549
Check out this site, I hope it helps!

http://www.uil.net/plugins.html



DragonSlayer
0
 

Author Comment

by:ChrisBerry
ID: 7007794
Hi,

Thanks for the replies.

isweby,

Following your comments on plugins I did a search and ended up at uil, as mentioned by DragonSlayer, and have been evaluating their plug-in manager. So far I have tried their free product which works sort of OK but I am unable to achieve what I want, although it is quite interesting.

Further investigation into DLLs leads me to believe I can use objects from DLLs in my application. The only problem is I do not know how.

Interfaces??

Regards

Chris
0
 
LVL 4

Expert Comment

by:jsweby
ID: 7007854
Interfaces are my grey area, if you find a good site that explains interfaces well, I'd love to hear about it!

J.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 7007920

I hope this will be usefull for your quest:

http://delphi.about.com/library/weekly/aa012301a.htm

-------
Igor
0
 

Author Comment

by:ChrisBerry
ID: 7166366
Not really the answer I was looking for but interesting all the same.

Cheers

Chris
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question