Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
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 
QuestionProblem importing csv data in dataset with existing schema Pin
DFrag23-Mar-07 7:48
DFrag23-Mar-07 7:48 
AnswerRe: Problem importing csv data in dataset with existing schema Pin
Muammar©23-Mar-07 10:50
Muammar©23-Mar-07 10:50 
GeneralRe: Problem importing csv data in dataset with existing schema Pin
DFrag23-Mar-07 13:22
DFrag23-Mar-07 13:22 
GeneralRe: Problem importing csv data in dataset with existing schema Pin
Muammar©23-Mar-07 20:47
Muammar©23-Mar-07 20:47 
Questiondisplaying a baloon message from task bar Pin
Rocky#23-Mar-07 7:12
Rocky#23-Mar-07 7:12 
AnswerRe: displaying a baloon message from task bar Pin
Stefan Troschuetz23-Mar-07 10:43
Stefan Troschuetz23-Mar-07 10:43 
GeneralRe: displaying a baloon message from task bar Pin
Rocky#23-Mar-07 20:30
Rocky#23-Mar-07 20:30 
GeneralRe: displaying a baloon message from task bar Pin
Stefan Troschuetz23-Mar-07 23:11
Stefan Troschuetz23-Mar-07 23:11 
GeneralRe: displaying a baloon message from task bar Pin
Rocky#25-Mar-07 0:50
Rocky#25-Mar-07 0:50 
GeneralRe: displaying a baloon message from task bar Pin
Stefan Troschuetz25-Mar-07 1:52
Stefan Troschuetz25-Mar-07 1:52 
GeneralRe: displaying a baloon message from task bar Pin
Rocky#26-Mar-07 2:59
Rocky#26-Mar-07 2:59 
AnswerRe: displaying a baloon message from task bar Pin
Muammar©23-Mar-07 10:53
Muammar©23-Mar-07 10:53 
QuestionInserting a huge text file into oracle table Pin
Furi Goled23-Mar-07 6:57
Furi Goled23-Mar-07 6:57 
Questioncreate and write in to the file Pin
Nkuttynasi23-Mar-07 6:55
Nkuttynasi23-Mar-07 6:55 
AnswerRe: create and write in to the file Pin
Christian Graus23-Mar-07 7:04
protectorChristian Graus23-Mar-07 7:04 
GeneralRe: create and write in to the file Pin
Nkuttynasi26-Mar-07 3:06
Nkuttynasi26-Mar-07 3:06 

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.