Solved

Export Vb.Net TextBox as a User Control

Posted on 2003-12-02
5
467 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

617 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