Click here to Skip to main content
16,005,141 members
Home / Discussions / C#
   

C#

 
AnswerRe: Modeless Form Pin
Not Active15-Sep-06 6:31
mentorNot Active15-Sep-06 6:31 
GeneralRe: Modeless Form Pin
zaboboa15-Sep-06 6:37
zaboboa15-Sep-06 6:37 
GeneralRe: Modeless Form Pin
Not Active15-Sep-06 6:42
mentorNot Active15-Sep-06 6:42 
GeneralRe: Modeless Form Pin
zaboboa15-Sep-06 6:44
zaboboa15-Sep-06 6:44 
Question IE Extension: How to add a button to the status bar? Pin
rryyjw15-Sep-06 6:09
rryyjw15-Sep-06 6:09 
AnswerRe: IE Extension: How to add a button to the status bar? Pin
Judah Gabriel Himango15-Sep-06 6:48
sponsorJudah Gabriel Himango15-Sep-06 6:48 
GeneralRe: IE Extension: How to add a button to the status bar? Pin
Guffa15-Sep-06 15:57
Guffa15-Sep-06 15:57 
Questionstrange bug Pin
Parshant Verma15-Sep-06 6:06
Parshant Verma15-Sep-06 6:06 
Hi i am trying to extract data from a file in c#.For this i match string "From" in the file .
if matched found the offset is calculated.
problem is this that for two matched string offset in calculated accurately.But for further offset is not accurate
althogh matched is found but offset is comes less that the actual string position

i write the code here it might be possible that function is not suitable

uint pos=m_dwStartPosition+4;
int eof=SRfin.Read(MatchString,0,4);
while(eof!=0)
{
MatchedString=new string(MatchString);


if(MatchedString=="From")
{

//that is problem
MessageBox.Show((m_startposition+pos).ToString());


}
pos+=1;

eof=SRfin.Read(single,0,1);

for (int i=0;i<3;i++)
MatchString[i]=MatchString[i+1];

MatchString[3]=single[0];
}
}


Parshant
AnswerRe: strange bug Pin
Guffa15-Sep-06 7:14
Guffa15-Sep-06 7:14 
Questiongetting a NaN Pin
davidmakovoz15-Sep-06 6:02
davidmakovoz15-Sep-06 6:02 
AnswerRe: getting a NaN Pin
Guffa15-Sep-06 6:45
Guffa15-Sep-06 6:45 
GeneralRe: getting a NaN Pin
davidmakovoz15-Sep-06 7:09
davidmakovoz15-Sep-06 7:09 
AnswerRe: getting a NaN Pin
Guffa15-Sep-06 7:31
Guffa15-Sep-06 7:31 
QuestionTyped DataSets and "@Original_ID" Pin
eggsovereasy15-Sep-06 5:30
eggsovereasy15-Sep-06 5:30 
QuestionError in writing a file Pin
saqib8215-Sep-06 4:06
saqib8215-Sep-06 4:06 
AnswerRe: Error in writing a file Pin
Not Active15-Sep-06 4:20
mentorNot Active15-Sep-06 4:20 
AnswerRe: Error in writing a file Pin
saqib8215-Sep-06 4:28
saqib8215-Sep-06 4:28 
GeneralRe: Error in writing a file Pin
Rob Philpott15-Sep-06 4:41
Rob Philpott15-Sep-06 4:41 
GeneralRe: Error in writing a file Pin
saqib8215-Sep-06 4:46
saqib8215-Sep-06 4:46 
GeneralRe: Error in writing a file Pin
Rob Philpott15-Sep-06 4:56
Rob Philpott15-Sep-06 4:56 
GeneralRe: Error in writing a file Pin
Not Active15-Sep-06 5:53
mentorNot Active15-Sep-06 5:53 
GeneralRe: Error in writing a file Pin
saqib8215-Sep-06 8:23
saqib8215-Sep-06 8:23 
GeneralRe: Error in writing a file Pin
Not Active15-Sep-06 8:31
mentorNot Active15-Sep-06 8:31 
GeneralRe: Error in writing a file Pin
saqib8215-Sep-06 8:58
saqib8215-Sep-06 8:58 
GeneralRe: Error in writing a file Pin
Coding C#15-Sep-06 21:49
Coding C#15-Sep-06 21:49 

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.