CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: StealthRT

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. c# programatically selecting dropdown value

    I am new at C# and it seems the following code below does not seem to select my combobox value:


    private void button1_Click(object sender, EventArgs e)
    {
    ...
  2. Replies
    0
    Views
    200

    JSON.net getting elements from response

    Hey all i have the following **VB.net** code to find elements within a JSON response:


    Dim url As String =...
  3. Re: Subtract current track time from total track time

    Solved:



    Dim times As String() = lblSongTime.Text.Split("/"c)
    Dim elapsedTime As TimeSpan = TimeSpan.ParseExact(times(0).Trim(), "m\:ss", Nothing)
    Dim totalTime As TimeSpan =...
  4. Subtract current track time from total track time

    Hey all i have a song playing that displays the time like so:

    0:00 / 4:47

    The first time is the tracks current time. The second is the total track time of that song playing.

    I split it like...
  5. Converting PHP serializer string to VB.net

    Hey all i am trying to find (or come up) with some code that would allow me to decode the following string:

    ...
  6. Replies
    6
    Views
    702

    Re: Asking questions in an array

    Got it:


    Private theQNum As Integer

    Sub Start
    theQNum =0
    SetupNextQuestion
    End Sub
  7. Replies
    6
    Views
    702

    Re: Asking questions in an array

    I took out most of the IF ELSE since it asks questions like if txtnumber.text = "" then... etc etc out of the code posted since it would have made it longer. I only have the If else because i check...
  8. Replies
    6
    Views
    702

    Asking questions in an array

    Hey all i am having a hard time coming up with the correct flow for a question form. Lets say i have 6 questions. I define them like this:


    Dim firstStart As Boolean = True
    Dim...
  9. Replies
    6
    Views
    1,265

    Re: VB.net MSComm port USB 4 port relay

    How would you do that in hyper terminal since windows 7 does not come with it?

    David
  10. Replies
    6
    Views
    1,265

    Re: VB.net MSComm port USB 4 port relay

    That's true but like I said the code works but doesn't turn on the correct ports.

    David
  11. Replies
    6
    Views
    1,265

    VB.net MSComm port USB 4 port relay

    I am trying to get my 4 port USB relay board to work in VB.net using the COM PORT. I found some code from a poster who has the 16 port USB relay version. When trying his code i can only get it to...
  12. Re: c# access variable from other namespaces

    Had to do this:


    public static string cableOrSat = "CABLE";


    David
  13. c# access variable from other namespaces

    I am trying to set/read a variable in class bluRemote from another namespace/class like so:



    namespace BluMote
    {
    class bluRemote
    {
    public string cableOrSat = "CABLE";
    ...
  14. Replies
    0
    Views
    593

    HIDlibary.dll connection help in C#

    Hey all i am having problems with getting this HIDLibrary.dll code to pick up my Sony Bluetooth Remote.

    This is the code:


    using System;
    using System.Collections.Generic;
    using...
  15. Re: Parsing HTML for title/picture and numbers

    Solved by doing this:


    Dim regex As New System.Text.RegularExpressions.Regex("(?<=title=\"")([^\""]+)")
    For Each match As System.Text.RegularExpressions.Match In regex.Matches(inputHTML)...
  16. Re: Parsing HTML for title/picture and numbers

    Alright, thanks. I'll look into it. :)

    David
  17. Re: Parsing HTML for title/picture and numbers

    Yes, and i will do that once i get the code correct :o)

    I've even emailed the guy letting him know.

    David
  18. Re: Parsing HTML for title/picture and numbers

    Umm.... im a user of it?

    David
  19. Parsing HTML for title/picture and numbers

    Hey all. i have a script running to collect a websites HTML and parse it enough to make the outcome look like this:


    <div class="title_box_art">


    <a href="/titles/164197"...
  20. keybd_event to Media Center in windows 7

    Hey all, i am trying to send a keybd_event function to a media center window using the code below:


    Private Const VK_DOWN = &H28
    Private Const KEYEVENTF_KEYUP = &H2

    theForm =...
  21. Replies
    2
    Views
    680

    Re: RS232c A/V Receiver help

    Well for some reason i got it to work finally. I guess i needed to turn the unit on first then control it there after.

    Thanks!
  22. Replies
    2
    Views
    680

    RS232c A/V Receiver help

    Hey all, i am trying to turn on a A/V Reciever with a RS232 command using the VB6 comm32. To turn it on it says to use:


    Command code | Parameter code | CR | Code set example
    PW |...
  23. Findwindow/FindwindowEX on VMWare program in VB6

    Hey all, i am trying to grab some text input from notepad thats within a VMWare virtual machine running Windows 7. I can get a handle of the VMWare form but nothing within it (the windows 7 OS...
  24. Replies
    0
    Views
    452

    findwindow/findwindex label

    Hey all, i am trying to figure out how to go about finding this window's label when the control name is the same as all the other labels on the program.


    WindowsForms10.STATIC.app.0.378734a...
  25. AVRdude encrypt/decryption HEX file on the fly in VB

    Hey all i am looking to decrypt my HEX code file for an ATTiny chip and programming it using the AVRDude command line interface. Problem being, i do not want the user to be able to see what the HEX...
Results 1 to 25 of 63
Page 1 of 3 1 2 3



HTML5 Development Center

Click Here to Expand Forum to Full Width