Visual basic msgbox /Help - Printable Version +- BP Forums (https://bpforums.info) +-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55) +--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56) +---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8) +---- Thread: Visual basic msgbox /Help (/showthread.php?tid=492) |
Visual basic msgbox /Help - Himansh - 03-20-2012 Hi everybody Just wanted a little help from you you must have seen that when we enter something in a message box we do it like this msgbox("text") This msgbox command displays a message box like But what to do if we want the msbox to display this "text" including "" Thanks in Advance Regards, -Himansh Re: Visual basic msgbox /Help - xolara - 03-20-2012 msgbox("""text""") I belive it is but there is other ways Re: Visual basic msgbox /Help - Himansh - 03-20-2012 @xolora man i have already tried that but it says There are errors You can try it yourself if you want to confirm that i am saying the truth. Re: Visual basic msgbox /Help - brandonio21 - 03-20-2012 Have a look at this thread: <!-- l --><a class="postlink-local" href="http://bpforums.info/viewtopic.php?f=9&t=361&hilit=Quotation">viewtopic.php?f=9&t=361&hilit=Quotation</a><!-- l --> Re: Visual basic msgbox /Help - Himansh - 03-20-2012 @brandonio21 Thanks i got my answer But can you tell me how does this command works Code: insert("And Dave said, " & Chr(34) & "Look out!" & Chr(34)) I have tested , this works but can you tell me how -Himansh Re: Visual basic msgbox /Help - brandonio21 - 03-21-2012 The "Chr(34)" Is basically telling Vb.net to insert a character with the value of 34 at that location. Quotation marks have a character value of 34. Re: Visual basic msgbox /Help - Himansh - 03-22-2012 Ok i got it But how can we know character value of other keys And also sorry to xolora I didn't read his post completely Re: Visual basic msgbox /Help - brandonio21 - 03-23-2012 Here's a chart: <!-- m --><a class="postlink" href="http://www.asciitable.com/">http://www.asciitable.com/</a><!-- m --> Re: Visual basic msgbox /Help - Himansh - 03-24-2012 Thanks a lot It really helped me a lot |