Search:

Type: Posts; User: crummy

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,686

    Everything (I think) is in one file. Visual C#...

    Everything (I think) is in one file. Visual C# 2005 Express Edition Beta just seems to not put everything on one page.

    What do you mean by declaring the variables as static? Should I set the...
  2. Replies
    11
    Views
    1,701

    Check your firewalls - McAfee, Norton, Windows...

    Check your firewalls - McAfee, Norton, Windows Firewall too.
  3. Replies
    5
    Views
    1,686

    Sure thing. I'm pretty new to C#, so I'm not sure...

    Sure thing. I'm pretty new to C#, so I'm not sure how much of my code you want. Here's everything I think you need:
    #region Using directives

    using System;
    using System.Collections.Generic;...
  4. Replies
    5
    Views
    1,686

    Button not performing action

    OK, I have a button that when pushed, performs various tasks (gets info from an XML file on an http server actually.) Before it does that I want it to show some output (for example, "please wait,...
  5. Replies
    2
    Views
    1,947

    Quick, newbie question: Multiple line string

    Did a quick search for this but didn't seem to come up with anything relative. I'm sure there's some simple solution for this but I can't seem to find it, grr.

    How do I make this statement work...
  6. Thread: POSTing data

    by crummy
    Replies
    7
    Views
    6,886

    Thats what I suspected... but... well... it...

    Thats what I suspected... but... well... it works. I mean that part of my code does. WinHttpSendRequest accepts the code fine.

    :/
  7. Thread: POSTing data

    by crummy
    Replies
    7
    Views
    6,886

    OK, I think I've broken it down some more. ...

    OK, I think I've broken it down some more.

    Here's what I need to have in my WinHttpSendRequest statement (from the MSDN article ):
    pwszHeaders
    [in] A pointer to a string that contains the...
  8. Thread: POSTing data

    by crummy
    Replies
    7
    Views
    6,886

    Fuh. I blame LCC or something. Anyway, made a...

    Fuh. I blame LCC or something.

    Anyway, made a bit of progress.

    New code that gives correct lengths:
    // Length of UPnP request
    int PostLength = strlen(PostData);
    // Length of SOAP header...
  9. Thread: POSTing data

    by crummy
    Replies
    7
    Views
    6,886

    OK, I've moved on a bit now. Managed to iron out...

    OK, I've moved on a bit now. Managed to iron out most of the POST I think. Here's the code I've added at the start:
    // UPnP request to be sent via POST in XML format
    char *PostData =
    "<?xml...
  10. Thread: POSTing data

    by crummy
    Replies
    7
    Views
    6,886

    POSTing data

    Hi everyone. I'm slowly figuring out the ins and outs of C... at the moment I'm trying to create a small program that connects to a device via HTTP and sends some data via POST. I've managed to...
  11. Replies
    7
    Views
    5,527

    :( Same error code as before for the VBS file....

    :(

    Same error code as before for the VBS file.

    However, the new C code works fine. I can now get the XML document. Which, though I suspect may not be too useful, is, I think, a large step in...
  12. Replies
    7
    Views
    5,527

    Hehe, the first time I forgot to replace the...

    Hehe, the first time I forgot to replace the x.x.x.x's... but no, the address was right. Just forgot the port last time. Anyway, now I get this:

    Do I need to install the API?

    Here's the XML...
  13. Replies
    7
    Views
    5,527

    Hi there, thanks for replying! :) Didn't realise...

    Hi there, thanks for replying! :) Didn't realise anyone saw my thread, thought it got lost in the masses of threads you get here...

    That VB script errors. Line 4, char 1, error 0x80072EFD. Source...
  14. Replies
    7
    Views
    5,527

    Parsing HTML...or UPnP?

    Hi all. I'm trying to create a program that will allow me to view what a UPnP audio device is playing and (eventually) control that.

    I can see a full rundown of all the UPnP information in an XML...
  15. Replies
    3
    Views
    1,841

    Thanks so much, itsme86! I owe you!

    Thanks so much, itsme86! I owe you!
  16. Replies
    3
    Views
    1,841

    srand() not randomizing me?!

    Hi all. I decided to give C a go, and so I started to reproduce my very first QBASIC program - a simple guess the number game.
    Seemed to go pretty well, except I'm having troubles getting random...
Results 1 to 16 of 16