Unbelievably Bizzare Combobox Problem

  • Thread starter Thread starter John Braganca
  • Start date Start date
J

John Braganca

I have a small winforms app with a combobox. When I am logged in as a
domain administrator, the combobox behaves as expected. When I am
logged in as a domain user, clicking the box brings down the options,
then it immeiately goes back up. After that the form locks up. I am
also continuously reading data from a serial port, if that makes any
difference. I am pulling my hair out over this, what do I do?
 
Here are some wild guesses: hard to know what could be going on from a breif
description.

Perhaps the serial port reading should be happening on a separate thread?
Do you see this same behavior on other people's computers, too? Do you see
any different exceptions or events being thrown in the two situations if you
run the thing under the debugger?
 
I figured it out. The designer kept removing SynchronizingObject = this
in InitializeComponent()... for whatever reason the sync problems
manifested themselves in different ways depennding on the authenticated
user. I am setting that property explicitly now, problem solved!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top