Search Results - VBForums

Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 0.10 seconds.

  1. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    I'm in Houma for the next few days though so I can't really refine it.
  2. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    It can still be a bit slow though if the cap nodes are far apart from each other...
  3. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    I've implemented Dijkstra's algorithm.
  4. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    I updated my path finding algorithm: http://www.vbforums.com/showthread.php?747699-Vb-Net-Pathfinder&p=4655533#post4655533
  5. Re: [RESOLVED] Loop through array to get min and max values

    I love how this thread became a CC thread after the OP's second post. By the way I'll talk that 1% but do they have to be winning numbers?
  6. Replies
    5
    Views
    1,002

    Re: [Vb.Net] Pathfinder

    Here is the code I used in my Form in the image above for the Dijkstra algorithm(to much for the last post):


    Option Strict On
    Option Explicit On
    Public Class Form1

    Private...
  7. Replies
    5
    Views
    1,002

    Re: [Vb.Net] Pathfinder

    UPDATE!

    Here is a major update in the Path Finding. I've created my version of the Dijkstra Algorithm in Vb.Net.

    Features

    A control that draws up a grid.
    There are a start and end node. I...
  8. Replies
    7
    Views
    160

    VS 2010 Re: Get all tags from HTML file

    I'm not worried about the closing tags and I would need any tags period nested or not. So for example:

    <html>
    <body>
    <p id='foo'><span id='fooSPAN'></span></p>
    </body>
    </html>

    Would...
  9. Replies
    7
    Views
    160

    VS 2010 Re: Get all tags from HTML file

    Well see, I want to get the element and it's id if it has one. I suppose I should've expanded more on it. So for example:

    <html>
    <body>
    <p id='foo'></p>
    </body>
    </html>

    would return:
  10. Re: Loop through array to get min and max values

    That's true. It's all very vague at this point.
  11. Replies
    7
    Views
    160

    VS 2010 Get all tags from HTML file

    I'm picking back up on my web IDE project again and one of the things that I want to do is get all the HTML elements in a file that the user would be editing. The file would be just the contents of a...
  12. Re: Loop through array to get min and max values

    I would personally do this:

    Dim intArray() As Integer = {56, 298, -14, 20}

    Array.Sort(intArray)

    Console.WriteLine(String.Format("Min: {0} Max: {1}", intArray(0), intArray(intArray.Length -...
  13. Re: select a particular row from the datagrid view and delete it on button click.

    Try this:

    If DataGridView1.SelectedRows.Count > 0 Then
    For i As Integer = DataGridView1.SelectedRows.Count - 1 To 0 Step -1
    Dim currentRow As DataGridViewRow =...
  14. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    ' Post Race
  15. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    // Post Race
  16. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    Post Race?
  17. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    Post Race.
  18. Thread: Post Race!

    by dday9
    Replies
    52,918
    Views
    1,245,133

    Re: Post Race!

    Post Race!
  19. Re: ComboBox: concatenate value runtime

    I'm not trolling. In fact if I was do you honestly think that I'd provide the detailed example that I did. Take it for what it is, advice. If you don't want the advice, then don't take it. Just...
  20. Re: ComboBox: concatenate value runtime

    The reason why using the + sign is not recommending in VB.Net is because of situations like this:

    Dim result As String = "1" + "2"
    Some would expect that result would equal 3, but in fact the...
  21. Re: Get a field value of current row in BindingSource

    In that scenario why don't you do this:

    Dim currentRow As DataRow = dt.Rows(dt.Rows.IndexOf(DirectCast(bs.Current, DataRowView).Row))

    With currentRow
    .Item(0) = "Hello"
    .Item(1) =...
  22. Re: Get a field value of current row in BindingSource

    As far as I know, that's the only way to have it compliant with Option Strict. One of the benefits of having the BindingSource accept a bunch of different objects is it's versatility, but on the flip...
  23. Re: Get a field value of current row in BindingSource

    The reason it won't compile with Option Strict is because the Current property is of type Object and you're letting the program automatically convert the Object to a String. What you need to do is to...
  24. Re: ComboBox: concatenate value runtime

    I didn't download your project as I'm skeptical of that, but concatenating values is pretty simple. Use either the & operator or String.Format:

    Dim newValue As String = currentValue &...
  25. Replies
    27
    Views
    452

    Re: [RESOLVED] Who am I?

    I was thinking: "Dang, the Philippines must be far behind in their technology department!"
  26. Replies
    2
    Views
    106

    VS 2010 Re: TryParse and Listbox help

    No need to reinvent the wheel, the .Net framework provides you with a NumericUpDown control. The value of a NumericUpDown returns a Decimal so it's very simple to convert it to either an Integer,...
  27. Replies
    3
    Views
    88

    VS 2010 Re: Help wtih text to datatable

    I didn't know, I just wanted to show how to display the data. I'm glad you took something out of it.
  28. Replies
    3
    Views
    88

    VS 2010 Re: Help wtih text to datatable

    Well, let's break it down into simplified steps.

    Step 1. Get all text in between sections and sections start on the line after the line that has square brackets with the section's name in it....
  29. Replies
    22
    Views
    658

    [C#] Re: Collisions -> half working...

    That's a good point, I think that the collision check is after the ball move.
  30. Replies
    22
    Views
    658

    [C#] Re: Collisions -> half working...

    In some cases it will recognize collision with the wrong side. For example, if it hit the top and it took to long to register and it gets to the conditional statement where it checks the right side...
  31. Replies
    8
    Views
    151

    Re: [RESOLVED] Stop MethodInvoker

    If you want to see the code in action, take a look at my Bouncy Ball game(more specifically the last update).
  32. Replies
    12
    Views
    3,991

    Re: [VB.Net] Bouncy Ball

    To make the levels, the text content is coded like this:

    //: Comment
    +: Breakable Brick
    =: Unbreakable Brick

    And you can chose any delimiter that you want. In my examples I use the hyphen '...
  33. Replies
    12
    Views
    3,991

    Re: [VB.Net] Bouncy Ball

    Public Class Ball
    Inherits System.Windows.Forms.Control

    Private hMove As Integer
    <System.ComponentModel.Description("Gets/Sets the horizontal movement of the ball.")> _
    Public...
  34. Replies
    12
    Views
    3,991

    Re: [VB.Net] Bouncy Ball

    Public Class Brick
    Inherits System.Windows.Forms.Control

    Private bWidth As Integer
    <System.ComponentModel.Description("Gets/Sets if the width of the border. If no border is desired...
  35. Replies
    12
    Views
    3,991

    Re: [VB.Net] Bouncy Ball

    UPDATE!

    Here is the source(broken up into next several post):

    Public Class Form1

    #Region "Globals"
    Private bricks As List(Of Brick)
    Private brokenBricks As List(Of Brick)
    ...
  36. Replies
    22
    Views
    658

    [C#] Re: Collisions -> half working...

    I just wanted to mention that I've updated my game because of this thread. I am having some issues with the collision too, so I'm interested in seeing some new ways.
  37. Replies
    8
    Views
    151

    Re: [RESOLVED] Stop MethodInvoker

    My game loop is on a separate thread called gameThread and if the user closes the application during gameplay then I get an error because the game loop will still run.
  38. Replies
    8
    Views
    151

    Re: [RESOLVED] Stop MethodInvoker

    Sometimes ;) nah I'm joking. But this was what I wound up using only because it works:

    quit = True
    If gameThread IsNot Nothing Then
    gameThread.Abort()
    End If


    And that's in the...
  39. Replies
    27
    Views
    452

    Re: Who am I?

    Huh, I meant legitimate but the auto correct knows better.
  40. Replies
    27
    Views
    452

    Re: Who am I?

    If that is a ligament picture of you... how old are you?!

    As for the question, I'm digging the guy on the bottom left's mustache so I'm betting on that one.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.