Click here to Skip to main content
15,914,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to close an aspx page from code behind? Pin
Raheem MA11-Aug-10 20:48
Raheem MA11-Aug-10 20:48 
GeneralRe: How to close an aspx page from code behind? Pin
Not Active12-Aug-10 2:21
mentorNot Active12-Aug-10 2:21 
AnswerRe: How to close an aspx page from code behind? Pin
tanweer11-Aug-10 23:26
tanweer11-Aug-10 23:26 
GeneralRe: How to close an aspx page from code behind? Pin
Raheem MA11-Aug-10 23:51
Raheem MA11-Aug-10 23:51 
QuestionScheduler implementation in ASP.Net Pin
Amit Patel198511-Aug-10 0:26
Amit Patel198511-Aug-10 0:26 
AnswerDayPilot Pin
David Mujica11-Aug-10 3:22
David Mujica11-Aug-10 3:22 
AnswerRe: Scheduler implementation in ASP.Net Pin
m@dhu11-Aug-10 18:47
m@dhu11-Aug-10 18:47 
Questionsliding or collapsible display Pin
Vinay Varghese10-Aug-10 22:21
Vinay Varghese10-Aug-10 22:21 
AnswerRe: sliding or collapsible display Pin
Sandeep Mewara10-Aug-10 22:27
mveSandeep Mewara10-Aug-10 22:27 
GeneralRe: sliding or collapsible display Pin
Vinay Varghese12-Aug-10 13:06
Vinay Varghese12-Aug-10 13:06 
QuestionSiteMapPath: Don’t show the root level in breadcrumb Pin
anderslundsgard10-Aug-10 19:30
anderslundsgard10-Aug-10 19:30 
AnswerRe: SiteMapPath: Don’t show the root level in breadcrumb Pin
Prosanta Kundu online10-Aug-10 20:48
Prosanta Kundu online10-Aug-10 20:48 
GeneralRe: SiteMapPath: Don’t show the root level in breadcrumb Pin
anderslundsgard11-Aug-10 18:51
anderslundsgard11-Aug-10 18:51 
Questionsome IEEE projects in ASP.NET Pin
ram_kesari10-Aug-10 17:28
ram_kesari10-Aug-10 17:28 
AnswerRe: some IEEE projects in ASP.NET Pin
Prosanta Kundu online10-Aug-10 18:13
Prosanta Kundu online10-Aug-10 18:13 
Question(DropDownList.DataSource == null) after postback Pin
Łukasz Nowakowski10-Aug-10 4:53
Łukasz Nowakowski10-Aug-10 4:53 
AnswerRe: (DropDownList.DataSource == null) after postback Pin
Sandeep Mewara10-Aug-10 6:05
mveSandeep Mewara10-Aug-10 6:05 
GeneralRe: (DropDownList.DataSource == null) after postback Pin
Łukasz Nowakowski10-Aug-10 8:10
Łukasz Nowakowski10-Aug-10 8:10 
QuestionExcel Error :( Pin
Mugdha_Aditya10-Aug-10 3:12
Mugdha_Aditya10-Aug-10 3:12 
GeneralRe: Excel Error :( Pin
Paladin200010-Aug-10 3:51
Paladin200010-Aug-10 3:51 
AnswerRe: Excel Error :( Pin
Prosanta Kundu online10-Aug-10 18:07
Prosanta Kundu online10-Aug-10 18:07 
QuestionMore than one programmer working on the EF4 model file Pin
Brendan Vogt10-Aug-10 2:48
Brendan Vogt10-Aug-10 2:48 
QuestionReplace ImagePlaceHolder1 in Word 2007 with the image selected in Combo box in C#.net Windows Application Pin
raghvendrapanda10-Aug-10 0:02
raghvendrapanda10-Aug-10 0:02 
AnswerRe: Replace ImagePlaceHolder1 in Word 2007 with the image selected in Combo box in C#.net Windows Application Pin
Prosanta Kundu online10-Aug-10 18:02
Prosanta Kundu online10-Aug-10 18:02 
GeneralRe: Replace ImagePlaceHolder1 in Word 2007 with the image selected in Combo box in C#.net Windows Application Pin
raghvendrapanda10-Aug-10 22:42
raghvendrapanda10-Aug-10 22:42 
Instead of place holder i placed 'Sign1' Text in Word 2007 with this i tried your code to replace it with image but iam getting System.Drawing.Bitmap in .pdf while saving instead i should .jpg image

Below is my code
object[] Parameters;
Parameters = new object[15];
Parameters[0] = "Sign1";
Parameters[1] = _missing;
Parameters[2] = _missing; ;
Parameters[3] = _missing; ;
Parameters[4] = _missing; ;
Parameters[5] = _missing;
Parameters[6] = _missing;
Parameters[7] = _missing;
Parameters[8] = _missing;
Parameters[9] = img;
Parameters[10] = _missing;
Parameters[11] = _missing;
Parameters[12] = _missing;
Parameters[13] = _missing;
Parameters[14] = _missing;
myfind.GetType().InvokeMember("Execute", BindingFlags.InvokeMethod, null, myfind, Parameters);

I am getting from img = GetSignPath();//method used to
Clipboard.SetDataObject(img);

i am getting img from below mentioned code inside GetSignPath();
MemoryStream ms = new MemoryStream((byte[])ds.Tables[0].Rows[0]["SignatureImage"]);
System.Drawing.Image img = System.Drawing.Image.FromStream(ms);

imgPath = "C:\\" + comboempname.Text + ".JPG".Trim();
img.Save(imgPath);
//return imgPath;
return img;


Any Help is Appreciated

Thanks,
Harish

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.