Click here to Skip to main content
15,915,513 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to convert my C# winform program to service program ? Pin
Hari Om Prakash Sharma24-Aug-11 7:15
Hari Om Prakash Sharma24-Aug-11 7:15 
AnswerRe: how to convert my C# winform program to service program ? Pin
#realJSOP24-Aug-11 8:01
professional#realJSOP24-Aug-11 8:01 
QuestionProblem in work with ocx file Pin
SajjadZare24-Aug-11 5:08
SajjadZare24-Aug-11 5:08 
AnswerRe: Problem in work with ocx file Pin
Rob Philpott24-Aug-11 5:17
Rob Philpott24-Aug-11 5:17 
GeneralRe: Problem in work with ocx file Pin
SajjadZare24-Aug-11 5:34
SajjadZare24-Aug-11 5:34 
GeneralRe: Problem in work with ocx file Pin
Rob Philpott24-Aug-11 6:00
Rob Philpott24-Aug-11 6:00 
AnswerRe: Problem in work with ocx file Pin
Nagy Vilmos24-Aug-11 5:18
professionalNagy Vilmos24-Aug-11 5:18 
QuestionModifying HTTP POST data Pin
Amit7Verma24-Aug-11 4:11
Amit7Verma24-Aug-11 4:11 
Hello friends,
I am Navigating to a page using InternetExplorer object,
and I am using BeforeNavigate() event handler. INside BeforeNavigate I want to add one more element in POST data,here here is my code :
protected void onBeforeNavigate(string URL, int Flags, string TargetFrameName, ref object PostData, string Headers, ref bool Processed)
{


if (PostData != null)
{
string addend = "&PageSize=200";
byte[] b = PostData as byte[];




string post = Encoding.ASCII.GetString(b);
Console.WriteLine(post.Trim() + addend);

post = post + addend;


b = Encoding.ASCII.GetBytes(post);
PostData = null;
PostData = b as object;

}
}

But this is not working Post data remains the same as it was before (without editing),Iverified it by HttpAnalyzer tool.
Please help me out.
Thanks.
Questionget log call via RS232c Pin
jojoba201124-Aug-11 3:46
jojoba201124-Aug-11 3:46 
AnswerRe: get log call via RS232c Pin
BobJanova24-Aug-11 5:08
BobJanova24-Aug-11 5:08 
QuestionXml validation. Please help. Pin
paper6724-Aug-11 3:35
paper6724-Aug-11 3:35 
AnswerRe: Xml validation. Please help. Pin
simplefolk25-Aug-11 4:03
simplefolk25-Aug-11 4:03 
QuestionHelp finding a mac address on a remote server? Pin
turbosupramk324-Aug-11 3:27
turbosupramk324-Aug-11 3:27 
AnswerRe: Help finding a mac address on a remote server? Pin
BobJanova24-Aug-11 5:06
BobJanova24-Aug-11 5:06 
GeneralRe: Help finding a mac address on a remote server? Pin
turbosupramk324-Aug-11 5:25
turbosupramk324-Aug-11 5:25 
GeneralRe: Help finding a mac address on a remote server? Pin
BobJanova24-Aug-11 5:44
BobJanova24-Aug-11 5:44 
AnswerRe: Help finding a mac address on a remote server? Pin
turbosupramk324-Aug-11 9:34
turbosupramk324-Aug-11 9:34 
Questionadd number Pin
imanaa24-Aug-11 3:16
imanaa24-Aug-11 3:16 
AnswerRe: add number Pin
Not Active24-Aug-11 3:24
mentorNot Active24-Aug-11 3:24 
AnswerRe: add number Pin
MicroVirus24-Aug-11 3:46
MicroVirus24-Aug-11 3:46 
JokeRe: add number Pin
Peter_in_278024-Aug-11 18:59
professionalPeter_in_278024-Aug-11 18:59 
AnswerRe: add number Pin
BobJanova24-Aug-11 4:16
BobJanova24-Aug-11 4:16 
AnswerRe: add number Pin
Luc Pattyn24-Aug-11 5:06
sitebuilderLuc Pattyn24-Aug-11 5:06 
Questionhow to simplify the loop? Pin
SRKSHOME23-Aug-11 23:15
SRKSHOME23-Aug-11 23:15 
AnswerRe: how to simplify the loop? Pin
Luc Pattyn24-Aug-11 0:14
sitebuilderLuc Pattyn24-Aug-11 0:14 

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.