PDA

View Full Version : Problems with basic VB.Net


Victor
04-15-04, 08:50 AM
hi there,

i'm a student studying VB.Net for the first time and am creating a calculator (i know it is easy...) and am having trouble with the equals function. 3 things;

- When i use the ByRef procedure in order to pass a variables location it says build errors because an 'expression is expected'?
- I'm trying to say that after the = button is clicked, the calculators number in memory should follow the string. Should i say 'NoInMemory.ToString'?
- Lastly when the user types 4*4 and 16 is displayed then the buttons then [7] then [=], it should display 112. But it doesnt. why?

Any help would be greatly appreciated.

Thanks guys.

Victor.