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...
Type: Posts; User: crummy
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...
Check your firewalls - McAfee, Norton, Windows Firewall too.
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;...
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,...
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...
Thats what I suspected... but... well... it works. I mean that part of my code does. WinHttpSendRequest accepts the code fine.
:/
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...
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...
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...
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...
:(
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...
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...
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...
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...
Thanks so much, itsme86! I owe you!
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...