Good day, all! I'm wondering if it's possible to write two applications
so that they can each compile to their own EXE, but one application can
manipulate the objects on the other application. For example...
App_A
---
' This app has a form with a text box
txtAddress
App_B
---
' This app can access the methods and properties of App_A's text box
App_A.txtAddress.Text = "foo"
No? Perhaps if it looked like this...
App_A (ref:DLL)
---
' This app has a form with a text box and references a DLL
txtAddress
DLL
---
// This DLL can somehow drive App_A
clsAppA
{
modifyAddress();
}
App_B (ref:DLL)
---
' This app has a reference to the same DLL and drives App_A via that
DLL's class(es)
a = new clsAppA();
a.modifyAddress("foo");
Okay, this is really awful pseudocode, but hopefully you'll get the
idea. What little I've found on this makes me believe it's referred to
as out-of-process automation. My problem is that I can't find any
example of how it can be done in VB6 (if at all).
Again, what I'm really wanting to do is to call functions, modify
objects, and generally act as if App_B is a part of App_A without the
need to compile the code in to App_A.
Any kick in the right direction would be sincerely appreciated!
'Mutt 2 3291
Check your helpfile: MDI or DDE
Shuttermutt heeft geschreven in bericht ... Good day, all! I'm wondering if it's possible to write two applications so that they can each compile to their own EXE, but one application can manipulate the objects on the other application. For example...
App_A --- ' This app has a form with a text box txtAddress
App_B --- ' This app can access the methods and properties of App_A's text box App_A.txtAddress.Text = "foo"
No? Perhaps if it looked like this...
App_A (ref:DLL) --- ' This app has a form with a text box and references a DLL txtAddress
DLL --- // This DLL can somehow drive App_A clsAppA { modifyAddress(); }
App_B (ref:DLL) --- ' This app has a reference to the same DLL and drives App_A via that DLL's class(es) a = new clsAppA(); a.modifyAddress("foo");
Okay, this is really awful pseudocode, but hopefully you'll get the idea. What little I've found on this makes me believe it's referred to as out-of-process automation. My problem is that I can't find any example of how it can be done in VB6 (if at all).
Again, what I'm really wanting to do is to call functions, modify objects, and generally act as if App_B is a part of App_A without the need to compile the code in to App_A.
Any kick in the right direction would be sincerely appreciated!
'Mutt
Look into AX Exes
- that sounds like what you are after
On Thu, 04 Sep 2003 23:18:19 GMT, Shuttermutt <sh*********@nospam.com>
wrote: Good day, all! I'm wondering if it's possible to write two applications so that they can each compile to their own EXE, but one application can manipulate the objects on the other application. For example...
App_A --- ' This app has a form with a text box txtAddress
App_B --- ' This app can access the methods and properties of App_A's text box App_A.txtAddress.Text = "foo"
No? Perhaps if it looked like this...
App_A (ref:DLL) --- ' This app has a form with a text box and references a DLL txtAddress
DLL --- // This DLL can somehow drive App_A clsAppA { modifyAddress(); }
App_B (ref:DLL) --- ' This app has a reference to the same DLL and drives App_A via that DLL's class(es) a = new clsAppA(); a.modifyAddress("foo");
Okay, this is really awful pseudocode, but hopefully you'll get the idea. What little I've found on this makes me believe it's referred to as out-of-process automation. My problem is that I can't find any example of how it can be done in VB6 (if at all).
Again, what I'm really wanting to do is to call functions, modify objects, and generally act as if App_B is a part of App_A without the need to compile the code in to App_A.
Any kick in the right direction would be sincerely appreciated!
'Mutt This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Yohancef Chin |
last post by:
Hi,
Being fairly new to .NET I am looking for a way to call MS
Word from an event on a webform, and after the user is
finished save that created document to an SQL Server
database. Has anyone...
|
by: mr net |
last post by:
Hi,
I'm trying to write:
Dim objWord As New Word.Application
in the codebehind page but I'm getting the error written
below. The question is what is the correct way to use word
or any other...
|
by: Geoff Jones |
last post by:
Hi
I have a DLL written in C++/MFC which has functions in it. I would like to
use it within a VB.net application. However, when I try to add a reference
to it, I'm told that "it isn't a valid...
|
by: Niyazi |
last post by:
Hi,
I am developing small insurance application using VB.NET and SQL server 2000.
My tables in SQL server are:
tbl_Customer (stores the custmer information)
tbl_CustImage ...
|
by: NeoPa |
last post by:
In VBA (I expect VB would be similar) controlling another Office Application (Automation) can be done using the following steps :
Ensure the Reference (VBA Window / Tools / References) has been...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |