Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.powerbasic > #14 > unrolled thread

Using 3rd party OCXs on PB dialog

Started byGS <gs@somewhere.net>
First post2012-02-07 14:39 -0500
Last post2012-02-15 16:56 -0500
Articles 13 — 5 participants

Back to article view | Back to comp.lang.basic.powerbasic


Contents

  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

#14 — Using 3rd party OCXs on PB dialog

FromGS <gs@somewhere.net>
Date2012-02-07 14:39 -0500
SubjectUsing 3rd party OCXs on PB dialog
Message-ID<jgrum9$ob0$1@dont-email.me>
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

[toc] | [next] | [standalone]


#15

FromChris Douce <chris.douce@skynet.invalid>
Date2012-02-13 08:00 +0100
Message-ID<jhacdk$91d$1@dont-email.me>
In reply to#14
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...
>

[toc] | [prev] | [next] | [standalone]


#17

FromGS <gs@somewhere.net>
Date2012-02-13 11:10 -0500
Message-ID<jhbckr$8fe$1@dont-email.me>
In reply to#15
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

[toc] | [prev] | [next] | [standalone]


#20

FromOlav <my.email.goes.here@there.tt>
Date2012-02-14 14:21 +0100
Message-ID<4f3a5fdc$1@proxy.mimer.no>
In reply to#14
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.
--

[toc] | [prev] | [next] | [standalone]


#24

FromGS <gs@somewhere.net>
Date2012-02-14 10:19 -0500
Message-ID<jhdu2m$1ln$1@dont-email.me>
In reply to#20
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.

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>)

-- 
Garry

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

[toc] | [prev] | [next] | [standalone]


#29

FromOlav <my.email.goes.here@there.tt>
Date2012-02-14 18:04 +0100
Message-ID<4f3a9423$1@proxy.mimer.no>
In reply to#24
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.
--


>
> 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>)
>

[toc] | [prev] | [next] | [standalone]


#30

FromGS <gs@somewhere.net>
Date2012-02-14 15:47 -0500
Message-ID<jheha3$nq0$1@dont-email.me>
In reply to#29
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?

-- 
Garry

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

[toc] | [prev] | [next] | [standalone]


#32

FromOlav <my.email.goes.here@there.tt>
Date2012-02-14 22:29 +0100
Message-ID<4f3ad22d$1@proxy.mimer.no>
In reply to#30
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.
--

[toc] | [prev] | [next] | [standalone]


#33

FromGS <gs@somewhere.net>
Date2012-02-14 17:43 -0500
Message-ID<jheo2s$132$1@dont-email.me>
In reply to#32
Olav wrote :
> 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.

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...

-- 
Garry

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

[toc] | [prev] | [next] | [standalone]


#34

FromBob Zale <noreply@powerbasic.com>
Date2012-02-15 03:41 -0800
Message-ID<2e3c8ae8-0f52-4132-8881-78bc11aaff08@p7g2000yqk.googlegroups.com>
In reply to#33
On Feb 14, 5:43 pm, GS <g...@somewhere.net> wrote:
> Olav wrote :
>
>
>
>
>
>
>
>
>
> > 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.
>
> 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...
>
> --
> Garry
>
> 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

[toc] | [prev] | [next] | [standalone]


#39

FromGS <gs@somewhere.net>
Date2012-02-15 14:27 -0500
Message-ID<jhh0v0$8ap$1@dont-email.me>
In reply to#34
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

[toc] | [prev] | [next] | [standalone]


#40

FromWangoTango <Asgard24@mindspring.com>
Date2012-02-15 16:24 -0500
Message-ID<MPG.29a5ec931af7d13998b7bd@news.east.earthlink.net>
In reply to#33
In article <jheo2s$132$1@dont-email.me>, gs@somewhere.net says...
> Olav wrote :
> > 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.
> 
> 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...

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.

[toc] | [prev] | [next] | [standalone]


#41

FromGS <gs@somewhere.net>
Date2012-02-15 16:56 -0500
Message-ID<jhh9mj$u0j$1@dont-email.me>
In reply to#40
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!).

-- 
Garry

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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.basic.powerbasic


csiph-web