• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

integer not showing a number i.e. &H0 rather than 0

i have started a new app and i declare a variable interger for a counter

dim gvi as integer = 0

but it is setting the value to &H0 which when i try to use it as a row index later doesn't work

what have i done
  • 2
2 Solutions
Fernando SotoCommented:
Hi Marcusw;

Do you mean that when you look at the variable gvi in the Watch window of the debugger it shows up as &H0?

If so just right click on the Watch window and click on Hexadecimal Display and it should then display it as 0.

Fernando SotoCommented:
This also means that the problem in the code is not that the debugger is showing the numeric values in hexadecimal format but must be something else.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now