PC Review


Reply
Thread Tools Rate Thread

Add old ActiveX controls and Ocx's to the toolbox

 
 
=?Utf-8?B?Sm9obiBPbGJlcnQ=?=
Guest
Posts: n/a
 
      25th Jun 2006
I am trying to use the utility tlbimp to add old ActiveX controls and Ocx's
to the Toolbox of Vs2005. I tried to apply the the tlbimp to both the Tlb or
Dll or Ocx files. The resulting Dll would not load into the toolbox. I
suspect I am missing something fundamental. Note that I tried to add to the
Vs2005 toolbox both with the original legacy control registered and not
registered. In neither case would it load.

Because we do not have access to source code for many of the legacy controls
we cannot use IJW under C++. We need to use the tlbimp utility.

Appreciate any suggestions.
--
John Olbert

 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      25th Jun 2006
John,

Why use the TLBIMP utility at all? Why not just right click on the
toolbox and configure it to add a new item. In the dialog that comes up,
select the COM tab, and select the controls you want to include in the
toolbox. The IDE will handle everything else for you.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (E-Mail Removed)

"John Olbert" <(E-Mail Removed)> wrote in message
news:59AC9F18-BAAB-40E3-B490-(E-Mail Removed)...
>I am trying to use the utility tlbimp to add old ActiveX controls and Ocx's
> to the Toolbox of Vs2005. I tried to apply the the tlbimp to both the Tlb
> or
> Dll or Ocx files. The resulting Dll would not load into the toolbox. I
> suspect I am missing something fundamental. Note that I tried to add to
> the
> Vs2005 toolbox both with the original legacy control registered and not
> registered. In neither case would it load.
>
> Because we do not have access to source code for many of the legacy
> controls
> we cannot use IJW under C++. We need to use the tlbimp utility.
>
> Appreciate any suggestions.
> --
> John Olbert
>



 
Reply With Quote
 
=?Utf-8?B?Sm9obiBPbGJlcnQ=?=
Guest
Posts: n/a
 
      26th Jun 2006
The reason we want to do it using the utilities is that we actually want to
allow the converted Ocx's or ActiveX Dll's to be accessible from a tool we
are building. We could use the Vs2005 Ide as you suggest (and in fact what it
generates does work in our tool) but we wanted to be able to handle it
independent of the Vs2005 Ide.

On more general grounds we thought that Tlbimp would make the conversion
straight forward but what it produces (though we may not be using it
properly) will not load either into Vs2005 or our tool.

Any help would be appreciated.

Thanks for replying.
--
John Olbert
(E-Mail Removed)



"Nicholas Paldino [.NET/C# MVP]" wrote:

> John,
>
> Why use the TLBIMP utility at all? Why not just right click on the
> toolbox and configure it to add a new item. In the dialog that comes up,
> select the COM tab, and select the controls you want to include in the
> toolbox. The IDE will handle everything else for you.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - (E-Mail Removed)
>
> "John Olbert" <(E-Mail Removed)> wrote in message
> news:59AC9F18-BAAB-40E3-B490-(E-Mail Removed)...
> >I am trying to use the utility tlbimp to add old ActiveX controls and Ocx's
> > to the Toolbox of Vs2005. I tried to apply the the tlbimp to both the Tlb
> > or
> > Dll or Ocx files. The resulting Dll would not load into the toolbox. I
> > suspect I am missing something fundamental. Note that I tried to add to
> > the
> > Vs2005 toolbox both with the original legacy control registered and not
> > registered. In neither case would it load.
> >
> > Because we do not have access to source code for many of the legacy
> > controls
> > we cannot use IJW under C++. We need to use the tlbimp utility.
> >
> > Appreciate any suggestions.
> > --
> > John Olbert
> >

>
>
>

 
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
ActiveX control to enable in Toolbox in ASP.Net Jayender Microsoft ASP .NET 1 7th Sep 2006 06:14 PM
Add a Scrollbar in ActiveX controls in the Access toolbox =?Utf-8?B?VmluY2VudCB2YW4gZGVyIE1laWpkZW4=?= Microsoft Access Database Table Design 0 25th May 2005 11:50 AM
Message box breaks owner draw controls in .NET controls used as ActiveX controls (again) Clive Dixon Microsoft Dot NET Framework Forms 0 26th May 2004 10:15 AM
Problem with Controls added from Controls Toolbox Rex Microsoft Excel Misc 2 19th May 2004 03:39 AM
Can ActiveX controls be used without adding them to the Toolbox? Rob Richardson Microsoft VB .NET 1 26th Mar 2004 11:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:55 AM.