Export Vb.Net TextBox as a User Control

Posted on 2003-12-02
Last Modified: 2012-06-27
How can I export Vb.Net TextBox as a User Control that can be then used in a Vb6 environment? Finally what are the dependencies required?
Question by:danaseaman
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 9856872
I think you can't be able to use the .NET component in vb6. As you are exporting a component from higher version to a lower version. It won't support..

LVL 96

Accepted Solution

Bob Learned earned 250 total points
ID: 9858249
You can create a .NET assembly that has the user control and then use it in VB6.

Calling .NET From COM
LVL 22

Author Comment

ID: 9864440

I'll see if I can get it to work. If it does then we can use the .NET Unicode aware controls in Vb6. I'm assuming that it would require the target audience to have .NET Framework installed.
LVL 96

Expert Comment

by:Bob Learned
ID: 9866244
Yes, they will need the .NET framework, which provides the code for the base user control.
LVL 22

Author Comment

ID: 9887121

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question