Groups | Search | Server Info | Login | Register
Groups > comp.lang.basic.powerbasic > #17
| From | GS <gs@somewhere.net> |
|---|---|
| Newsgroups | comp.lang.basic.powerbasic |
| Subject | Re: Using 3rd party OCXs on PB dialog |
| Date | 2012-02-13 11:10 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <jhbckr$8fe$1@dont-email.me> (permalink) |
| References | <jgrum9$ob0$1@dont-email.me> <jhacdk$91d$1@dont-email.me> |
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 | Next — Previous in thread | Next in thread | Find similar
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