|
-
Oct 23rd, 2001, 11:40 PM
#1
Thread Starter
Lively Member
Adding Activex Exe project in a project group
Hi all,
Why i cannot add an active x project into a project group?
I got error like this
c:\prjActiveXExe.vbp cannot be referenced because its project type is exe
Another question:
why i can add several standard exe projects into a project group? What is the difference between adding standard exe project and activex exe project into a project group?
Thank You!
-
Oct 24th, 2001, 09:05 AM
#2
Fanatic Member
An Ax.exe allows for automation of it's components and therefore referencing. Problem is it runs in a different process space than the calling application. So VB forces you to develop it in a separate instance of the IDE to be in its own process space.
Standard.exe also run in separate process spaces but VB allows them to be grouped because they can't be automated anyway (only one can run at a time).
Ralph
-
Oct 24th, 2001, 10:07 AM
#3
Thread Starter
Lively Member
Thanks Ralph!
Could u explain more about what is automation of it's components?
Thanks!
-
Oct 24th, 2001, 12:29 PM
#4
Fanatic Member
Take MS Word for example. This is an application that is really an ActiveX.exe. It has special classes (called components) that can do things like spell checking. Instead of writing your own spell checker feature in your standard.exe, you can automate Word (ie use code in your standard.exe to make Word run and use its component to do the spell checking).
Similarly you can write your own Ax.exe to do whatever and allow its classes to be used by other applications. You'll notice that classes in Ax.exe have an instancing property that allow for this while standard classes don't. But don't jump into that field unless you have a good understanding of how to code classes.
Ralph
-
Oct 24th, 2001, 10:32 PM
#5
Thread Starter
Lively Member
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
|