Need ActiveX Help

From: S. Kelley (skelley.nospamaccepted_at_sciend.com)
Date: 08/20/04


Date: Fri, 20 Aug 2004 09:07:04 -0700

I have been struggling with this problem for several weeks now and could
really use some guidance. I am trying to create an ActiveX component and load
that component into an application using PB 4.2 and eVC 4.0. I build the OCX
with both eVC and VC6 (to get the design version) without any problems. The
design OCX loads into my eVC program and displays properly. Everything seems
to work from the build/download/run until I try to load the dialog box that
contains the OCX. I keep getting the error 1407. I have tried to debug the
problem but can't get to my OCX code. If I put a breakpoint in the dialog
handling routine of the app, it gets there once with a window message value
of 71. From there the program is hosed. I tried to put a breakpoint in the
OCX constructor but it never gets there. Any advice would be greatly
appreciated and could very well save what little remaining sanity I have.



Relevant Pages

  • Re: Cannot call ActiveX component function from VBScript
    ... 2005 ActiveX component with one exported method which ... I tried in two ways to call the ocx method from javascript: ... VBscript makes the object, but cannot call the ocx method. ...
    (microsoft.public.scripting.vbscript)
  • Re: UserControl HELP
    ... I spent a lot of time for create an ocx as flessible ... > from a database how many control load and than load the page. ... > I need to know if there is some tips for the create a faster ocx. ... they have to load the controls ...
    (microsoft.public.vb.controls)
  • Re: OCX loads in C++ (MFC) but not on C#
    ... Some components that inside the OCX do not get load correctly, ... > During testing I used my machine and some machines that belong to some ... > out an automation error, but what puzzles me the most is that the C++ ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Cannot call ActiveX component function from VBScript
    ... 2005 ActiveX component with one exported method which ... I tried in two ways to call the ocx method from javascript: ... VBscript makes the object, but cannot call the ocx method. ...
    (microsoft.public.scripting.vbscript)
  • Re: Calling ActiveX component method from JScript
    ... 2005 ActiveX component with one exported method which ... Can you be more specific VBScript or VB6? ... I tried in two ways to call the ocx method from javascript: ...
    (microsoft.public.scripting.jscript)