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 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: References: 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 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. -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc