Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using 3rd party OCXs on PB dialog

5 views
Skip to first unread message

GS

unread,
Feb 7, 2012, 2:39:56 PM2/7/12
to
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...

--
Garry

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


Chris Douce

unread,
Feb 13, 2012, 2:00:04 AM2/13/12
to
Have a look at FireFly from PlanetSquires Software.

Chris

GS

unread,
Feb 13, 2012, 11:10:00 AM2/13/12
to
Chris Douce wrote :
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>

Olav

unread,
Feb 14, 2012, 8:21:35 AM2/14/12
to
Den 07.02.2012 20:39, skrev GS:
> I've asked PB if this is doable but have not gotten a reply.

You'd better get used to that. Not getting a reply I mean.

Nothing new at Powerbasic I see.
--


GS

unread,
Feb 14, 2012, 10:19:46 AM2/14/12
to
Olav explained :
Actually, as it turns out, my original email got lost in oblivion
according to my mail server and so was returned undeliverable. My
resend message was answered fairly promptly, and so was my reply.

I get the impression that mail is checked once a day, and messages are
passed on to whomever is best suited to deal with the issue[s].

The downside is that PB doesn't offer me a solution for this issue
right now. This is a unique app that uses 3 3rd party controls on a
form. I've managed to recreate a fully working UI in C++ MFC and so I
can live with the challenge of translating all my VB6 code. (It makes
for a good exercise for learning C++!<g>)

Olav

unread,
Feb 14, 2012, 12:04:37 PM2/14/12
to
Den 14.02.2012 16:19, skrev GS:
> Olav explained :
>> Den 07.02.2012 20:39, skrev GS:
>>> I've asked PB if this is doable but have not gotten a reply.
>>
>> You'd better get used to that. Not getting a reply I mean.
>>
>> Nothing new at Powerbasic I see.
>
> Actually, as it turns out, my original email got lost in oblivion
> according to my mail server and so was returned undeliverable. My resend
> message was answered fairly promptly, and so was my reply.

Well, this is quite a different story compared to what you said in your
initial message in this thread. Both statements can't be true.
--

GS

unread,
Feb 14, 2012, 3:47:59 PM2/14/12
to
Olav has brought this to us :
> Den 14.02.2012 16:19, skrev GS:
>> Olav explained :
>>> Den 07.02.2012 20:39, skrev GS:
>>>> I've asked PB if this is doable but have not gotten a reply.
>>>
>>> You'd better get used to that. Not getting a reply I mean.
>>>
>>> Nothing new at Powerbasic I see.
>>
>> Actually, as it turns out, my original email got lost in oblivion
>> according to my mail server and so was returned undeliverable. My resend
>> message was answered fairly promptly, and so was my reply.
>
> Well, this is quite a different story compared to what you said in your
> initial message in this thread. Both statements can't be true.

How so? I sent the original email to PB on Feb 4th hoping for a reply
Mon the 5th. My original post in this NG was done Feb 7th after not
hearing from PB. I got the 'no delivery' notice from my mail server Feb
9th. I resent the email to PB that same day and got a reply that same
day. I sent a reply to that reply and got another reply the next day
(Fri, Feb 10th).

On what premise do you substantiate my statements as being conflicting?

Olav

unread,
Feb 14, 2012, 4:29:18 PM2/14/12
to
Den 14.02.2012 21:47, skrev GS:
> Olav has brought this to us :
>> Den 14.02.2012 16:19, skrev GS:
>>> Olav explained :
>>>> Den 07.02.2012 20:39, skrev GS:
>>>>> I've asked PB if this is doable but have not gotten a reply.
>>>>
>>>> You'd better get used to that. Not getting a reply I mean.
>>t>>
>>>> Nothing new at Powerbasic I see.
>>>
>>> Actually, as it turns out, my original email got lost in oblivion
>>> according to my mail server and so was returned undeliverable. My resend
>>> message was answered fairly promptly, and so was my reply.
>>
>> Well, this is quite a different story compared to what you said in
>> your initial message in this thread. Both statements can't be true.
>
> How so? I sent the original email to PB on Feb 4th hoping for a reply
> Mon the 5th. My original post in this NG was done Feb 7th after not
> hearing from PB. I got the 'no delivery' notice from my mail server Feb
> 9th. I resent the email to PB that same day and got a reply that same
> day. I sent a reply to that reply and got another reply the next day
> (Fri, Feb 10th).
>
> On what premise do you substantiate my statements as being conflicting?
>

