Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a combo box that is getting it's data from a stored proc in Sql. The proc is bringing back the data to the combo box, but when I select the drop down arrow, the box is blank.. depending on which box I choose, there is enough data in teh drop down that the scroll bars show up, but none of the data is displayed. If I select a value, then that values appears in teh combo box. I'm not sure what I've done or not done that it is working this way. can anyone help.

 

Here is what I'm doing to bring in the data

 With Me.cbServer
               .DisplayMember = "vcServer"
               .ValueMember = "intTblPMServerId"
               .DataSource = wsPerfmon.spPMListing_Server.Tables(0).DefaultView
           End With

JvCoach23

VB.Net newbie

MS Sql Vet

Posted
The code is ok (it should be, because you can select the items and they are displayed in the box). You said the item is displayed when you select it. Is it still displayed when you set the focus to another control. If not, check the color properties of the combobox (or check it anyway).
Posted

yep.. the selected item is still displayed when i set focus to another control.. so what do you think might be causing it...

 

thanks for the replie

shannon

JvCoach23

VB.Net newbie

MS Sql Vet

Posted
Is this the only issue of this type that you are having? Do you have McAfee Enterprise 8 on your machine? There is apparently some kind of conflict that causes visual data loss. If this is your problem, McAfee have a patch available.
Posted

Sorry I did not answer earlier, but I was out of my office. To be honest I don't have the slightest idea what may cause your problem. But possibly it's something like jmcilhinney mentioned. If the hint did not solve your problem already, jmcilhinney reminded me of something else. If it's a loss of graphics data, try to get the latest drivers for your graphics adaptor. Check for the latest service packs for the framework..... Standard procedure I would say. :rolleyes:

 

Such problems are very unpredictable, so if no one else had that problem before, you can only guess; and even if someone had the same problem, there is no guarantee that his solution will solve your problem. That's sad but true. :(

 

Btw, did you try your program on another machine?

Posted
I do have McAfee 8 on my machine.. and turns out that when i compile and just run the exe, everything shows up like it should.. only when I'm running in debugger mode does it not show up.. so, i can live with that. will be glad when it works as normal though

JvCoach23

VB.Net newbie

MS Sql Vet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...