Search results for query: *

  1. T

    Question Return Bold content of word doc

    Hello to all, It has been a long time since I have posted my last post. I would like to ask for the help, to locate and return the bold content of the text from word file.Text that I would like to return is placed somewhere on the only one page and it is the only text which font is bold. It is a...
  2. T

    How to remove checked rows in datagridview

    Hello, I will be grateful if someone help me with this problem. I have an unbounded datagridview, which has a two columns named "iName" and "Checked". Column "Checked" allows checking by checkbox. I want to remove all checked rows by single click on the button. I tried using code below. Am I...
  3. T

    Removing all duplicated rows in datagridview by one click

    I appreciate your work. There is a lot of problems that I need to resolve during programing my project, so I will start new topics. Thanks a lot once again. :)
  4. T

    Removing all duplicated rows in datagridview by one click

    Hello jmcilhinney, At first, sorry for my earlier reactions. I was disappointed because I was looking for an answer for a week and I became tired. I modified the code by your instructions and it works. Thank you very much for your help. For intI As Integer = DataGridView1.Rows.Count -...
  5. T

    Removing all duplicated rows in datagridview by one click

    Hello jmcilhinney, I am not a programer and this is too difficult for me but I am trying to learning. I like .net and have some small application which I made using .net, but I expect that someone help me and says: "There is a problem, remove this line, put this code there." I made...
  6. T

    Removing all duplicated rows in datagridview by one click

    Hello, I tried with code above but it removes only one duplicate by click. As source I am using text file that has a words separated by ",". Content of text file: (Jacob,Jonah,Adam,Shawn,Aaron,Liam,Daniel,Ryan,Adam,Luke,Jacob) Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As...
  7. T

    Make custom button using images

    First, Thank you very much jmcilhinney. Reason why I made mistake in code: In MouseHover event I tried with proper image "over.gif", but I made mistake because that picture is named "_02_over" in my resources and when I had to adapt code to the forum I renamed to the "normal" instead of...
  8. T

    Make custom button using images

    Hello there. I am trying to make an custom button which will use images from below for appropriate action. I tried to write code but there is something mising. Private Sub PictureBox1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseHover...
  9. T

    How to copy specific lines from an text file to another textfile

    'Extracting One Line From a File: Dim Tr As IO.TextReader = System.IO.File.OpenText("C:\Users\...\Desktop\test.txt") Dim MyFileLine As String = Split(Tr.ReadToEnd(), vbCrLf)(3) 'This return the fourth line from the file Tr.Close() 'MsgBox(MyFileLine) Dim...
  10. T

    How to copy specific lines from an text file to another textfile

    Hello friends. I am looking to find a way to copy content of specific row from an .txt file to another .txt file but with some changes. Example: test.txt 114,114,0 186,206,0 114,206,0 186,114,0 114,100,0 100,114,0 test1.txt LINE X114 Y206
  11. T

    play video using an TrackBar

    Hello friends. I want to play an video forward and backward, only using an TrackBar. If I drag TrackBar slider to the right side Video will play forward, and if left backward. Speed of trackbar slider is constant. Anyone help me?
  12. T

    Filter Combobox items

    Is there a way to filter combobox items (declared as single) to find which values are greater than an specific given value?
  13. T

    Filter values in database

    Hi Ian, thank you for the reply. I late with reply I am sorry, but I don't know how to use SQL. I have imported database.
  14. T

    Filter values in database

    Hi there. I am looking for someone to explain how to filter a ms-access database by column and display only cells which have higher values than given value from textbox? Example: If given value in textbox is 3: Column1 1 2 3 4 5 Filtering... Column1 4 5
  15. T

    Chose three rows from database for comparation

    How to get selected record as DataRowView?
  16. T

    Chose three rows from database for comparation

    Here I am again my friends. Here is a code which simply send value from first cell of selected row into 1 of 3 textboxes. If RadioButton1.Checked Then TextBox1.Text = Me.DataGridView1.SelectedRows(0).Cells(0).Value ElseIf RadioButton2.Checked Then...
  17. T

    How to check is any radio button selected to change his forecolor

    Thank you my friends. Special thanks to you VBobCat. This works perfectly and I agree that this is more efficient way to make same result like I made using timer. From this moment I will chose your metod everytime when event handler is necessary to change some form controls properties. Thank you...
  18. T

    How to check is any radio button selected to change his forecolor

    I resolve problem by combining with timer: Private Sub GetControls() For Each GroupBoxCntrol As Control In Me.Controls If TypeOf GroupBoxCntrol Is GroupBox Then For Each cntrl As Control In GroupBoxCntrol.Controls If cntrl.GetType Is...
  19. T

    How to check is any radio button selected to change his forecolor

    Code above I call when form shows. I found some other code which works but only when form shows, I only need to loop everytime over controls. Try For Each pb As RadioButton In GroupBox1.Controls If pb.Checked = True Then pb.ForeColor = Color.Blue...
  20. T

    How to check is any radio button selected to change his forecolor

    Yes,but I need simple solution,something like this,but it's not working. Private Sub GetControls() For Each GroupBoxCntrol As Control In Me.Controls If TypeOf GroupBoxCntrol Is GroupBox Then For Each cntrl As Control In GroupBoxCntrol.Controls...
Back
Top