PC Review


Reply
Thread Tools Rate Thread

Creating UserControl with VB6 for excel

 
 
Mika
Guest
Posts: n/a
 
      27th Nov 2010
Hi,

Could somebody point me to a tutorial or a code for creating
usercontrols .ocx (VB6) to be used in VBA forms?

Thanks
Mika
 
Reply With Quote
 
 
 
 
GS
Guest
Posts: n/a
 
      27th Nov 2010
It happens that Mika formulated :
> Hi,
>
> Could somebody point me to a tutorial or a code for creating
> usercontrols .ocx (VB6) to be used in VBA forms?
>
> Thanks
> Mika


Hi Mika,
Any OCX you create with VB6 will be 32bit and so can only be used in
32bit Excel. Also, this would be no different than creating an OCX for
VB6 use. You might get a better response asking in a VB6 (Classic VB)
forum.

Note also that any existing VB6 OCXs can usually be used on MSO
Userforms without any problems. These would have to be distributed,
however, and properly registered on the target machine.

Another thing to keep in mind is VBA doesn't support control arrays!<g>

--
Garry

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


 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      29th Nov 2010
Here's one tutorial

http://cuinl.tripod.com/tutorials.htm
http://cuinl.tripod.com/tutorials/ocx-11.htm

Regards,
Peter T

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a simple UserControl from a TextBox Tony Johansson Microsoft C# .NET 7 7th Jun 2009 05:32 PM
Creating a UserControl Tony Johansson Microsoft C# .NET 0 5th Jul 2008 03:10 PM
problem with creating a variable for usercontrol...? msnnews.msn.com Microsoft ASP .NET 0 20th Aug 2006 09:49 AM
Creating a UserControl that is bigger than the space it has in it'swindow Rune Jacobsen Microsoft C# .NET 0 13th Jul 2006 04:21 PM
error creating windows handle in usercontrol terrasamba Microsoft VB .NET 2 3rd Oct 2003 04:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:49 PM.