I am trying to make an application to get the data from the textbox and store it in a variable for further uses thou I am getting value of it as 0 . Anyone can help out?
Dim value As Long
value = Val(password.output.Caption)
game.Caption = value
In the above code password is my form name and output is the name of field from where it shall get data and then later it is changing the value of game field to the value fetched of output and I am getting 0 as the value . What to do guys? Any help will be appreciated
UPDATE
I would actually like to retrieve the string any idea how to do it?
Dim value = password.output.Caption