Search:

Type: Posts; User: Grand

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,176

    Re: [RESOLVED] vb.net Issue with dbnull

    Thanks for the explanation.
  2. Replies
    6
    Views
    1,176

    Re: vb.net Issue with dbnull

    Again:)
    Than you so much all. It works and I understood the issue.
    I also was not aware of "Option Strict" thing, I will do that to.
  3. Replies
    6
    Views
    1,176

    [RESOLVED] vb.net Issue with dbnull

    Hi
    I am sure it is my fault but I don't know why is this happening and how to fix it.
    So, I am checking some cells in a datagridview and the ones that are changed from some text to nothing are...
  4. Re: Deleting rows from a datatable - issue

    I see the logic of exiting the inner loop.
    And thanks, jmcilhinney; it is working correctly now using your method.
  5. Re: Deleting rows from a datatable - issue

    Thanks.
    I have stepped into the code very carefully and it is very unlikely that the rows are deleted elsewhere. But I will check again.
    this also gives some issues:

    "Collection was modified;...
  6. Re: Deleting rows from a datatable - issue

    I have two datatables and I need to delete some rows from one of them. the content of both tables are dynamic and are changing based on some user selections.
    Specifically, I need to delete the rows...
  7. Re: Deleting rows from a datatable - issue

    I guess "simple" is overrated :)
    I believe this task could be done in different ways and I can hear that I chose the most inefficient and uncommon method. in other words, the way I code :)
  8. Re: Deleting rows from a datatable - issue

    I fail to see that. I think I am running AcceptChanges on the table where I deleted the row.

    Thank you for the suggestions.
    I have tried the first one and get the same issue:

    185591

    Did I...
  9. [RESOLVED] Deleting rows from a datatable - issue

    Hi
    I am getting an error when trying to delete rows from a datatable in the following manner:


    For i As Integer = CheckedTable_Team_Qtrack.Rows.Count - 1 To 0 Step -1
    ...
  10. Re: [RESOLVED] vb.net variations in system/user fonts messing up the UI

    Thank you for the help.
  11. Re: vb.net variations in system/user fonts messing up the UI

    Great, Thanks :) it shows the default font now.

    I have an additional related question about the situation where the font is missing and has to be installed. Can it happen by a "normal" user...
  12. Re: vb.net variations in system/user fonts messing up the UI

    Thanks again.
    Wouldn't the above code give all the installed fonts on my machine rather than the default font?
    I tried this and got all the fonts within {C:\WINDOWS\Fonts}

    Dim Myfonts As String...
  13. Re: vb.net variations in system/user fonts messing up the UI

    Thank you. I will try that now.
    I would still like to know how to find out about the users' machine fonts to run some diagnostics about how many different system fonts I am facing.
    Another question...
  14. [RESOLVED] vb.net variations in system/user fonts messing up the UI

    Hi

    I have a windows form with fixed size (non-scalable due to because) that now has UI issue where label texts and other control contents are overlapping each other.
    The issue is first reported...
  15. Re: SQL - Select two columns where not null - return one row

    That is fantastic. Thank you all so much; also for the explanation.
  16. Re: SQL - Select two columns where not null - return one row

    It is a more general case where the values of those two columns are different than the ones we see here. Also in some cases there might be only one row to begin with :)
    If it is very complicated, I...
  17. [RESOLVED] SQL - Select two columns where not null - return one row

    Hi
    I cannot fix this:

    182621

    and I need this:

    182622

    My query:
  18. Re: SQL - Select where either but not both has values

    Is it better now? I changed the table structure.

    Edit:

    Explanation/correction: OK, I see now. I actually asked in my first post the opposite of what I need :)
    I need that the query gives me...
  19. [RESOLVED] SQL - Select where both conditions true

    Hi
    I searched and tried a lots of things but I cannot figured this out.
    this is my table:

    182516

    and I need that the query returns A.

    Can someone please help me here?
  20. Re: Dynamically added controls can't be replaced by new ones

    Thanks for the suggestions. I actually started with having multiple panels and make them visible one at the time when they were selected but then the collection increased to over 100 panels; also...
  21. Re: Dynamically added controls can't be replaced by new ones

    Thanks, I will do that. So, remove and then dispose?
    And yes, the necessity is not shown here to simplify; each selection will result in different set of controls within that panel. Any suggestion...
  22. [RESOLVED] Dynamically added controls can't be replaced by new ones

    Hi
    I have an issue :)
    Based on a selected item in a combobox, a panel will be created and a few controls will be added to that panel. All good on the fist selection. however, when the combo is...
  23. Re: Deleting a row from the data source (datatable) of a datagridview

    Thank you.
    Does this remove the row from the datatable?
  24. Re: Deleting a row from the data source (datatable) of a datagridview

    No answer is needed, it was just my "better ask to be sure" mode.
    For the datatable, I am creating it at form load add then necessary columns to it. Then add rows to it when users select some...
  25. Re: Deleting a row from the data source (datatable) of a datagridview

    Thank you for the explanation.
    I don't have a data source at design time; I will have a datatable that is created during the runtime. can that still be managed at design mode?
    Edit:
    RemoveCurrent...
  26. Deleting a row from the data source (datatable) of a datagridview

    Hi,
    I am struggling to delete a row from a datatable that I have bound to my DGV (datagridview).
    The DGV is not full row selection thing and users can click only on one cell at time.
    I can delete...
  27. Replies
    11
    Views
    3,748

    Re: How to find control by tag property

    Thanks so much :) It does exactly what I was looking for.

    Thanks again.
  28. Replies
    11
    Views
    3,748

    Re: How to find control by tag property

    The tag is constant.
    So, lets say I have 10 panels and they all have, among other things, 4 combos that I need to populate differently based on the user selection and some other ramifications....
  29. Replies
    11
    Views
    3,748

    Re: How to find control by tag property

    The tag is just some string text.
    And it is because I have a few panels where I have some combo on each and those specific combos all have the same tag but only one at the time is visible depending...
  30. Replies
    11
    Views
    3,748

    Re: How to find control by tag property

    The tag is just some string text.
  31. Replies
    11
    Views
    3,748

    Re: How to find control by tag property

    Will that consider the control's tag?
  32. Replies
    11
    Views
    3,748

    [RESOLVED] How to find control by tag property

    Hi,
    Is there a way to find a control by tag text without looping through the controls of the container?
    I usually fidn controls by ID/name by:


    Dim Thiscontrol As Control...
  33. Re: Adding items to a listview from 3 different textboxes

    Thanks.
    I would like to avoid datatable if possible.
    so, that "blah" is my texts from 2 different textboxes and the selected item from a dropdownlist?
  34. Adding items to a listview from 3 different textboxes

    Hi,
    I just started ASP and thought I could jut convert things Win from win form right to the ASPx.vb and be done

    Here I need help to add rows to a listview I have on my web page. the values are...
  35. Re: VB.net + ASP.net dropdownlist selection the first item per default

    Hi
    You are correct. So I want that users select one of the items and before that nothing should happen.

    Well, I was hoping to avoid that extra dummy item but if that is the way to go around it,...
  36. VB.net + ASP.net dropdownlist selection the first item per default

    Hi
    I am not sure if this is the right forum and I apologize before hand if it is not.

    My problem is the I am populating a dropdownlist from a database in a simple ASP.net webform and all good...
  37. Re: VB.net - Get the value of a specific column of a filtered data-bound datagridview

    Someone please frame that and hang it somewhere.
    Thanks for the response.
    I expected too much and as usual assumed the people would guess 90% of my problems :)
    Here is the code:
    Private Sub...
  38. VB.net - Get the value of a specific column of a filtered data-bound datagridview

    Hi,
    I cannot find out how to get this to work.

    I have a datagridview where user can fitter if based on some options they have. There is also a double-click feature that gets some additional info...
  39. Re: VB.net - TreeView: Get the root name of a grand child node

    Thank you. Just to be clear, you are calling GetParent function inside the same function in the else branch?

    Edit. anyways, it worked :) Thanks a lot.
  40. [RESOLVED] VB.net - TreeView: Get the root name of a grand child node

    Hi
    I can't find how I get the text of the root node of the node that is clicked in a TreeView control.

    I have a treeview with some multi-level children/grandchildren etc. and I need to know which...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width