CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: comp is wierd

  1. #1
    Join Date
    Sep 2001
    Posts
    12

    comp is wierd

    txtid.text=1
    lngpersonid = val(txtid.Text)
    txtid.Text = lngpersonid + 1

    Can anyone tell me why this comes up as 3. Its not in a loop, I have not changed the code in weeks and it now started doing this.


  2. #2
    Join Date
    Sep 2001
    Posts
    12

    Re: comp is wierd

    Never mind, i had it call a function that added 1 to the box....woops.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured