please help vb6
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: please help vb6

  1. #1
    Join Date
    Nov 2012
    Posts
    4

    please help vb6

    please help vb6 text box formating

    i have 3 text boxes and i want to load text at a time from all

    like
    text = Text1.text ,text2.text text3.text
    how can i do this help me please
    i want codes

  2. #2
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,873

    Re: please help vb6

    Probably not what you want, but this:

    Code:
    text = Text1.text & text2.text & text3.text
    Hint: & " " &
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Nov 2012
    Posts
    4

    Re: please help vb6

    thnx alot sir
    but i want some diffrent

    like i have this code

    soket(Index).WriteRoomMessage Text3.Text, Text4.Text

    is this code text3.text is the chat room name
    i want to sent more then 3 different text in the place of text4.text
    like text4.text=text5.text, text6.text, text7.text

    i you understand please help me
    give me some code that i put in the place of Text4.text and its send three separate and different text at a time
    please help
    i put this code text = Text1.text & text2.text & text3.text but it send all text boxes text with single message
    i want to know how it send different and separate text
    thnx alot for your reply sir

  4. #4
    Join Date
    Jul 2005
    Posts
    1,074

    Re: please help vb6

    Try :
    Code:
    text4.text=text5.text & vbcrlf & text6.text & vbcrlf & text7.text
    It will send 3 lines
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  5. #5
    Join Date
    Nov 2012
    Posts
    4

    Re: please help vb6

    hi
    thnx for rply
    sir this code did not work
    then i cod like this
    soket(Index).WriteRoomMessage Text3.Text, Text4.Text
    soket(Index).WriteRoomMessage Text3.Text, Text7.Text
    soket(Index).WriteRoomMessage Text3.Text, Text9.Text
    soket(Index).WriteRoomMessage Text3.Text, Text10.Text
    soket(Index).WriteRoomMessage Text3.Text, Text11.Text
    soket(Index).WriteRoomMessage Text3.Text, Text12.Text

    it work
    but not proper
    i want help about vb6
    please add me
    hunter7884@yahoo.com
    hunter7884@gmail.com
    please anyone add me i want some help

  6. #6
    Join Date
    Nov 2012
    Posts
    4

    Re: please help vb6

    hi
    thnx for rply
    sir this code did not work
    then i cod like this
    soket(Index).WriteRoomMessage Text3.Text, Text4.Text
    soket(Index).WriteRoomMessage Text3.Text, Text7.Text
    soket(Index).WriteRoomMessage Text3.Text, Text9.Text
    soket(Index).WriteRoomMessage Text3.Text, Text10.Text
    soket(Index).WriteRoomMessage Text3.Text, Text11.Text
    soket(Index).WriteRoomMessage Text3.Text, Text12.Text

    it work
    but not proper
    i want help about vb6
    please add me
    hunter7884@yahoo.com
    hunter7884@gmail.com
    please anyone add me i want some help

  7. #7
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,873

    Re: please help vb6

    Because , is not the same as &

    Plus, that assigns a textbox TO a socket.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center