Click here to Skip to main content
15,921,210 members
Home / Discussions / C#
   

C#

 
GeneralRe: No overload for method take "0" arguments Pin
chitra4sat23-Mar-07 20:31
chitra4sat23-Mar-07 20:31 
GeneralRe: No overload for method take "0" arguments Pin
Stefan Troschuetz23-Mar-07 23:37
Stefan Troschuetz23-Mar-07 23:37 
Questionbranching and skip logic Pin
econner23-Mar-07 16:37
econner23-Mar-07 16:37 
AnswerRe: branching and skip logic Pin
Christian Graus23-Mar-07 16:58
protectorChristian Graus23-Mar-07 16:58 
AnswerRe: branching and skip logic Pin
Leslie Sanford23-Mar-07 17:50
Leslie Sanford23-Mar-07 17:50 
QuestionMDI in pocket pc Pin
mezo_2223-Mar-07 13:00
mezo_2223-Mar-07 13:00 
AnswerRe: MDI in pocket pc Pin
Dave Kreskowiak23-Mar-07 14:01
mveDave Kreskowiak23-Mar-07 14:01 
QuestionCan I have to PaintEventHandlers in my program Pin
laura131623-Mar-07 12:44
laura131623-Mar-07 12:44 
AnswerRe: Can I have to PaintEventHandlers in my program Pin
Guffa23-Mar-07 14:07
Guffa23-Mar-07 14:07 
Questionhow to get to the form close button Pin
mezo_2223-Mar-07 12:18
mezo_2223-Mar-07 12:18 
AnswerRe: how to get to the form close button Pin
Stefan Troschuetz23-Mar-07 12:30
Stefan Troschuetz23-Mar-07 12:30 
QuestionRe: how to get to the form close button Pin
mezo_2223-Mar-07 12:46
mezo_2223-Mar-07 12:46 
AnswerRe: how to get to the form close button Pin
Muammar©23-Mar-07 20:54
Muammar©23-Mar-07 20:54 
AnswerRe: how to get to the form close button Pin
Stefan Troschuetz23-Mar-07 23:17
Stefan Troschuetz23-Mar-07 23:17 
QuestionFindWindow returns 0 Pin
kozu23-Mar-07 10:40
kozu23-Mar-07 10:40 
AnswerRe: FindWindow returns 0 Pin
Dawid Mazuruk23-Mar-07 14:05
Dawid Mazuruk23-Mar-07 14:05 
QuestionRemoving Click Once files Pin
Himdog23-Mar-07 10:35
Himdog23-Mar-07 10:35 
AnswerRe: Removing Click Once files Pin
Christian Graus23-Mar-07 11:10
protectorChristian Graus23-Mar-07 11:10 
QuestionComparing lines Pin
CodeItWell23-Mar-07 10:27
CodeItWell23-Mar-07 10:27 
AnswerRe: Comparing lines Pin
Muammar©23-Mar-07 10:35
Muammar©23-Mar-07 10:35 
AnswerRe: Comparing lines Pin
Christian Graus23-Mar-07 10:47
protectorChristian Graus23-Mar-07 10:47 
QuestionFingerprint matching Pin
Nab Younus23-Mar-07 9:17
Nab Younus23-Mar-07 9:17 
AnswerRe: Fingerprint matching Pin
Muammar©23-Mar-07 10:46
Muammar©23-Mar-07 10:46 
QuestionStrange Behaviour from Web Service? Pin
Khoramdin23-Mar-07 8:38
Khoramdin23-Mar-07 8:38 
Hello everyone

I have a Windows Application which connects the user to a remote database. I created a Web Service to detect the use's IP address. Everything works fine. The strange problem appears when I try to send the detected user's IP address back to the Windows Application. For some reason when it comes to the point that I calculate the use IP Number, the XML doesn't like the number. This is the PHP code that is calculating the IP Number:

$IPnumb = ($ips[3]+$ips[2]*256+$ips[1]*256*256+$ips[0]*256*256*256);

I have played around with it and it appears that $ips[0]*256*25*256 creates a number bigger than the XML likes. Just for a test reason I changed that and managed to find out the threshold number is $ips[0]*256*25*170.

The actual number would be 192*256*256*170 = 2139095040.

The Error Message:

There is an error in XML document (1, 497).

I was wondering if anyone else has such an experince and if anyone knows what I can do to solve this problem? Maybe it is not the XML problem and it is rather a problem of my Windows Application developed in C#. On the Windows Application ends there isn't much to talk about except that the value from the Web Service is assigned to a variable (Int32).

Thank you very much and have a great day.

Khoramdin
AnswerRe: Strange Behaviour from Web Service? Pin
Christian Graus23-Mar-07 9:13
protectorChristian Graus23-Mar-07 9:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.