Question:

Formating textbox in vb 6.0

by Guest5083  |  12 years, 7 month(s) ago

0 LIKES UnLike

Formating textbox in vb 6.0

 Tags: 6.0, Formating, textbox, VB

   Report

1 ANSWERS

  1. Guest4755
    Your question needs to provide more but Visual Basic is interpreted not compiled code, and from that comes its slowness...

    it is very easy to add text lines to a text box keeping the existing line intact.
    For example:
    You have two variables a and b
    and a text box named text1

    a = “Visual Basic ”
    b = “ Is a programming language”

    If we code as
    text1.text = a
    ---
    then text1 which show Visual Basic, if we want to add the second line that is the value of variable b to the current text then the following code is applicable

    text1.text = text1.text & b

    or

    text1.text = a & b

    both the coding gives the same results that is

    Visual Basic Is a programming language

Sign In or Sign Up now to answser this question!

Question Stats

Latest activity: 14 years, 8 month(s) ago.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.