Re: Registering OCX programmatically
From: J French (erewhon_at_nowhere.com)
Date: 06/03/04
- Next message: Jezebel: "Re: VB6 Exponent Bug?"
- Previous message: J French: "Re: Registering OCX programmatically"
- In reply to: Thomas Scheiderich: "Re: Registering OCX programmatically"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Jun 2004 09:29:47 +0000 (UTC)
On Wed, 2 Jun 2004 10:30:32 -0700, "Thomas Scheiderich"
<tfs@deltanet.com> wrote:
<snip>
>
>Where a richtextbox is "expensive", is making sure that the OCX is on the
>target machine(s). I found that out yesterday when they tried to move the
>program over to the target machine. This was a little irritating, but
>without OCX's you would be limited to what MS feels is important and would
>be without some perfectly good objects that give really good functionality,
>with minimal effort (remember I was also one that was hesitant on using it -
>but that was because I thought everyone was talking about the commercial
>one, not the MS one).
Yes, it was interesting
- I assumed a different terminology for 'expensive'
>> With the Frames stuff we have been suggesting, you could easily
>> replace the RichTextbox with a PictureBox or preferably a UserControl
>> (obviously not making an OCX out of the UserControl)
>
>Wouldn't a UserControl have the same problems as an OCX as far as being
>"expensive?
Nope - you can compile a UserControl right into your project
- no OCX - no separate files - just the EXE
As a digression, I find that a lot of the OCXes that come with VB can
be replaced fairly easily, either by using APIs directly or by
simulating the controls
- as you are about to find out with the TabStrip
>I am still looking at the frames example Bob posted to better see what
>everyone is talking about (having a problem getting it to do what Bob says
>it will - I assume I missed something).
>
>I don't understand how I can change RichTextBox with a PictureBox. With my
>RichTextBox, I am adding text, changing the font and color. I didn't know
>you could do that with a PictureBox. I don't see a text property in the
>Property manager.
No, a Picturebox does not have a .Text property
- but you can Print to it
eg: Picture1.Print "Hullo World"
- Next message: Jezebel: "Re: VB6 Exponent Bug?"
- Previous message: J French: "Re: Registering OCX programmatically"
- In reply to: Thomas Scheiderich: "Re: Registering OCX programmatically"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|