Search:

Type: Posts; User: iRoN_RoCK

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,987

    VScrollBar SmallChange in RTB

    Hi everyone,
    Can we change small change amount of a richtextbox's vScrollBar? I want it to move one line by one line like in visual studio. Is there an api for that?
  2. Replies
    7
    Views
    1,219

    Re: Syntax Highlighting

    great program for learning regex: Expresso
    there is free evalution registration
  3. Replies
    0
    Views
    715

    Measure string till caret position

    Hello guys,
    In my current project, I'm making a control similar to RichTextBox. I use TextRenderer to draw text. My problem is that I can't get real column index from caret position.

    Here is my...
  4. Replies
    2
    Views
    410

    Re: List with same items

    Ah yes, it solved. Thank you! :) it was about to blow my mind.:eek2: stupid me..
  5. Replies
    2
    Views
    410

    [RESOLVED] List with same items

    Hi all,

    I am trying to read people data from binary file and show their names in a listbox. Couple days ago, it was working, but I have changed some things in code that i don't remember. Now, it...
  6. Replies
    7
    Views
    42,812

    Re: [VB.NET] Useful Types for Card Games

    How to sort cards in a hand? Can we use LINQ?
  7. VS 2008 Re: Datagridview - Drag and Drop rows without reordering

    No answer? I have been searching this but no success. Only i found is reordering rows. help plzzzzzzz:(
  8. VS 2008 Re: Datagridview - Drag and Drop rows without reordering

    i forgot to add my code. here it is:
    Private rowIndexFromMouseDown As Integer
    Private rowIndexOfItemUnderMouseToDrop As Integer

    Private Sub SquadList_DragOver(ByVal sender As Object,...
  9. VS 2008 Datagridview - Drag and Drop rows without reordering

    Hello everyone. I have a question. How can I perform a drag drop(without reordering) in a datagridview? I mean just moving two rows to each others places. Like this:


    AAA
    BBB
    CCC
    DDD
    EEE...
  10. VS 2008 [RESOLVED] handle controls created at runtime from a module?

    This is how I create textboxes at runtime:

    Public TextBox1 As TextBox() = New TextBox(26) {}
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  11. Replies
    4
    Views
    913

    VS 2008 Re: Custom Drag and Drop cursor

    Bulldog, how to use your method for moving a datagridview row? Or better to ask if I can? :ehh:
  12. Re: access a DataTable which created at runtime

    This one works. Thanks for your posts anyway:)

    Dim dv = New DataView(DbPlayers)
    dv.RowFilter = "Nationality = 'Turkey'"
    TestGridView.DataSource = dv
  13. Re: access a DataTable which created at runtime

    this one was ok but it just cleared all rows from datagridview. what did i do wrong? :confused:

    Dim myQuery = From Player In DtPlayers _
    Where...
  14. Re: access a DataTable which created at runtime

    'Item' is not a member of 'System.Data.DataTable' it said
  15. [RESOLVED] access a DataTable which created at runtime

    Hello guys,
    I created a Datatable at runtime, added data to it succesfully but now i cant access it. For example, I can't filter by nationality

    Public DtPlayers As New DataTable("PlayerNames")
    ...
  16. Re: How to save populated combobox

    how to load them back ?



    sorry, my mistake as i m using both vb6 and 2008:o
  17. Re: How to save populated combobox

    http://www.vb-helper.com/howto_save_combobox_file.html

    you'd better first ask your question to our friend Google
  18. Replies
    35
    Views
    2,483

    Re: Project

    Function Max(ByVal A As Integer, ByVal B As Integer, ByVal C As Integer) As Integer
    Max = A
    If B > Max Then Max = B
    If C > Max Then Max = C
    Return Max
    End...
  19. Thread: ListView?!

    by iRoN_RoCK
    Replies
    12
    Views
    625

    Re: ListView?!

    Listview1.Multiselect=False
    Listview1.ListItems(0).Selected = True '0 = first row
  20. Replies
    16
    Views
    2,108

    VS 2008 Re: DataGridView Filtering

    sorry, couldnt answer earlier as i've been busy with my exams. finally i solved the problem with this code:

    Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As...
  21. Replies
    16
    Views
    2,108

    VS 2008 Re: DataGridView Filtering

    i couldnt manage to do that. datagridview was empty :confused:


    how to do that? sorry i dont know anything about LINQ but i tried to do something like this:

    Dim nameQuery = From names In...
  22. Replies
    16
    Views
    2,108

    VS 2008 Re: DataGridView Filtering

    sorry, i forgot to close edit mode in datagridview. i just tested it and it takes about 15 seconds to filter it :eek: what should i do now?
  23. Replies
    16
    Views
    2,108

    VS 2008 Re: DataGridView Filtering

    Private Sub Timer1_Tick(ByVal sender As Object, _
    ByVal e As EventArgs) Handles Timer1.Tick
    Dim searchTerm As String = Me.TextBox1.Text

    'The user has stopped...
  24. Replies
    16
    Views
    2,108

    VS 2008 Re: DataGridView Filtering

    i m using vb 2008 express. but i have no idea about LINQ nor datatables
  25. Replies
    16
    Views
    2,108

    VS 2008 Re: DataGridView Filtering

    i tried that but god it's too slow! which method is fastest as you know? should i use a datatable or etc?
  26. Replies
    16
    Views
    2,108

    VS 2008 Re: DataGridView Filtering

    well, actually i dont use DataTable or something. i read all values from a file(binary) to array.
  27. Replies
    16
    Views
    2,108

    VS 2008 [RESOLVED] DataGridView Filtering

    hello,
    i have a datagridview(has about 7000 rows) like this:
    ID Name
    -- -----
    9 David Brown
    11 David Blue
    17 Hans Yellow

    what i want to do is when i write something...
  28. Replies
    4
    Views
    1,938

    Re: selecting two texts at the same time

    i did it:

    Private Sub Text1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Text2.SelStart = Text1.SelStart
    Text2.SelLength = Text1.SelLength
    Text1.SetFocus
    End Sub
    ...
  29. Replies
    4
    Views
    1,938

    Re: selecting two texts at the same time

    i couldnt do that



    hmm.. what about highlighting? actually i m trying to make a hex editor view with masked edit boxes. something like that:
    http://img6.imageshack.us/img6/8045/hexo.jpg
  30. Replies
    4
    Views
    1,938

    selecting two texts at the same time

    how to select two texts at the same time? i wrote this but it doesnt show selected text or doesnt even select it :confused:

    Textbox1.SelStart=Textbox2.SelStart...
  31. Replies
    12
    Views
    1,190

    Re: Reading from website through VB

    thank u so much Fazi. i was looking for an example like u gave. it solved one of my projects too but i have a question. i need to fill two textfields in a website but their name's are same in code....
Results 1 to 31 of 33



Click Here to Expand Forum to Full Width