I am trying to place a Seagate Crystal Report OCX onto a PB window.
The Crystal32.OCX is not in my default list in the OLE control so I
registered a new one.
I then place this Crystal OCX onto a PB window. I have access to the OCX
Properties by right clicking. However if I close this window and reopen it,
I cannot access the OCX Properties. It appears as though there is just a
control on my window now.
Any info. would be appreciated.
I try to use Progress Bar from windows with conctl32.ocx. In NT Workstation
4.0 I register the ocx but when I insert this control in my window, I get
this message : Insert of OLE object fail. License file required.
Why ? I never get this message before.
Thanks for your help.
PS : If anybody answer this question, I appreciate if a e-mail to :
usually, the registration with regsvr32 does not make the ocx avalible in
design mode, only in run mode.
you need to install the ocx with installation kit from the ocx vendor, so
you will have lisen...OCX (visual control) creation in PB 6.5 ?
What is the way to create dynamicly an OLE Control for a visual V.B. 6.0
OCX (through PB scripting)?
Why doesn't my OCX react to event pbm_keydown, ... What should be done ?
...PB 9 Insert OLE OCX control error
I am using PB 9.0.2 Build 7534 and I am trying to insert an OCX control
onto a form ... so I choose OLE from tool bar and the "Insert Object" window
opens ... so I choose the "Insert Contro" tab ... the moment i choose this
tab I get the follwoing error:
pb90.exe - Application Error
The instruction at "0x77c1beab" referenced memory at
"0x00000001". The memory could not be "read".
Click on OK to terminate the program
I removed all Antivirus software from my PC and...New to OCX : How can we access OLE, OCX events and properties
I have never used OCX, OLE controls, my question is
how can we access their events
how can we access their properties
There events should be posted along with regular PB events. Access
properties and methods with the .OBJECT keyword. i.e.
oleobject_1.object.property = ??
mohammed Al <firstname.lastname@example.org> wrote in article
> Hi Everyone
> I have never used OCX, OLE controls, my question is
> how can we access their events
> how can we access their properties
>...Novell OCX NwvolAdm.ocx
I cannot set the .Fullname property of this control.
i use: lob_nwvol.object.FullName = "\\......"
but i keep getting a wrong property error.
Could anyone please help?
...Deploy visual speller OCX with PB 5.0.2 application?
Have anyone experienced in deploying PB 5.0.2 application that contains a
Visual Speller OCX component?
I like to know what are the steps involved to deploy the OCX in a client PC
(eg registering the component onto the client's registry?)
BTW the client will be running Win95.
Thanks in advance,
To register an ActiveX (OCX) component on Windows95 you need to run
REGSVR32.EXE on the clients machine and pass in the path and file of the OCX
Des Moines, IA USA
Michael Mok wrote:
...Registering OCX control
When I try to manually load an OCX control via the regsrvr32 executable
I get the following error. LoadLibrary failed. GetLastError returns
0x0000045a. Any ideas?
...Cannot register OCX control
I cannot register our self written OCX Control:
1. When I try to register it from PB the message
'c:\winnt\system32\preview.ocx <SCODE=-2147220992> failed to properly
self register' appears.
2. When I type 'regsvr32 c:\winnt\system32\preview.ocx' in the DOS
prompt the message 'DllRegisterServer in c:\winnt\system32\preview.ocx
Anybody knows the trick?
Make sure you have all the dependent DLLs in the path or in the same
"Thorsten Kummer" <Thorsten.Kummer@gmx.de> wr...OCX Events (using activeShapes OCX Control) -- Challenge for Team PS
I recently downloaded the activeSHAPES OCX Control
(www.componentsource.com) and have been able to successfully implement the
tutorial within PB 5.0.04 with no problems, except for one thing.
PB can only see events and functions at the top level of the OCX control.
However this control has the ability to contain sub-objects which have
events on them. Normally, when using this control in VB, this presents no
problems, as you can instantiate the sub-objects using 'with events'
notation, thus trapping the event handling for the sub-objects contained
I guess something is wrong with the way i implement an ocx.
I just drop the ocx control on a window and start using it's methods.
But how am i really supposed to do this ?
I know it sounds stupid...
When you drop the OCX on the window, it always named it as OLE_1
Try OLE_1.OBJECT.property = value for your object
For example, using a Calendar OCX from pb5 examples:
ole_1.Object.day = 25
set the day of the OCX calendar to 25
Also check your OCX help files to learn more about the properties of your
Balbino Caballero P.
I have a broblem to access the functions of a OCX provide by an other
I can see the OCX in my window but if I reference any of the function of the
OCX PB said "incompatible property object for type ole_1"
I can also see the function in the PB BROWSER.
I think that the OCX have invalid parameters for compilation in VB but I
have no exerience in VB an the provider of the OCX
have no exerience in PB.
Can you tell me if some special feature are necessery for OCX compilation to
be compatible with PB.
In article <pjSPRnMRAHA.email@example.com....OCX
Is it possible to write some code that determines if an OCX has been
registered (by the program that wants to use it)?
Med Vänlig Hälsning / Kinds regards,
Back at ya.
> Is it possible to write some code that determines if an OCX has been
> registered (by the program that wants to use it)?
if Succeeded( CLSIDFromProgID( 'Excel.Sheet', Junk ) ) then
ShowMessage( 'Registered' );
ShowMessage( 'Not' );
does anybody know the meaning of the error message :
E5043 Could not generate files for component(s)
I get it when try ing to add an OCX to the Component Gallery of Optima++
1.5, although the OCX appeared in the list of registered OCXs.
PHASE GmbH, Bluechertr. 2, D-23564 Luebeck
Tel. +49-451-792744, Fax +49-451-792644