Search:

Type: Posts; User: M@dH@tter

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. VS 2013 Re: keypress and datagridview scroll up/down problem

    absolutely bud, thanks for your help,, It was only required in 2 subs, no need to add it to all the buttons,,
    program functions as needed now woohoo:)
  2. VS 2013 Re: keypress and datagridview scroll up/down problem

    I figured it out
    on each button just add DataGridView1.Focus()
    i also added it to form.shown, Not sure if that's needed but i figured it couldn't hurt lol,
    So now regardless of the button i...
  3. VS 2013 Re: keypress and datagridview scroll up/down problem

    ok I sorta found out something,, if i put my buttons in a groupbox and then hit the up key ,down key, left key, right key followed by the Enter key the Dgview scrolls or jumps to to the right button...
  4. VS 2013 Re: keypress and datagridview scroll up/down problem

    LOL you are right after i added e.Handled = True it worked perfectly fine


    Private Sub DataGridView1_KeyDown(sender As Object, e As KeyEventArgs) Handles DataGridView1.KeyDown

    ...
  5. VS 2013 [RESOLVED] keypress and datagridview scroll up/down problem

    I'm so confused ..


    Private Sub DataGridView1_KeyDown(sender As Object, e As KeyEventArgs) Handles DataGridView1.KeyDown

    Select Case e.KeyCode
    Case Keys.Down
    ...
  6. VS 2015 [RESOLVED] reading a pdf file up to a certain point in the file, removing anything after

    Ok , So at first i thought that i had a virus or something that was screwing up my pdf files,,but it turns out that for some odd reason the pdf server is actually sending out the pdf files in this...
  7. VS 2015 Re: How do i disable this when i pause my program while debugging(screen pic attached

    Hmm, i had that No Source available issue awhile back..and fixed it with the above extension..before i actually found the real problem..I had no idea that this fix would fix the break mode screen as...
  8. VS 2015 [RESOLVED] How do i disable this when i pause my program while debugging(screen pic attached)

    It's getting very annoying to have this popup every time i pause execution
    129071
  9. VS 2013 Re: RegEx question,, I Don't think this had been asked before

    that still doesn't solve the question.. Unless I'm missing something about groups..as far as i can tell groups just states (not this|try this).. still doesn't tell ya which pattern fit the match
    ...
  10. VS 2013 Re: RegEx question,, I Don't think this had been asked before

    hmm nop i still don't think ya getting it bud..lets say you have 10 patterns and your looking for match from 1 of those patterns

    source string = "I Don't have xx-12345X manual"

    now of all the...
  11. VS 2013 Re: RegEx question,, I Don't think this had been asked before

    I'm open to suggestions on any other way to accomplish the same thing above without splitting the pattern string tho
  12. VS 2013 Re: RegEx question,, I Don't think this had been asked before

    this was the only thing i could come up with that fit my needs..



    Dim Str As String = "XX-X12345X" etc.
    Dim TestPattern...
  13. Re: Having a problem with a database not loading properly

    just my 2 cents worth but here's what i see....



    If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
    Dim filename As String = OpenFileDialog1.FileName
    ...
  14. VS 2013 RegEx question,, I Don't think this had been asked before

    Is it possible to show the exact pattern that was used to find the match..

    So if say the pattern looks this: "\b[A-Z]{2}-[A-Z]\d{4}[A-Z](\()(.)(.)(\))\B|\b[A-Z]{2}-[A-Z]\d{5}[A-Z]?\b" etc..etc.....
  15. VS 2013 Re: find string pattern within a string and pull only that string from it

    sorry, I made a bit of a blunder earlier.. i thought the \D was for letters DOH!! after looking at the examples above it dawned on me that my hickup was because of that \w for word :) altho using...
  16. VS 2013 Re: find string pattern within a string and pull only that string from it

    i think i may have a clue as to whats going on..i'm hoping you'll continue to post your idea's tho..while i try different things on my own as well..
  17. VS 2013 Re: find string pattern within a string and pull only that string from it

    Hi,using the \D and \d seems to be working ok
    for this model LC-20E1UB i just use (\D{2}-\d{2}\D\d\D{2})+ that finds that pattern and only that pattern

    The only problem i'm having now is...
  18. VS 2013 Re: find string pattern within a string and pull only that string from it

    nop that wouldn't work either..tested with this string LC-20SH3U ...now change that string to LC-20SH3Uvvvvvvvvvvvvvvvvvvvvvvvvvvvv it still finds both strings..
    the whole idea is to find an...
  19. VS 2013 Re: find string pattern within a string and pull only that string from it

    ok these 2 are a bit harder..and i cant figure them out as easily as i did the first one SX2T7LC-10A3U and S41S3LC-10A3U actually if i could get some help just one then i should be able to get...
  20. VS 2013 Re: find string pattern within a string and pull only that string from it

    Hi actually what you have there would match any combination of numbers after the LC- like LC-555555555555

    but this will work for what i need (\w\w)([-]\d\d\d)+ for LC-### and this ...
  21. VS 2013 Re: find string pattern within a string and pull only that string from it

    yup RegEx was the trick..



    Dim DocNum As Regex = New Regex("([A-Z][A-Z][-][0-9])\w+")
    Dim Item as string = "BULLETIN # LC-67 PAGE 1 OF 1"
    Dim m As Match =...
  22. VS 2013 Re: find string pattern within a string and pull only that string from it

    if the LC-## where the only text in the string then i could do this....
    but since it could be anywhere in the string it complicates things for me


    If Format(String) Like "LC-###" Then
    End If...
  23. VS 2013 [RESOLVED] find string pattern within a string and pull only that string from it

    title may not be exactly what i should have called it but basically here's what i need

    say the String looks like this ""BULLETIN # LC-67 PAGE 1 OF 1"

    i need to pull only the LC-67 from that...
  24. VS 2013 Re: Still struggling to understand the database to datatable to datagridview

    Hi where is your connection to save data back to the database?
  25. VS 2013 Still struggling to understand the database to datatable to datagridview

    I think i understand the concept..but i'm getting fuzzy on the actual coding..in my project i have 4 tables..by my count i should only have a 2..lol which tells me i haven't quit got the hang of the...
  26. VS 2013 Re: DataRowChangeEventArgs refuses to end this routine without crash

    i found the issue.. i Moved a sub that was outside the background worker inside the worker and now it's working right..
    it's twice as fast as it was before..Program is responding again..thanks for...
  27. VS 2013 Re: DataRowChangeEventArgs refuses to end this routine without crash

    Honestly the only reason i even added this was because the program seemed be hung up while the update was running..especially when loading info for the first time..so much so that i killed it twice...
  28. VS 2013 DataRowChangeEventArgs refuses to end this routine without crash

    partial code you can make up whats missing



    AddHandler DBTable.RowChanged, New DataRowChangeEventHandler(AddressOf Row_Changed)
    DataAdapter.Update(DBTable)
    ...
  29. VS 2013 Re: [RESOLVED] import all filenames from HD into single column in access database

    I know I resolved this Post but i just thought i'd add a better compare routine than the one i post above ,,this one works..will remove any rows from the existing database who's file name wasn't...
  30. VS 2013 Re: [RESOLVED] import all filenames from HD into single column in access database

    seems to work ok.. or not lol

    if the database table is empty and i try to add a folder of files..then the table holding those values gets wiped out before there is anything in the...
  31. VS 2013 Re: import all filenames from HD into single column in access database

    now i still have one other issue with the above code tho..sometimes a file can be updated and thus it has a different file size..the above checks will not reflect these new sizes because it's only...
  32. VS 2013 Re: import all filenames from HD into single column in access database

    I figured it out..right or wrong this works...when importing file names from a folder it will check to see if each name is in the DBtable,, if not, it will delete that row from the DBTable since it's...
  33. VS 2013 Re: import all filenames from HD into single column in access database

    I'm Still no closer even after going back to the commandbuilder.. the only difference between this code and the others..is this one doesn't give me any error messages..but the result is exactly the...
  34. VS 2013 Re: import all filenames from HD into single column in access database

    well apparently i'm the dumbest guy here cause i still haven't figured this out...

    when i run the load for the first time the rowstate on all rows is DataRowState.Added..when i run the same load...
  35. VS 2013 Re: import all filenames from HD into single column in access database

    sorry but since my code above clearly shows my InsertCommand and UpdateCommand statements..i assumed that it was you that overlooked the obvious..sorry but the info you typed was a very nice...
  36. VS 2013 Re: import all filenames from HD into single column in access database

    ok so this is where the info is coming from..



    Dim Table As DataTable = New DataTable

    With Table.Columns
    .Add("Brand", GetType(String))
    ...
  37. VS 2013 Re: import all filenames from HD into single column in access database

    sorry i kinda figured the screen shot mighta been too small..due to my screen resolution.

    The changes you requested to the table were not successful because they would create duplicate values in...
  38. VS 2013 Re: import all filenames from HD into single column in access database

    What am i Missing..? I think I've checked and alter about every single example on the net..even went back to some of my older post..and tried what i could find there..the update simply refuses to...
  39. VS 2013 Re: import all filenames from HD into single column in access database

    ok i'm still not getting this to work..so im gonna just post what i have and hope someone can fill in the missing code..cause everything i've tried thus far has failed when i try to update it



    ...
  40. VS 2013 Re: import all filenames from HD into single column in access database

    i just realised that after altering everything to use a datatable..my checkbox column no longer shows up as the first column....where'd it go..how do i put the checkbox column back in the table so...
Results 1 to 40 of 287
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width