How to Add Spaces and Lines in Message Box?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #16
    You can design your own usercontrol or refer to the previous post by Qveen72 for an easier solution.

    Comment

    • Hiren Joshi
      New Member
      • Feb 2008
      • 30

      #17
      Ok I got the Idea,

      Thanks Debasis, Veena

      I cant see my other post of Auto Generating the Custom No. While Saving Record? I have posted with the codes I have used. Does it normally take long to Appear in the Forum?

      Hiren

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #18
        Originally posted by Hiren Joshi
        Ok I got the Idea,

        Thanks Debasis, Veena

        I cant see my other post of Auto Generating the Custom No. While Saving Record? I have posted with the codes I have used. Does it normally take long to Appear in the Forum?

        Hiren
        No it is displayed instantly .

        The thread is here.

        Comment

        • Killer42
          Recognized Expert Expert
          • Oct 2006
          • 8429

          #19
          Originally posted by debasisdas
          No it is displayed instantly .

          The thread is here.
          That link doesn't work.

          Comment

          • lohenboy
            New Member
            • Dec 2011
            • 2

            #20
            whassup guys i dn knw how to do line space in msgbox
            which is
            Dim year
            Dim loan
            Dim rate = 0.037
            Dim install


            loan = CDbl(txtb1.Text )
            year = CDbl(txtb2.Text )

            install = ((loan + (loan * rate)) / (year * 12))

            MsgBox("Loan :" & loan, "year :" & year, "installmen t :" &install.msg box = FormatCurrency( install, 2))


            got error but whwn a time do nt have any error
            can you guys help me to do this programming ?

            Comment

            • lohenboy
              New Member
              • Dec 2011
              • 2

              #21
              acctually the error is

              A first chance exception of type 'System.Invalid CastException' occurred in Microsoft.Visua lBasic.dll

              Comment

              • Killer42
                Recognized Expert Expert
                • Oct 2006
                • 8429

                #22
                Sorry for the delay.

                I think you'll get a better response to this question in the Visual Basic .NET forum. This one is for the older pre-dotnet versions of VB.

                Comment

                • Cjpa
                  New Member
                  • Feb 2016
                  • 1

                  #23
                  vbCrLf

                  Code:
                  Msgbox("You had Enough Attempt of Login" & vbCrLf & "You have Tried 3 Unsuccessful Logins" & vbCrLf & "System Terminating")

                  Comment

                  Working...