Click here to Skip to main content
15,885,366 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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
Questionhex string to sql and to website Pin
meenu s9-Aug-10 12:32
meenu s9-Aug-10 12:32 
QuestionQuestion about saving an image to SQL database Pin
Aptiva Dave9-Aug-10 10:09
Aptiva Dave9-Aug-10 10:09 
AnswerRe: Question about saving an image to SQL database Pin
NeverHeardOfMe9-Aug-10 10:32
NeverHeardOfMe9-Aug-10 10:32 
GeneralRe: Question about saving an image to SQL database Pin
InderK10-Aug-10 1:29
InderK10-Aug-10 1:29 
QuestionThread from code behind aspx Pin
devvvy9-Aug-10 2:34
devvvy9-Aug-10 2:34 
AnswerRe: Thread from code behind aspx Pin
Prosanta Kundu online9-Aug-10 2:52
Prosanta Kundu online9-Aug-10 2:52 
AnswerRe: Thread from code behind aspx Pin
NeverHeardOfMe9-Aug-10 3:27
NeverHeardOfMe9-Aug-10 3:27 
QuestionNeed example code for making an universal table editor... Pin
Hrizip8-Aug-10 21:14
Hrizip8-Aug-10 21:14 
AnswerRe: Need example code for making an universal table editor... Pin
R. Giskard Reventlov8-Aug-10 21:48
R. Giskard Reventlov8-Aug-10 21:48 
GeneralRe: Need example code for making an universal table editor... Pin
Hrizip9-Aug-10 1:41
Hrizip9-Aug-10 1:41 
Questionsum of work hours in rdlc Pin
Thanusree Duth8-Aug-10 19:14
Thanusree Duth8-Aug-10 19:14 
AnswerRe: sum of work hours in rdlc Pin
Tej Aj9-Aug-10 23:54
Tej Aj9-Aug-10 23:54 
QuestionPOP Up control Extender validation Pin
Amit Patel19858-Aug-10 19:01
Amit Patel19858-Aug-10 19:01 
AnswerRe: POP Up control Extender validation Pin
T M Gray9-Aug-10 11:17
T M Gray9-Aug-10 11:17 
GeneralRe: POP Up control Extender validation Pin
Amit Patel19859-Aug-10 19:42
Amit Patel19859-Aug-10 19:42 
GeneralRe: POP Up control Extender validation Pin
Mugdha_Aditya10-Aug-10 3:17
Mugdha_Aditya10-Aug-10 3:17 
GeneralRe: POP Up control Extender validation Pin
Mugdha_Aditya10-Aug-10 3:18
Mugdha_Aditya10-Aug-10 3:18 

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.