CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2013
    Posts
    1

    Red face Ask How to make like this ... ??

    I have project (from my school (homework)) and i want to make like this ,,
    Name:  Screenshot_4.jpg
Views: 632
Size:  4.7 KB Name:  Screenshot_5.jpg
Views: 645
Size:  4.6 KB
    so, there are 2 captions in 1 form ..,
    what's the code ??
    Thx b4
    Attached Images Attached Images  

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Ask How to make like this ... ??

    Not 100% sure what you are asking. A form can only have 1 caption but you can have more than one thing in that caption.

    Code:
    Dim ProgramName as String
    Dim VersionInfo As String
    
    Program Name = "My Program"
    VersionInfo="3.0 Build 349"
    
    Form1.Caption=ProgramName & " - " & versionInfo
    Always use [code][/code] tags when posting code.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured