Search Results - VBForums

Search:

Type: Posts; User: dday9

Page 1 of 13 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    11,377

    Re: [VB.Net] TicTacToe

    Continued...

    Private Sub CheckEndGame()

    If pnlUpperLeft.Tag.ToString = "x" AndAlso pnlUpperMiddle.Tag.ToString = "x" AndAlso pnlUpperRight.Tag.ToString = "x" Then
    ...
  2. Replies
    8
    Views
    11,377

    Re: [VB.Net] TicTacToe

    Here is an updated version. I've had to break it up into 2 pieces because of the character limit on Vbforums:

    Option Strict On
    Option Explicit On
    Public Class Form1
    'Controls
    Private...
  3. VS 2013 Re: Picturebox.Left and .top (VB6) vs. Picturebox.Location.X and .Y (Can't set)

    I personal move objects by their left and top positions. I find it to be easier because the X and Y properties are read-only so in order to set those you actually have to create a new point.
  4. Replies
    8
    Views
    145

    Re: Get text from website

    Well you're going to have to use GetAttribute and get the Class attribute. The difficulty, as I mentioned, is that it appears as if the class name changes based on the user options.
  5. Replies
    3
    Views
    76

    Re: Merge two text files into one

    You are talking about columns, why not have the file as a database rather than a text file?
  6. Replies
    1
    Views
    61

    VS 2013 Re: Tic Tac Toe AI Issues

    Typically we're very reluctant to download files from a 3rd party website. It's best that you either submit the file as a zip here on Vbforums or simply upload the relevant part of your code using
    ...
  7. VS 2010 Re: Loading list of files into a pre-defined directory into a listbox, then loading t

    I'm assuming that GetFiles is leaving the file open, but I'm not sure as to why. Perhaps somebody else could chime in.
  8. VS 2010 Re: Loading list of files into a pre-defined directory into a listbox, then loading t

    I'd change the path2 variable to implement the IO.Path.Combine:

    Dim path2 As String = IO.Path.Combine(GlobalVariables.FileLocation, "Objects")

    Edit: You could also add all files to the ListBox...
  9. Re: How do i make a set of buttons appear when a button is presed???

    Is the program installed Visual Studios or does it say Visual Basic 2005(or higher)?
  10. VS 2010 Re: Loading list of files into a pre-defined directory into a listbox, then loading t

    No, that's exactly what I expected. This line here:

    NewProject.FolderBrowser.SelectedPath & "\" & GlobalVariables.ProjectName & "\Objects\" & lstFileBrowser.SelectedItem

    Is being treated as an...
  11. VS 2010 Re: Loading list of files into a pre-defined directory into a listbox, then loading t

    Hmm, it could be that it's treating it as an Object rather than a String. Turn option strict and option explicit on and see if it gives you an error.
  12. Replies
    8
    Views
    145

    Re: Get text from website

    This is going to be a bit difficult because it appears as if the class attribute changes depending on the options the user chooses.
  13. VS 2013 Re: HowTo Make Mouse Right Click [CHANGE FROM LEFT TO RIGHT]

    Go to pinvoke's website: http://www.pinvoke.net/
    Search 'mouse_event'
    Click on the appropriate API(second result in my search)
    View the constants for the different mouse events for VB.Net
  14. Replies
    8
    Views
    145

    Re: Get text from website

    I would need to see the HTML of the element that you want to get. It all depends on if there is a class attribute, ID attribute, or none at all.
  15. VS 2010 Re: Loading list of files into a pre-defined directory into a listbox, then loading t

    The file is still open, so whenever you try to open an already opened file it will throw the exception. One thing you should do is wrap your StreamReader in a Using statement:

    Using read As...
  16. Replies
    8
    Views
    145

    Re: Get text from website

    I have moved your last post from this thread: http://www.vbforums.com/showthread.php?778879-Get-Elements-By-Tag-Name-(help) to it's own thread because it was not relevant to the question asked.

    As...
  17. VS 2010 Re: FolderBrowserDialog and Creating Directories?

    That was going to be my next suggestion. To avoid that I typically use IO.Path.Combine.
  18. VS 2010 Re: FolderBrowserDialog and Creating Directories?

    Did it give an exception and are you positive that the path was correct by setting up a breakpoint and watching what SelectedPath and txtProjectName.Text was?
  19. Re: How do i make a set of buttons appear when a button is presed???

    What programming language are you using? Visual Basic 3/4/5/6 or Visual Basic.Net?
  20. Replies
    4
    Views
    152

    VS 2010 Re: Get Elements By Tag Name (help)

    You open up your toolbox in the designer view.
    Expand the Common Controls
    Double-click on the WebBrowser control
  21. Replies
    4
    Views
    152

    VS 2010 Re: Get Elements By Tag Name (help)

    Rather than showing the video in which you're following, you should post the code that you're using. But what seems like what happened is that you tried copying and pasting code into the form's code...
  22. Re: Clipboard.settext(string) throwing exceptions out of no where

    I had mentioned this in your other thread, but it seems as though you may have missed it. You write out the exception in the Catch, but you do nothing with it at all. You aren't displaying it,...
  23. Re: Fixing program crashes that do not throw an exception

    You have a Try/Catch statement, but you do nothing with the exception. That should be the first red flag. While I haven't had the chance to fully read the code, I believe the exception is being...
  24. Re: Fixing program crashes that do not throw an exception

    A NullReferenceException occurs whenever you try to use an object in anyway, but the object is Nothing. Here is an example of where a NullReferenceException would occur:

    Dim foo As List(Of String)...
  25. Re: Fixing program crashes that do not throw an exception

    One thing you should do is wrap the process that crashes into a Try/Catch statement. Then use My.Application.Log.WriteException to document the exception. After an exception gets thrown, ask the user...
  26. VS 2013 Re: adding buttons to tab pages at runtime programatically

    Here is how I typically dynamically add tab pages with controls:

    Private Function AddTab() As TabPage
    'Create a new instance of the control
    Dim newTab As TabPage = New TabPage With...
  27. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    I love their music, but it looks like they had a tough time holding their instruments.
  28. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    Man they are old.
  29. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    I actually got to see AC/DC in Houston a few years back.
  30. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    Lol, nope. Although I'm surprised that my mom didn't push Hells Bells more.
  31. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    Believe it or not, but that is my me and my wife's wedding song. The Sinatra version.
  32. Replies
    6
    Views
    197

    Re: LINQ - how?

    Why do you need to use LINQ in this scenario, like is it an assignment? Otherwise I'd read the data into a DataTable and bind the DataTable to a BindingSource then when the user selects the date, it...
  33. Re: How horrible would it be to use Thread.Sleep in this context?

    I mean the difference between yours and mine is that I loop though each drive checking if the file exist where as yours will check drive D - J and if the file is found then the conditional statement...
  34. Re: How horrible would it be to use Thread.Sleep in this context?

    Well, it appears that you're using a Console Application because of the Sub Main(), so there is no GUI to tie up, but typically I suggest that Thread.Sleep goes on a separate thread. By the way, your...
  35. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    I bet Ray Rice's wife can second that motion.
  36. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    Better than an abusive mod I suppose.
  37. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    If you're decent at photoshop then you should geaux look.
  38. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    By the way, I posted a job opening in the Jobs section.
  39. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    Time's up.
  40. Thread: Post Race!

    by dday9
    Replies
    57,818
    Views
    2,046,411

    Re: Post Race!

    The ban time is 1 second.
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.