Search results for query: *

  1. C

    Question How do import .NET libraries at runtime?

    Thanks JohnH, i've had a quick look and it looks like page 3 if what i need. Basically, because the .exe file that will run my plugin (which is a .dll file) has not referenced the library that i want to use, I have to write some logic in my plugin to load it at runtime.
  2. C

    Question How do import .NET libraries at runtime?

    Hi there, I am developing a plugin for an application which means I have to import a library into my library at runtime. The library is a .NET dynamic link library and I need to be able to use the structures/methods it houses within my application (plugin library). How would I go about doing...
  3. C

    Question Best way to analyse bytes?

    That would make more sense, thanks. :)
  4. C

    Question Best way to analyse bytes?

    Hi there, I have an array of bytes which its length in 12. I need to analyse these bytes and have some logic run if a certain byte sequence occurs. I only need to analyse bytes with indicies: 1,2 & 3 where byte(11) = 1 as the rest of the bytes are the same. ====== So how would you analyse...
  5. C

    Anyone know of a HID Library?

    Thank you very much! Worked perfectly and it is very easy to understand.
  6. C

    Anyone know of a HID Library?

    Hi there, Anyone know of a decent HID Library for receiving messages from HID devices into my program? There is this one that works: http://www.lvr.com/hidpage.htm, but it looks very complicated and was hoping for something a little more "managed", something where i could just enter the VID...
  7. C

    Question Intepret Bytes Recieved over network.

    Turns out that a packet sniffer isn't what i was after - but thanks for responses anyways guys.
  8. C

    Question Intepret Bytes Recieved over network.

    I think i might be after a "packet sniffer" just to analyse the packets i receive through one of my network connections (bluetooth one specifically - although i don't think it matters).
  9. C

    Question Intepret Bytes Recieved over network.

    Not sure which section this should go in, so move in required. Basically, I want to be able to type the name of a network connection (one already established by windows) and capture the bytes it receives in my program. How would i do this? Thanks.
  10. C

    Extract data from html

    Thats a fair shout, but if you do choose to do it JohnH's way, instead of using the webbrowser to navigate to the page, I would download the steam text and load it into the webbrowser, It will save you having to have events to check when the page had downloaded etc.... (That's IIRC from when I...
  11. C

    Extract data from html

    This is what i would recommend for a beginner. But personally, I would down the HttpStream, or load the file and use regular expressions to extract the data you want.
  12. C

    Question GUI Thread slow to update - background worker related

    I understand why you have said that, because I would have said the same thing, but the progress bar is already set to continuous. My problem is the same issue as MattP videoed. Been doing some googling and apparently this is a known issue when the value of the progress bar changes quickly...
  13. C

    Question GUI Thread slow to update - background worker related

    That is making me think a bit, and I am wondering, it could be do to with the fact that I have the step set to 1 and the maximum is variably set and just incremented by one each time. If i had the maximum set to 100 and i just manually set the value property each time i want to change it, it...
  14. C

    Question GUI Thread slow to update - background worker related

    Glad it's not just me :p Can I ask though, why did you put the threading.sleep on the background worker? I am guessing it was so the GUI thread would not lock because the background worker thread is using all the CPU cycles?
  15. C

    Question GUI Thread slow to update - background worker related

    I take it nobody else has had this issue?
  16. C

    Question What data type for decimals?

    Ah....was just me being dipsy.... Thanks. Working now.
  17. C

    Question What data type for decimals?

    Tried, didn't work (for me). Value is 0?
  18. C

    Question What data type for decimals?

    Hi there, I am trying to work out ( 6 / 7) but it always comes to 0.0 when i use double as the datatype. So what datatype should i use? Thanks.
  19. C

    Prompting user to quit

    Would something like this suffice? Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing If MessageBox.Show("Are you sure you wish to exit?", "Are you sure?", MessageBoxButtons.YesNo...
  20. C

    Question GUI Thread slow to update - background worker related

    Hi there, I have a progress bar which shows the progress from a background worker. On backgroundworker.progresschanged event I have it update the progress bar (adding 1 to the value), and change the text of a label (in that order). But it seems that the progress bar is lagging, as the text...
Back
Top