Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

add with text

Posted on 2006-07-14
1
Medium Priority
?
179 Views
Last Modified: 2010-04-23
hello
I have this
TextBox1.AppendText(CType(ListBox1.SelectedItem(), String) & ControlChars.CrLf)
that will add the text that is in the listtbox to the textbox but I want to also add "(music) >a tab here< (video)"
how can I do that?
0
Comment
Question by:aplelois
1 Comment
 
LVL 44

Accepted Solution

by:
bruintje earned 2000 total points
ID: 17106492
Hi aplelois,
----------

not sure if i understand your question correctly but assuming you meant to add that text to the listbox entry, try

TextBox1.AppendText(CType(ListBox1.SelectedItem(), String) + ControlChars.CrLf + "(music)" + ControlChars.Tab + "(video)")

----------
bruintje
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

971 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