Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Visual basic msgbox /Help
#1
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

[Image: Visualbasic.jpg]

But what to do if we want the msbox to display this

"text"

including ""


Thanks in Advance

Regards,
-Himansh
The Power to Believe in Yourself is the Power to change the Fate!
#2
msgbox("""text""")
I belive it is but there is other ways
Website: <!-- m --><a class="postlink" href="http://www.PBAProductions.com">http://www.PBAProductions.com</a><!-- m -->
E-Mail: <!-- e --><a href="mailtoTongueatrick@AriSystems.Org">Patrick@AriSystems.Org</a><!-- e -->
Skype: Qwaxer
Youtube: Qwaxer
[Image: 2hnx8av.jpg]
#3
@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.
The Power to Believe in Yourself is the Power to change the Fate!
#4
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 -->
My Blog | My Setup | My Videos | Have a wonderful day.
#5
@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
The Power to Believe in Yourself is the Power to change the Fate!
#6
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.
My Blog | My Setup | My Videos | Have a wonderful day.
#7
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
The Power to Believe in Yourself is the Power to change the Fate!
#8
Here's a chart:

<!-- m --><a class="postlink" href="http://www.asciitable.com/">http://www.asciitable.com/</a><!-- m -->
My Blog | My Setup | My Videos | Have a wonderful day.
#9
Thanks a lot
It really helped me a lot
The Power to Believe in Yourself is the Power to change the Fate!


Possibly Related Threads…
Thread Author Replies Views Last Post
  Visual Studio Express vs Proffesional vs Ultimate Derek275 2 14,503 12-03-2012, 02:38 PM
Last Post: Derek275
  Visual Basic Game Atri 3 15,793 09-05-2012, 02:57 PM
Last Post: brandonio21
  Generating Random Numbers in Visual Basic Himansh 1 9,432 03-25-2012, 09:24 AM
Last Post: brandonio21
  Visual Studio 2010 Professional LearningComputer 2 13,206 03-11-2012, 03:29 PM
Last Post: brandonio21
  Internet Explorer Functions in Visual basic Protection4Real 2 12,796 04-13-2011, 07:45 PM
Last Post: brandonio21
  VERY usefull visual basic components xolara 10 35,047 02-18-2011, 01:21 AM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)