Results 1 to 22 of 22

Thread: Now THIS is a weird problem! [Resolved]

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Now THIS is a weird problem! [Resolved]

    The problem is simple, the text is long.

    For this problem, I'll need you to actually download the attached ZIP file. It's VB.NET source code, so yeah, go ahead and look at it before you run it. It works with the Northwind database, so you shouldn't have any problems there.

    It consists of a form1.vb, and a class1.vb.

    First, the problem:

    Load up the form. It'll load everything, listbox, combo boxes, textboxes, everything.

    Now, you'll have the first record loaded up: Product "Chai" (btw, that's the Persian word for Tea)

    Without editing anything, press the update button, and watch the Supplier's combobox change value! The Category combobox does not, even though I'm using the same technique to udpate them.

    Also, you'll notice that the form's title has changed to the .SelectedIndex of the combobox.

    Press Update again.

    it's just going to keep changing. It goes in a very weird loop.

    If I use a rougher technique to do the update it works fine. (which you will find commented out underneath the actual line being used)



    Can someone take a look? It's absolutely baffling.
    Attached Files Attached Files
    Last edited by mendhak; Jun 24th, 2004 at 06:34 AM.

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