Easy Q? MFC ActiveX / VB ActiveX control 
Author Message
 Easy Q? MFC ActiveX / VB ActiveX control

Hi!

I have a VB project consisting of ActiveX controls.

For some code I needed to build a MFC ActiveX (MSVC++).

Then I added the MFC Active X to the VB projects main form and then I used
the Package wizard to generate a Internet Package of the project.

But...!
When I run the installation the *.html/*.cab (generated by the Package
wizard [Internet Package]) stops when it comes to the MFC ActiveX
(Stops=just a little bitmap appears in the browser instead of the ActiveX).
If I uncheck (exclude it from the installation script) the MFC Active X when
I generate the installation Package, everything works!

(Another thing is that the installation package works on computers that have
VB/MSVC studio installed! Is there a dll missing?)

Is there a work around or solution!

Please heeeeeeeeeeelp!!

Regards,
Marcus




Mon, 12 Aug 2002 03:00:00 GMT  
 Easy Q? MFC ActiveX / VB ActiveX control
Hi Marcus,

It depends on the dependencies of your MFC executable. Just to be sure, I'd
create a DEP file for it (just look at any DEP file for the OCX's included
with VB), and place the MFC runtime and anything else it relies upon there.
There are CAB files in the MS cab server (I forget the URL) for the MFC
runtimes, so you can point to those if you want instead of including them on
the package.

--
. . . . . . . . . . . . . . . . . . . . . .
Please post/reply to the
newsgroup(s)

Klaus H. Probst, MVP
   http://www.vbbox.com/
   http://www.mvps.org/ccrp/


Quote:
> Hi!

> I have a VB project consisting of ActiveX controls.

> For some code I needed to build a MFC ActiveX (MSVC++).

> Then I added the MFC Active X to the VB projects main form and then I used
> the Package wizard to generate a Internet Package of the project.

> But...!
> When I run the installation the *.html/*.cab (generated by the Package
> wizard [Internet Package]) stops when it comes to the MFC ActiveX
> (Stops=just a little bitmap appears in the browser instead of the
ActiveX).
> If I uncheck (exclude it from the installation script) the MFC Active X
when
> I generate the installation Package, everything works!

> (Another thing is that the installation package works on computers that
have
> VB/MSVC studio installed! Is there a dll missing?)

> Is there a work around or solution!

> Please heeeeeeeeeeelp!!

> Regards,
> Marcus





Fri, 16 Aug 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ActiveX interface magic requested (advanced ActiveX/VB/MFC question)

2. VB ActiveX Control on a MFC VC++ Dialog.

3. Integrating VB ActiveX Controls with MFC Apps

4. Question: Catching errors from a VB ActiveX control in Visual C++ using MFC

5. Key/tab problems using VB ActiveX controls in MFC CView and derived classes or PropertyPage

6. Embedding licensed ActiveX Controls within a VB ActiveX Control

7. Problems with loading ActiveX control made in VC++ 6.0 using MFC

8. MFC ActiveX Control with VBA

9. How to use an ActiveX control without MFC?

10. ActiveX.exe or ActiveX DLL or ActiveX Control?????????????

11. ActiveX DLL Qs

12. Accessing activex control from another activex object in ie5 (vb 6)

 

 
Powered by phpBB® Forum Software