Search Results - VBForums

Search:

Type: Posts; User: Inferrd

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    144

    VS 2010 Re: Non english regex

    I'm thinking you want the third group
    .Groups(2) if you're after finding "PROJECT NAME"
  2. VS 2012 Re: How do you change the default font for controls?

    For the life of me, I couldn't explain 6.6, but 7.8 is the "normal" font size when you've set your Window's display settings to 125% (120dpi).
  3. Re: Auto calcul CRC for modbus interface device

    Change
    If CRCLSB = "1" Then to
    If CRCLSB = ChrW(1) Then


    Don't understand why they are using Char data Types there. But then again, I don't understand C :)
  4. VS 2013 Re: Make a Keyboard only Calculator? Cant find Info Anywhere!!

    In answer to:


    In the KeyDown event handler, you select all the text in the textbox. At this point, the new character hasn't been added to the textbox. When it is added, it of course replaces...
  5. Re: Visual Studio: How to write a float to an address using WriteDMAFloat?

    I had found the same code as TnTinMN and am sure it's what you are trying to use. It's badly written .NET code.

    I think that what's going to give you grief from the outset is that the...
  6. Re: AES padding is invalid after first file opened

    Thanks for answering the questions. That would appear to rule out a dodgy key :)

    I can't see anything in the code you provided in post#10 that would cause you problems. I added it unmodified to a...
  7. Re: AES padding is invalid after first file opened

    Without more of your code to go on, I still suspect it's a problem with the key you are using to decrypt the files.


    How are you generating the key string?

    Is it 16 characters long?

    Do you...
  8. Re: AES padding is invalid after first file opened

    It looks like you have converted the code from the blog you linked to in your previous thread so it uses AES rather than DES.

    Is the code you posted above in Post#3 the actual code you are using?...
  9. Replies
    7
    Views
    342

    VS 2013 Re: Extract string from exe file

    An .exe file will almost certainly contain bytes with value = 0. When converting the .exe to a string, these will typically be treated as Null chars (depends to some extent on the Encoding being...
  10. Replies
    9
    Views
    378

    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 =...
  11. Replies
    9
    Views
    378

    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...
  12. 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...
  13. Replies
    2
    Views
    263

    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]+?)(...
  14. 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...
  15. 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,...
  16. Replies
    10
    Views
    297

    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...
  17. 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...
  18. 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...
  19. 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...
  20. 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? :))
  21. Replies
    13
    Views
    436

    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 :)
  22. Replies
    13
    Views
    436

    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....
  23. Replies
    13
    Views
    436

    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 (=...
  24. Replies
    8
    Views
    360

    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:...
  25. 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...
  26. Replies
    6
    Views
    393

    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).
  27. Replies
    6
    Views
    393

    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.
  28. Replies
    11
    Views
    329

    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...
  29. Replies
    22
    Views
    554

    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,...
  30. Replies
    22
    Views
    554

    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...
  31. 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...
  32. Replies
    29
    Views
    1,881

    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...
  33. Replies
    8
    Views
    750

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

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

    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...
  35. Replies
    8
    Views
    750

    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...
  36. Replies
    29
    Views
    1,881

    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...
  37. Thread: Post Race!

    by Inferrd
    Replies
    58,274
    Views
    2,098,718

    Re: Post Race!

    a frighty nightie

    116083
  38. Thread: Post Race!

    by Inferrd
    Replies
    58,274
    Views
    2,098,718

    Re: Post Race!

    A troglodyte

    116081
  39. Thread: Post Race!

    by Inferrd
    Replies
    58,274
    Views
    2,098,718

    Re: Post Race!

    Afrodite

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

    GIGGEDY
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.