You said in your first message "...have not gotten a reply". Nothing
more. Nothing less.If you can't see this being in conflict with what you
says later on; well, that's your problem.

In addition I find it strange that Bob Zale havn't show up in the thread
and corrected your statement. He has always been keen on rebuking
statements he means is false.

So it is a bit hard to know whether your later explanation is true.
--

GS

unread,
Feb 14, 2012, 5:43:36 PM2/14/12
to
Olav wrote :
Well, the time frame of the events as they occurred should point out
that I was not aware my original email to PB did no get delivered until
2 days AFTER my original post. So.. my original statement was TRUE at
the time I made the post. My subsequent posts occurred AFTER I resent
my email to PB AND after they replied! How is it hard to know my later
statement is true? Based on events occured at posting dates, both are
true! I was merely stating how I was treated AFTER initial contact with
PB was actually made.

As for Bob showing up to correct my original statement.., as of Feb 7th
PB wasn't aware I sent them an email. Nor was I aware it was not
delivered. (Kind of wierd my mail server took so long to notify me,
though. They usually do this within minutes of sending. also, it did
not look like their usual notification!)

Besides, I had already corrected it here in the post I made earlier
today by accounting for how they handled my issue ONCE THEY ACTUALLY
GOT MY EMAIL. It was not my intent to rebuff your comment, or to
present adversity. I just wanted to state (for the record) how my
communication with PB was handled.

Hope this clears things up...

Bob Zale

unread,
Feb 15, 2012, 6:41:59 AM2/15/12
to
> Free usenet access athttp://www.eternal-september.org
> ClassicVB Users Regroup! comp.lang.basic.visual.misc

Hi Garry!

I'm really sorry to see that both you and Andy (another thread)
received such a confrontational "welcome" here. It's not the style
advocated by PowerBASIC.

Actually, after looking it over, I believe you can use your OCX's in a
PowerBASIC program without much "pain" at all. <g> I'd like to go
over it with you, if you have a few minutes to spare. If that's still
interesting, please drop a short email to support, and I'll get back
with you. Even by phone, if that's convenient. I hope we can work
this out for you.

Best regards,

Bob Zale
PowerBASIC

GS

unread,
Feb 15, 2012, 2:27:23 PM2/15/12
to
Bob Zale wrote on 2/15/2012 :
> Actually, after looking it over, I believe you can use your OCX's in a
> PowerBASIC program without much "pain" at all. <g> I'd like to go
> over it with you, if you have a few minutes to spare. If that's still
> interesting, please drop a short email to support, and I'll get back
> with you. Even by phone, if that's convenient. I hope we can work
> this out for you.

Hi Bob,
Thanks for stepping up! I have an issue running with Support on this
already. So far I've heard from Tony Krugg so please confer with him if
you will...

--
Garry

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


WangoTango

unread,
Feb 15, 2012, 4:24:27 PM2/15/12
to
In article <jheo2s$132$1...@dont-email.me>, g...@somewhere.net says...
It will not.
Olav thinks everything that happens here is a conspiracy, or some type
of misinformation campaign, by Bob Zale/PB. He has some good ideas, but
sometimes his delusions and paranoia overshadow his intellect.

GS

unread,
Feb 15, 2012, 4:56:30 PM2/15/12
to
WangoTango laid this down on his screen :
> Olav thinks everything that happens here is a conspiracy, or some type
> of misinformation campaign, by Bob Zale/PB. He has some good ideas, but
> sometimes his delusions and paranoia overshadow his intellect.

I see. Thanks for the 'heads up'! I guess I'll just let time prove my
genuinity (if that's even a word!).
0 new messages