[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Visual Basic Tutorial – 41 – Input Box
by
Tags:
Comments
23 responses to “Visual Basic Tutorial – 41 – Input Box”
-
hi, question pls. I could not find it anywhere.
How can I access to Cancel button input? For example, if someone press Cancel something happens.
Cancel is not an empty entry because I can say if value.Length = 0 ..but I want to know about Cancel button. -
I'll just accept the fact that I'm gonna fail programming smh
-
If you are using VB 2015 like myself then you want to use the following code:
Interaction.InputBox(prompt)I just ran my code and it work perfectly as it should.
-
NEED TO UPDATE TO NEWER VERSION!! MY SCHOOL CLASS USES VB 2015!!
-
yes
-
This Program is not working
-
He's lying to change the truth to a different truth
-
in mine as string is not in the settings what can I use instead
-
thank you so much for this
-
Really helpful, Thanx
-
it didnt get the value of user when i enter string and run it just say hello, pls help me
Dim user As String = Nothing
InputBox("What is your name?", "Hi!")
Label1.Text = "Hello, " & user -
Thanks this helped!
-
Hi Lecturer i have Question
Problem generating manifest. Could not load file or assembly 'C:Documents and SettingsAdministratorDesktopRetail-Soft TouchobjReleaseRetail-Soft Touch.exe' or one of its dependenciesplease help me i am preparing my final project
-
hehe
-
To fix the code people don't save your program as input boxes otherwise your code would state, IblHelloUser is not declared. It may be inaccessiable due to its protection level
-
no offence but next time slowdown
-
My program does not work properly.
This is the code.
Public Class IblHelloUser
Private Sub IblHelloUser_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim userName As String = Nothing
userName = InputBox("What is your name?", "hello", , , )
lblHelloUser.Text = "Hello, " & userName
End Sub
End ClassIt comes up with a message in the error list
'lblHelloUser' is not declared. It may be inaccessiable due to its protection level.Does anyone know how to solve this.
Thanks in advance -
'Input' is a namespace etc… to solve this..
make sure your project name is not inputbox -
I want the information typed in the inputbox to display on the label.
-
tHANKS
-
It says that InputBox is a namespace, and doesn't allow me to execute my program, why's that? Thanks
-
How come we're getting the error 'InputBox is a namespace' but you didn't?
-
Thanks man
Leave a Reply