473,385 Members | 1,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Add old ActiveX controls and Ocx's to the toolbox

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

Jun 25 '06 #1
2 2394
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]
- mv*@spam.guard.caspershouse.com

"John Olbert" <so*****@snet.net> wrote in message
news:59**********************************@microsof t.com...
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

Jun 25 '06 #2
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
ja******@snet.net

"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]
- mv*@spam.guard.caspershouse.com

"John Olbert" <so*****@snet.net> wrote in message
news:59**********************************@microsof t.com...
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


Jun 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all...
1
by: sam | last post by:
Guys, I was trying to use an activeX control that communicate with Scales in a web application, i could add the control in the design mode and it even works as expected. But, i need to access it...
1
by: Jayender | last post by:
Hi, I have an ActiveX control (to display the Images),I have added the reference of that in my web based applicaton .and added the ocx in my tool bar , but the viewer (activex component- ocx ) is...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.