dcsimg

Search:

Type: Posts; User: Grand

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Help needed with copying listview second column to clipboard on rightclick

    Hi ChrisE
    Thanks, I have tried your approach but it still does the same thing. When right-clicked (not left-clicked and then right-clicked) on the another row, it remembers where was right-clicked...
  2. Help needed with copying listview second column to clipboard on rightclick

    Hi
    I need to copy the content of the second column of the selected row (or just any cell on the second column cell that is clicked on ) item of a listview. This shall happen when right-clicking on...
  3. Re: Help needed with Tooltip and listview subitems

    Thanks ChrisE. I Am 3D-puzzled. It must be something that I have done if it works on your end. But can't figure it out.
  4. Re: Help needed with Tooltip and listview subitems

    Thanks ChrisE. I changed that:


    With LV_Assign
    .Clear()

    .View = View.Details
    .GridLines = True
    .FullRowSelect = True
    ...
  5. Re: Help needed with Tooltip and listview subitems

    Yes, sort of copied :) I Didn't create and populate the listview as I had a listview. Also I forgot to mention that the listview at form load is empty. Users then add data to it by selecting content...
  6. Re: Help needed with Tooltip and listview subitems

    Strange. I have changed teh code but now nothing shows up :(
  7. Re: Help needed with Tooltip and listview subitems

    Great. Thanks ChrisE.
    It kind of works but only every second time. So when I move the courser over the listview for the first time, no tooltip shows up. But when I leave teh listview and come back...
  8. Re: Help needed with Tooltip and listview subitems

    Edit: sorry this was a double comment.
  9. Re: Help needed with Tooltip and listview subitems

    Ok, Thanks. I tried but failed again:(


    Private Sub LV_Assign_MouseMove(sender As Object, e As MouseEventArgs) Handles LV_Assign.MouseMove
    Dim HitTest As ListViewHitTestInfo =...
  10. Help needed with Tooltip and listview subitems

    Hi
    I need help regarding figuring out how to show tooltip for items in the second column of a list view. The tooltip shall only show the content of the cell for the row where the mouse is hovering...
  11. Re: ToolTipText on header cells of a datagridview

    The challenge was solved by "Inferrd" at here
    Thank you for your time and guidance.
  12. Re: Help needed about strange behaviour of a datagridview and tooltip

    That is great. than you so much for clearing that up. Also your example solved my challenge as well.
    Thanks again.
  13. Re: Help needed about strange behaviour of a datagridview and tooltip

    Hi,
    It gives me the text of each column header of my current DGV. e.g. :


    JFIM;ModuleCode;CourseCode;DocTitle;JBLX
  14. Re: Help needed about strange behaviour of a datagridview and tooltip

    It didn't work. I think, it is because that I am overwrting it somewhere else and I cannot figure it out where.
    Also that I forgot to mention that the DGV content is dynamic/it changes based on the...
  15. Re: Help needed about strange behaviour of a datagridview and tooltip

    Thanks ChrisE. It worked on a fresh DGV but can't get it to work on my DGV. Also that I need to have a tooltip for header cells where I can get the content of the cell and then do something with it....
  16. Re: Help needed about strange behaviour of a datagridview and tooltip

    thanks for helping out. Here is the code:170737
  17. Re: Help needed about strange behaviour of a datagridview and tooltip

    I can prepare that but you won't be able to run it as it interact with multiple tables on a SQL database which I cannot provide to you. Is there a way around this?
  18. Re: Help needed about strange behaviour of a datagridview and tooltip

    OK. I think I forgot to mention that my DGV is databound; sorry about that. This means there is no columns in design mode.
  19. Re: ToolTipText on header cells of a datagridview

    Thanks for following up. I have checked, the code does not produces true for the if statement so it never gets to the "print" thing. I ahve tried to hover on different places but no luck.
    Anyway, I...
  20. Re: Help needed about strange behaviour of a datagridview and tooltip

    I am not sure. Maybe I did at some time. How will I check that? and by the way, the project does not ahve a tooltip control. I have deleted it but still the tip shows up. or it might be somethings...
  21. [RESOLVED] Help needed about strange behaviour of a datagridview and tooltip

    While I was trying to get a tooltip to work on my DGV, I noticed that my DGV actually was already showing a pop-up when hovering over the header cells but only from 4th column and onward. I could not...
  22. Re: ToolTipText on header cells of a datagridview

    Thank you for helping out. I tried your code but nothing happened. The code does not produces true for the if statement.
    However, I noticed that my DGV actually is showing a pop-up when hovering...
  23. Re: ToolTipText on header cells of a datagridview

    Thanks for the guidance.
    I tried this so far, but am getting no result :(


    Private Sub DataGridView1_MouseHover(sender As Object, e As EventArgs) Handles DataGridView1.MouseHover
    Dim...
  24. [RESOLVED] ToolTipText on header cells of a datagridview

    Hi,
    I am struggling to get a tooltip to show up when a mouse courser is hovering over the header cells of a datagirdview.

    I am not sure which event of the DGV shall be used and how to read the...
  25. Replies
    4
    Views
    389

    Re: Autofilter the visible range only

    Isn't it what I am doing?

    SourceWorkBook.Worksheets(MyWSheets.Name).Range("A2:H" & TRowsSourceFile).SpecialCells(xlCellTypeVisible).AutoFilter Field:=3, _
    Criteria1:="1", Operator:=xlTop10Items...
  26. Replies
    4
    Views
    389

    Autofilter the visible range only

    Hi
    I need to perform filtering on two columns usign VBA. The first filtering should give me the docuemnt number and the second filtering should give the highest version for that document number.
    ...
  27. [RESOLVED] Help needed with autofilter column for max value

    Hi
    I have a macro in vba and facing difficulties to get an autofilter to work for filtering a column for max value.

    I think my issue is that the content of that column. The column originally...
  28. Replies
    2
    Views
    247

    Re: Count-down For-loop is not looping

    Thanks so much for the fast response :)
  29. Replies
    2
    Views
    247

    Count-down For-loop is not looping

    Hi :(
    I have the following code and can’t figure out why the code is jumping over the k-loop; it never gets to the third line. I have checked “TeamAndModuleTable.Rows.Count” and there are always...
  30. Re: [RESOLVED] Exporting a formatted Datagridview to Excel and maintaining formats

    Will do; thanks.
  31. Re: Exporting a formatted Datagridview to Excel and maintaining formats

    Just wanted to report back. With your guidance, I have modified the code to format the exported Excel sheet the way I needed:



    Try
    'Dim TempFilePath As String = ""
    Dim...
  32. Re: Help with spinner animation on a form while loading another form

    At the moment, I am showing it as ShowDialog(), but I can change the approach if that is needed. Can I just close the second form just before the third form opens.
  33. Help with spinner animation on a form while loading another form

    Hi
    I have some challenge with opening a third form via a second form and show some animation while the third form is being loaded.
    My Situation is that from the main form users can open a from (the...
  34. Re: Exporting a formatted Datagridview to Excel and maintaining formats

    Thanks for the reply.
    I think my issue is that in the code I provided I am exporting a datatable (it has no color) to Excel. that datatable is set as the datasource of my DGV where I then color...
  35. [RESOLVED] Exporting a formatted Datagridview to Excel and maintaining formats

    Hi
    I need to export a DGV (datagridview) that has some colored cells to a Excel. I have been using the following code to export the DGV's source to Excel but users now want more.

    Can it be done,...
  36. Re: [RESOLVED] SQL - Need help with an inefficient query

    Thanks for looking int to it. I am happy so far with it and am getting the result I needed much faster.
  37. Re: [RESOLVED] SQL - Need help with an inefficient query

    Thanks.
    Here is the EP for left join:

    169315

    I will consider indexes for those tables. This is due to that fact that I have some other queries that run even slower but those are not...
  38. Re: [RESOLVED] SQL - Need help with an inefficient query

    Let me start with this: I am really sorry :)

    The info I gave you about the index was from another table; really sorry. After reading your last comment, I went back and actually this time looked...
  39. Re: SQL - Need help with an inefficient query

    Hi FunkyDexter,
    Thanks for the explanation.

    For CM_DMS the index is called "PK__CM_DMS_A__3214EC277015AD25" but unfortunately there is no index for the Phonebook. I might be able to add that,...
  40. Re: SQL - Need help with an inefficient query

    Could you give me some more detail? So yo mean a join where the result is the difference of the two tables?
    Thanks.
Results 1 to 40 of 315
Page 1 of 8 1 2 3 4



Featured


Click Here to Expand Forum to Full Width