Solved

Export Vb.Net TextBox as a User Control

Posted on 2003-12-02
5
463 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
[X]
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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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)…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display

735 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