Search:

Type: Posts; User: colleen.boye

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    3,614

    MDI child form count

    I've got some code in my parent form's MdiChildActivate sub, but I've noticed that it doesn't report me.mdichildren.count accurately (at least within that sub). When I open a new child form, the...
  2. Replies
    22
    Views
    1,367

    Re: Problems with datagridview

    Sorry, what error?

    (Edit: Right, the one in the OP. Yeah, it's better to rewrite than to keep banging your head against that wall.)
  3. Replies
    22
    Views
    1,367

    Re: Problems with datagridview

    I'm afraid dunfiddlin is right; while you could do everything manually like you're doing now, it's going to be longer, more error-prone, and especially a lot slower than if you just use data binding....
  4. VS 2012 Re: Correcting null values in boolean columns

    (I just went ahead and changed null values to false in the cellformatting event.)
  5. VS 2012 [RESOLVED] Correcting null values in boolean columns

    I've got a datagridview populating from a database and, there's no way around it, the database will sometimes return null values in a boolean column, and I get the following error:



    I tried...
  6. Replies
    3
    Views
    659

    VS 2012 Re: Datagridview image formatting

    No dice; that only seems to change the null value of text cells.
  7. Replies
    3
    Views
    659

    VS 2012 Datagridview image formatting

    Quick formatting question: My datagridview's image columns display the broken-image picture if there's no image. How can I make them just display nothing instead?
  8. Re: Settings are causing an exception

    Deleting the bin and obj files did it. Thanks!
  9. Re: Settings are causing an exception

    OK. (It's short as I only use settings for login information.)


    '------------------------------------------------------------------------------
    ' <auto-generated>
    ' This code was generated...
  10. Re: Settings are causing an exception

    Good idea. But it didn't work.
  11. Re: Settings are causing an exception

    Naming conflicts as in something else called "username"? I know it's not that; I've tried renaming the settings and no dice.
  12. [RESOLVED] Settings are causing an exception

    My application is giving me this error when it starts:



    It's this bit of the settings designer file that's messing it up:


    <Global.System.Configuration.UserScopedSettingAttribute(),...
  13. VS 2012 Re: The base class 'Object' could not be loaded

    Well, got a week-old backup. Could be worse.
  14. VS 2012 The base class 'Object' could not be loaded

    Well, this error is not anything I want to see:



    I'm in the process of converting a project from SDI to MDI and something seems to have gone terribly wrong with one of my forms in the process. ...
  15. [RESOLVED] One-line datatable row creation

    I can add a new row to the end of a datatable in one line:


    MyTable.Rows.Add(FirstValue, SecondValue, etc)

    But if I want to just create a new row, all the examples I've seen add each field one...
  16. Re: Tabpage showing controls for a different tabpage

    Obviously that's not what's happening because a) this subroutine specifically never hides a tabpage and b) I can click to other tabpages, which display normally--not displaying the assessment...
  17. Tabpage showing controls for a different tabpage

    Last tabcontrol-related question, I promise.

    So last time I was having visibility issues with this subroutine and now those have been sorted out, but I still have another issue. When I click over...
  18. Replies
    2
    Views
    725

    Re: VS 2010 textbox next line

    I'd like a little clarification. It sounds like you want the text in form2.textbox1 to be:



    But the trouble is that the two If statements you've written above can't both be true at the same...
  19. Re: Inconsistency in radio button tab indices

    ...Yes?
  20. Re: Inconsistency in radio button tab indices

    Here's my designer file.

    100565
  21. Re: Inconsistency in radio button tab indices

    This is clever and I totally thought that was going to be it! However...

    100561

    I can use the arrow keys to change the checked radio button, as normal.
  22. Replies
    7
    Views
    2,819

    Re: Children of tabcontrol

    It switches it to being visible but disabled:


    Public Sub Conceal(ByVal concealedObject As Object)
    'either hides or disables the object depending on the setting
    If...
  23. Re: Inconsistency in radio button tab indices

    I swear to God, I am using the tab key and the tab key only. Here is a video.


    http://www.youtube.com/watch?v=mo3k-XhzxxI&feature=youtu.be

    Paul: You're right; so now the question is, why are...
  24. Re: Inconsistency in radio button tab indices

    That's OK, does anyone else have any ideas?
  25. Re: Inconsistency in radio button tab indices

    I also did this:


    MessageBox.Show("The parent of WindYes is: " & WindYes.Parent.Name.ToString & vbCrLf & "The parent of WindNo is: " & _
    ...
  26. Re: Inconsistency in radio button tab indices

    Behold the impossible!

    100539

    The radio buttons are all in the same container and otherwise behave completely normally. Here's another screenshot highlighting behavior that, if I understand...
  27. Replies
    4
    Views
    879

    Re: hi still new

    Second the Notepad clone idea; just mastering the basic four menu items (New, Open, Save, and Exit) will get you a long way.

    Every beginner should make tic-tac-toe. Start with a two-player...
  28. Replies
    3
    Views
    1,156

    Re: [RESOLVED] Detecting Excel version

    Figured this out; in case anyone's wondering, here's how:


    Dim saveFileDialog1 As New SaveFileDialog()
    'checks the Excel version
    Dim XLApplication As Excel.Application
    ...
  29. Replies
    7
    Views
    2,819

    Re: Children of tabcontrol

    I fully appreciate the relationships in a tab control, but the subroutine is recursive, so it applies to children, grandchildren, great-grandchildren, great-great-grandchildren, etc.

    And why does...
  30. Replies
    7
    Views
    2,819

    [RESOLVED] Children of tabcontrol

    I'm using this subroutine to recursively toggle disabled/invisible state for a control and its children:


    Public Sub ConcealObject(ByVal Parent As Control)
    For Each C As Control...
  31. Replies
    3
    Views
    1,457

    Re: Click to deselect single-select listbox

    That first one works perfectly, although I'm not exactly sure how.
  32. Replies
    3
    Views
    1,457

    Click to deselect single-select listbox

    I want to make a single-select listbox deselect the selected item when you click on it (like a simple multiselect, except that only one item can ever be selected). Is there a simple way to do this? ...
  33. Re: Inconsistency in radio button tab indices

    Not sure I follow. When I try to tab through the top (red-circled) container, tabbing does what you say. But when I tab through one of the green-circled containers, tab goes through every radio...
  34. Re: Inconsistency in radio button tab indices

    Yes, but the weird part is it doesn't do it for all of them. The controls circled in green do what I want (tab goes through all of them regardless of checkstate). I'm trying to figure out why those...
  35. Re: Inconsistency in radio button tab indices

    That's a really handy tool, but the trouble is that the tab order it displays doesn't match the behavior. The radio buttons at the top are 0.0.0.0, 0.0.0.1, 0.0.0.2, 0.0.0.3, 0.0.0.4, and 0.0.0.5,...
  36. Re: Inconsistency in radio button tab indices

    Huh, good to know ("tab index" is a somewhat deceptive name then, but that's neither here nor there). Of course that leaves it a total mystery why my controls are behaving the way they are.

    In my...
  37. Re: Inconsistency in radio button tab indices

    I thought tab index was inherited, ie, it goes to the container, then through all the contents of the container in order, and then on to the next container? Anyway that's how the rest of it is...
  38. Inconsistency in radio button tab indices

    I've got several sets of radio buttons: Some inside a top-level groupbox, some inside lower-level groupboxes, and some on the form. All of them have their tab indices set appropriately and the...
  39. Re: Hiding/showing a label when a listbox is hidden/shown

    dday: The problem is that the subroutine is handling multiple listboxes and I need to find the label that goes with that particular listbox.

    dunfiddlin: That'll work. I thought about putting them...
  40. Hiding/showing a label when a listbox is hidden/shown

    I've got some listboxes with labels on them and I want the label above each listbox to be hidden when the listbox is hidden. Right now I'm giving them matching tags and then just looping to search...
Results 1 to 40 of 152
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width