Search Results - VBForums

Search:

Type: Posts; User: Inferrd

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    179

    VS 2010 Re: Send JSON Encoded Array via HTTP Request

    mozes is an array of your MyMoz Type. Each element references an instance of the MyMoz Type. You would work with its properties just as you would with any Class. eg:

    Dim thisMoz As MyMoz =...
  2. Replies
    9
    Views
    179

    VS 2010 Re: Send JSON Encoded Array via HTTP Request

    If your Json represents an array, then you need to deserialize to an actual array of your type, not just a single instance of it:

    Dim mozes() As MyMoz = JsonConvert.DeserializeObject(Of...
  3. Re: adding two items to a listview in columns in vb 2010 express

    Hey GMTireman. Welcome to the forum. :wave:

    Your problem is that you only create the one ListViewItem (wrditem) which you try to add over and over to the ListView, which is something you're not...
  4. Replies
    2
    Views
    147

    VS 2013 Re: Help with RegEx

    Not a Regex expert, but I like to play.

    Here's the horrible pattern I came up with. Plug it into your Regex site link and see if it works for you.

    (^[^\d\r\n]+?)(...
  5. VS 2013 Re: Displaying compatible resolutions in listbox

    Your function returns a single ManagementObject object that represents the highest video controller resolution returned by the WMI query. You then need to fetch and display the value of one of its...
  6. Re: Question about IDE behavior with unhandled error

    Which probably means Alain added the FSW at run time , in which case its events will be raised on a different thread from the current thread. It has a property you can set to change that behaviour,...
  7. Replies
    10
    Views
    221

    Re: multithread not working?!?

    @EG: doesn't Thread1.Start start the thread code? :confused:

    It looks like you are accessing the default instance of your Form1 in your TaskClass. I recall JMC stating that, when working with...
  8. Re: getting external ip from a website

    A Using statement is just a wrapper for a Try...Finally...End Try statement. If you employ a Using statement (which you should whenever you can), then the basic clean up code is written for you under...
  9. Re: getting external ip from a website

    Where's the nit picking?? I merely posted a link to the MSDN documents for the Using Statement.

    You're someone who quite admirably encourages others to read the documentation, not to copy and...
  10. Re: Put values from file into an array

    I can't say whether an Array or a Dictionary is more suited to your needs. I just wanted to point out that a Dictionary has a couple of methods that allow you to check if a Key exists or not, which...
  11. Re: getting external ip from a website

    Someone's not read the documentation for the Using Statement. Bad man! :p



    (Been waiting months for the opportunity to use that in a post. How much is a life, and where can I get one? :))
  12. Replies
    13
    Views
    273

    VS 2013 Re: KeyDown not working correctly???

    I get blamed for everything :(. Even when the dog passes wind, it glares at me as if I was the guilty party. I could develop a complex, and who's fault would that be, hmm? Don't answer that :)
  13. Replies
    13
    Views
    273

    VS 2013 Re: KeyDown not working correctly???

    That's a good point. My thinking is clearly too narrow as I'm not allowing for combinations of modifier keys to perform different tasks.

    I think a typo slipped into your last code snippet....
  14. Replies
    13
    Views
    273

    VS 2013 Re: KeyDown not working correctly???

    FWIW, when the W key is pressed, (e.KeyData And Keys.F) = Keys.F is performing a bitwise AND on Keys.W and Keys.F and comparing the result to Keys.F.

    Keys.W has a numeric value of 87 decimal (=...
  15. Replies
    8
    Views
    258

    VS 2010 Re: byte array cleaning

    I think takissd has his arithmetic slightly off. He seems to be removing 14 bytes (header?) and keeping the following 104 bytes of data, not 13/102 bytes as stated in the text of Post#1.

    @Passel:...
  16. VS 2013 Re: Search and replace text with color at specified character line in a richtextbox

    Hey, Lazlo.

    You can use the same technique when searching for the first 5 balls. Just search for the ball value followed by a comma. That would also save you having to remove the highlight for...
  17. Replies
    6
    Views
    244

    VS 2010 Re: Missing Label

    What Paul said. The location of any control is relative to its Parent.

    If you want the label to be positioned at the top left of the panel, you need to specify the label's location as (0,0).
  18. Replies
    6
    Views
    244

    VS 2010 Re: Missing Label

    TextLabel.Location = PanelButton.Location

    PanelButton.Location is (0,80) which would put the label below the PanelButton's client area (its height is only 40), and so it would not be visible.
  19. Replies
    11
    Views
    252

    Re: I have a little problem with VB.net...

    An errant End has snuck in there, and that will close your Form, and your program.



    'Display the result
    TextBox1.Text = TextBox1.Text + "asdf" + result
    End If...
  20. Replies
    22
    Views
    445

    Re: Generating ordered 7 digit numbers

    And for what it's worth, I would do it as (VB2010):


    Dim ii As Integer = 0
    Dim sw As New Stopwatch
    Dim disallowed() As Integer = New Integer() {1111, 2222, 3333, 4444, 5555, 6666, 7777,...
  21. Replies
    22
    Views
    445

    Re: Generating ordered 7 digit numbers

    @Flashbond: You can get yours to run almost twice as fast with a simple alteration:


    Private Sub Flashbond_Click(sender As Object, e As EventArgs) Handles Button1.Click
    ii = 0

    Dim rgx...
  22. Re: Problem with object type conversion registry binary values

    This sounds a lot like the "problems" arising from Registry Redirection.

    Are you compiling to 32 bit and trying to access the registry of a machine running a 64bit version of Windows? If so, you...
  23. Replies
    29
    Views
    1,755

    VS 2013 Re: [RESOLVED] Registry Read Problems Confound Me

    Have you actually run Access? The reason I ask is because I've now uninstalled Office 2007 from my Win8.1 machine, leaving just Office 2013, and the Access.Application Key disappeared along with it...
  24. Replies
    8
    Views
    639

    VS 2012 Re: Draw 3d object on 2d surface

    Hmmm. I missed that. Par for the course these days :(. Must be getting old :p
  25. Replies
    29
    Views
    1,755

    VS 2013 Re: Registry Read Problems Confound Me

    Don't know. I had Office 2013 installed on my Win8.1, but installed office 2007 to test, and I didn't check for the CurVer Key before installing 2007. It was definitely there after installing Office...
  26. Replies
    8
    Views
    639

    VS 2012 Re: Draw 3d object on 2d surface

    OK. I don't know what's going on here.

    Setting Me.Size to a new size doesn't work. There are 2 Size properties listed in Intellisense; one for the user control class, and one (I think) for the...
  27. Replies
    29
    Views
    1,755

    VS 2013 Re: Registry Read Problems Confound Me

    Just tried this on Win8.1.

    Paul's code from #2 works fine.

    WestFiasco's code from #7 does give a NullReference Exception.

    The second quotation mark is in the wrong place in the call to the...
  28. Thread: Post Race!

    by Inferrd
    Replies
    57,591
    Views
    1,950,282

    Re: Post Race!

    a frighty nightie

    116083
  29. Thread: Post Race!

    by Inferrd
    Replies
    57,591
    Views
    1,950,282

    Re: Post Race!

    A troglodyte

    116081
  30. Thread: Post Race!

    by Inferrd
    Replies
    57,591
    Views
    1,950,282

    Re: Post Race!

    Afrodite

    116079
  31. Re: Just testing putting a lone acronym in a post as a test from different browsers.

    GIGGEDY
  32. Re: VB.NET - Screen Recorder with audio. Converts to MPEG-4 video now. Update 29 Dec

    @Edgemeal: Nice work on the screen grab code. :thumb:

    From your timings, it looks like you are hoping for 75 fps (13.33ms timing loops). Might be a tad optimistic? The best I can achieve is about...
  33. VS 2010 Re: Using Regex to replace all characters before a specific word

    I was thinking that sfu7274456 wanted output as:


    Address: 76.96.52.20
    Aliases: autodiscover.somdomain.com

    but on rereading the question, I'm wondering if it's actually supposed to be:

    ...
  34. VS 2010 Re: Using Regex to replace all characters before a specific word

    Try
    output = Regex.Replace(input, "(.*?^Name:.*?$)(.*)", "$2", RegexOptions.IgnoreCase Or RegexOptions.Multiline Or RegexOptions.Singleline)

    As a matching pattern, define the entire contents of...
  35. Replies
    10
    Views
    546

    Re: bug in graph output

    After a bit of Googling, there may be an easier method, rather than rewriting half of your code. Use the InsertEmptyPoints method of the DataManipulator Class.

    So after you have added all your...
  36. Replies
    10
    Views
    546

    Re: bug in graph output

    OK, if we can just concentrate on Chart1 for now.

    For the "Erfenis" series, you are looping lengteerfenisper1 from jaarerfenis to stopjaar - 1 and using it as your X value for adding columns to...
  37. Replies
    10
    Views
    546

    Re: bug in graph output

    There's too much code for me to wade through there (and the Dutch words only confuse me. Pity the English :p), so I'm going to hazard a guess:-

    I see you are using the AddXY method of the Points...
  38. Thread: Image in that

    by Inferrd
    Replies
    0
    Views
    747

    Image in that

    115227
    mooo
  39. Replies
    10
    Views
    364

    VS 2010 Re: [RESOLVED] RegEx returning false match

    No idea. I wasn't joking when I said I was guessing. Regex hurts my head :)
  40. Replies
    10
    Views
    364

    VS 2010 Re: RegEx returning false match

    Best guess would be ^(\.|-)+$
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.