|
-
May 11th, 2001, 02:17 AM
#1
Activex Exe Ref. ?
I am using 2 Activex EXE A and B and one Test Project. Is it possible to handle any function or property of B from A ??? for that purpose is it necessary to include B.exe in project-references of A ?
-
May 11th, 2001, 03:42 AM
#2
Fanatic Member
Interface Inheritance?
It's not quite clear what you mean but I assume you would like to be able to have a client app that expects an object of type A. But, you want to give it object B, as B contains the implementation code.
If so, B must reference A. Then, a class module in B can implement interface classes from A. Use the word 'Implements' at the top of the class module.
-
May 11th, 2001, 03:52 AM
#3
Thank you very much !
while writing code for A, I have selected B from Project - Reference. and interfaces of B can be seen in A. But while executing test project it is giving error for A <<object is invalid or with block is not correct.>>
-
May 11th, 2001, 04:10 AM
#4
Fanatic Member
Object error
Witouht knowing the precise circumstances surrounding the error you are getting, I could only assume that you are attempting to use an object from B that has not first been instanciated.
-
May 11th, 2001, 05:14 AM
#5
Thank you very much. Your guess was correct. I haven`t created new instance of B in A. Now it is working perfect.
Thanks & Regards
Mahesh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|