Click here to Skip to main content
15,890,973 members
Home / Discussions / C#
   

C#

 
Questionconvert html to pdf Pin
omer erakman14-Aug-07 1:23
omer erakman14-Aug-07 1:23 
AnswerRe: convert html to pdf Pin
Hessam Jalali14-Aug-07 2:50
Hessam Jalali14-Aug-07 2:50 
AnswerRe: convert html to pdf Pin
Vasudevan Deepak Kumar14-Aug-07 4:10
Vasudevan Deepak Kumar14-Aug-07 4:10 
GeneralRe: convert html to pdf Pin
omer erakman14-Aug-07 4:20
omer erakman14-Aug-07 4:20 
QuestionProblem with negative number Pin
K. Ahlers14-Aug-07 1:19
K. Ahlers14-Aug-07 1:19 
AnswerRe: Problem with negative number Pin
plastio14-Aug-07 1:37
plastio14-Aug-07 1:37 
GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 1:40
K. Ahlers14-Aug-07 1:40 
AnswerRe: Problem with negative number Pin
Luc Pattyn14-Aug-07 1:42
sitebuilderLuc Pattyn14-Aug-07 1:42 
Hi,

"parameter named count" refers to a method that has count in it's documentation
(actually its reflected parm list); it does not refer to one of your app's
variables named count. Yhere are many candidates including:

public int SerialPort.Read (
byte[] buffer,
int offset,
int count
)


some suggestions:

- look at the entire exception, that is use exception.ToString(), it will
show all available information including line numbers, message details, and
inner exceptions if any
- have Visual show line numbers (see my sig)
- put a try-catch and have it show all relevant variables when it catches this
or some other exception, including cmd, tmp, ...

and ideas:

- a 16-bit number counting seconds would overflow after 18.2 hours
- you might have a memory leak (or a disk full; logging?) resulting in a
systematic failure; if exceptions are not handled correctly, that might
result in just about any symptom

final comment:
if all the above dont help, show us all available info and some complete methods.


Smile | :)


Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 1:45
K. Ahlers14-Aug-07 1:45 
GeneralRe: Problem with negative number Pin
J4amieC14-Aug-07 3:24
J4amieC14-Aug-07 3:24 
GeneralRe: Problem with negative number Pin
Luc Pattyn14-Aug-07 6:06
sitebuilderLuc Pattyn14-Aug-07 6:06 
GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 10:57
K. Ahlers14-Aug-07 10:57 
GeneralRe: Problem with negative number Pin
Luc Pattyn14-Aug-07 13:31
sitebuilderLuc Pattyn14-Aug-07 13:31 
GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 23:14
K. Ahlers14-Aug-07 23:14 
GeneralRe: Problem with negative number Pin
Luc Pattyn15-Aug-07 2:43
sitebuilderLuc Pattyn15-Aug-07 2:43 
GeneralRe: Problem with negative number Pin
K. Ahlers15-Aug-07 3:29
K. Ahlers15-Aug-07 3:29 
GeneralRe: Problem with negative number Pin
Luc Pattyn15-Aug-07 3:57
sitebuilderLuc Pattyn15-Aug-07 3:57 
GeneralRe: Problem with negative number Pin
K. Ahlers17-Aug-07 0:35
K. Ahlers17-Aug-07 0:35 
GeneralRe: Problem with negative number Pin
Luc Pattyn17-Aug-07 5:43
sitebuilderLuc Pattyn17-Aug-07 5:43 
Question[C#] - How to print a file programmatically... Pin
aravinda77713-Aug-07 23:14
aravinda77713-Aug-07 23:14 
AnswerRe: [C#] - How to print a file programmatically... Pin
Giorgi Dalakishvili13-Aug-07 23:27
mentorGiorgi Dalakishvili13-Aug-07 23:27 
AnswerRe: [C#] - How to print a file programmatically... Pin
Hessam Jalali14-Aug-07 2:09
Hessam Jalali14-Aug-07 2:09 
GeneralRe: [C#] - How to print a file programmatically... Pin
Michael Sync14-Aug-07 21:43
Michael Sync14-Aug-07 21:43 
GeneralRe: [C#] - How to print a file programmatically... Pin
Green Goblin20-Aug-07 9:31
Green Goblin20-Aug-07 9:31 
Questionproblem in calling a dll file Pin
kandy_soliton13-Aug-07 22:47
kandy_soliton13-Aug-07 22:47 

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.