Solved

Export Vb.Net TextBox as a User Control

Posted on 2003-12-02
5
456 Views
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?
0
Comment
Question by:danaseaman
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:NaliniP
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..

Nalini
0
 
LVL 96

Accepted Solution

by:
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
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=113
0
 
LVL 22

Author Comment

by:danaseaman
ID: 9864440
TheLearnedOne:

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.
0
 
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.
0
 
LVL 22

Author Comment

by:danaseaman
ID: 9887121
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now