Solved

TreeView + TextBox = ??

Posted on 2006-06-18
16
647 Views
Last Modified: 2008-02-01
Does anybody know of a control similar to the text area in the codeview ?
http://mgharish.5gigs.com/ee/sc.gif

I want collapsible "block of text" in a text box.

Tree view supports only one line in the child node's text. I want multiple lines to be present.

One childlevel is sufficient.
0
Comment
Question by:Harisha M G
  • 8
  • 7
16 Comments
 
LVL 6

Accepted Solution

by:
e1v earned 400 total points
Comment Utility
Have you seen this?: http://www.pscode.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=64505 (VB MultiLine TreeView User Control)
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
@e1v
That is VB6 code, not VB.NET.

Bob
0
 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
Thanks to both of you :)

I want the exact thing.. but for .NET

Can it be converted such that it can be used in .NET ?
0
 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
So, this can NOT be done ? :(
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Not an easy task to convert VB6 to VB.NET, but possible.  I haven't seen this already converted for VB.NET.

Bob
0
 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
I don't want every option/property of that control. The only thing I need is the multiline property. If you can please show me how to do that, it would be great.

Thanks
0
 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
Congratulations Bob !
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
For what?

Bob
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
For becoming Genius in .NET :)
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Man, I didn't even notice.  Thanks!!! *BIG GRIN*

Bob
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Did you ever find anything?

Bob
0
 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
No :(

Can that control be somehow converted to a .ocx or .dll file and included into VS2005 project ?

Please help..
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
Do you have VB6?

Bob
0
 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
Yes.. (Not installed right now)
I can manage that if it is possible to do.
0
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 100 total points
Comment Utility
You can create an .OCX in VB6, and interoperate with VB.NET.  It can be messy, but you can have something that works.  If I had more time, I could come up with something for you, but I am in the process of looking for a job, plus my other freelance consulting commitments.

Bob
0
 
LVL 37

Author Comment

by:Harisha M G
Comment Utility
No problem :-)

Good luck !
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

12 Experts available now in Live!

Get 1:1 Help Now