Solved

Unparsed Numbers

Posted on 2003-11-19
4
167 Views
Last Modified: 2010-05-03
What it the command to have VB add unparsed numbers? For example, if i have 1 + 2 i want it to equal 12, not 3...
0
Comment
Question by:wonderbread123
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
bobbit31 earned 25 total points
ID: 9781732
use & operator instead

msgbox 1 & 2

shouldn't be 12 and not 21?
0
 

Author Comment

by:wonderbread123
ID: 9781774
yay, ty, and one more question. how do i define variables and give them a value?'

i want to assign variable A the value 2.
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 9781779
Dim A as Integer

A = 2
0
 

Author Comment

by:wonderbread123
ID: 9781837
LOL... ok this is teh last one, lol...

i want to display the solution in a textbox.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question