Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.basic.powerbasic > #17

Re: Using 3rd party OCXs on PB dialog

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin1!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From GS <gs@somewhere.net>
Newsgroups comp.lang.basic.powerbasic
Subject Re: Using 3rd party OCXs on PB dialog
Date Mon, 13 Feb 2012 11:10:00 -0500
Organization A noiseless patient Spider
Lines 51
Message-ID <jhbckr$8fe$1@dont-email.me> (permalink)
References <jgrum9$ob0$1@dont-email.me> <jhacdk$91d$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Mon, 13 Feb 2012 16:10:03 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="UVJBuiIZprDyxzUkJsiwfw"; logging-data="8686"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YCCvSMiobYuG1MX9dclPm"
X-Antivirus-Status Clean
X-Newsreader MesNews/1.08.03.00-gb
X-Antivirus avast! (VPS 120213-0, 02/13/2012), Outbound message
Cancel-Lock sha1:uW3chozHIWffz5tnvDMir2d1xBU=
X-ICQ 543516788
Xref x330-a1.tempe.blueboxinc.net comp.lang.basic.powerbasic:17

Show key headers only | View raw


Chris Douce wrote :
> Have a look at FireFly from PlanetSquires Software.
>
> Chris
>
> On 7/02/2012 20:39, GS wrote:
>> I've asked PB if this is doable but have not gotten a reply. I need to
>> convert a VB6 app that uses 3rd party OCXs on a dialog. I have Classic
>> PBWin (v8) and its associated PBForms app. I can see where PBForms'
>> toolbox has a 'Custom Control' button but can't find any documentation
>> as to how it works. I can see oodles of documentation that PB supports
>> DLLs/OCXs but can't find any info about using OCXs on a dialog.
>>
>> So far, I've been able recreate the UI in C++ via MFC dialog-based app.
>> I'm not looking forward, though, to the amount of work involved with
>> converting (rewriting) all the code to C++.
>>
>> Since most of the VB code will work 'as is' in PB, I'd appreciate any
>> pointers for using these OCXs on a PB form...

Thanks! I did that and it doesn't work as per instructions provided. 
Paul's looking into it but I don't think it's going to happen in PB 
soon.

By "doesn't work" I mean the controls don't expose any 
properties/methods/events in Jose's container. They just display and 
all I get for properties is those of the container.

I only use PB for easy making of DLLs. Otherwise, I use VB6/VBA for 
most of my work. I'm concerned about which way to go when Windows no 
longer supports the vbruntime. PB just seems like a good alternative to 
VB given that the .Net langs are going to be a major transition at 
best.

Problem is the controls I have don't work with WinForms. C++ MFC is an 
option because I already tried it and have managed to create a fully 
working UI complete with menu shortcuts and CHM help. All that remains 
is to translate my VB code to C++! I just thought it would be easier to 
port the code to PB if it supported the controls in the same fashion as 
VB/C++. Newer versions of the controls are available for use with 
WinForms but the project doesn't warrant replacing what I have when 
they're still usable in win32 apps. Might be different if the new ones 
also support x64.<g>

-- 
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc

Back to comp.lang.basic.powerbasic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Using 3rd party OCXs on PB dialog GS <gs@somewhere.net> - 2012-02-07 14:39 -0500
  Re: Using 3rd party OCXs on PB dialog Chris Douce <chris.douce@skynet.invalid> - 2012-02-13 08:00 +0100
    Re: Using 3rd party OCXs on PB dialog GS <gs@somewhere.net> - 2012-02-13 11:10 -0500
  Re: Using 3rd party OCXs on PB dialog Olav <my.email.goes.here@there.tt> - 2012-02-14 14:21 +0100
    Re: Using 3rd party OCXs on PB dialog GS <gs@somewhere.net> - 2012-02-14 10:19 -0500
      Re: Using 3rd party OCXs on PB dialog Olav <my.email.goes.here@there.tt> - 2012-02-14 18:04 +0100
        Re: Using 3rd party OCXs on PB dialog GS <gs@somewhere.net> - 2012-02-14 15:47 -0500
          Re: Using 3rd party OCXs on PB dialog Olav <my.email.goes.here@there.tt> - 2012-02-14 22:29 +0100
            Re: Using 3rd party OCXs on PB dialog GS <gs@somewhere.net> - 2012-02-14 17:43 -0500
              Re: Using 3rd party OCXs on PB dialog Bob Zale <noreply@powerbasic.com> - 2012-02-15 03:41 -0800
                Re: Using 3rd party OCXs on PB dialog GS <gs@somewhere.net> - 2012-02-15 14:27 -0500
              Re: Using 3rd party OCXs on PB dialog WangoTango <Asgard24@mindspring.com> - 2012-02-15 16:24 -0500
                Re: Using 3rd party OCXs on PB dialog GS <gs@somewhere.net> - 2012-02-15 16:56 -0500

csiph-web