Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
QuestionHow i can pause/resume a thread in window form application ? Pin
Husnul karim30-Jun-15 20:59
Husnul karim30-Jun-15 20:59 
AnswerRe: How i can pause/resume a thread in window form application ? Pin
Pete O'Hanlon30-Jun-15 23:36
mvePete O'Hanlon30-Jun-15 23:36 
QuestionHow to check if pieces are ordered Pin
Aleksandar Jeftic30-Jun-15 11:22
Aleksandar Jeftic30-Jun-15 11:22 
GeneralRe: How to check if pieces are ordered Pin
PIEBALDconsult30-Jun-15 11:25
mvePIEBALDconsult30-Jun-15 11:25 
GeneralRe: How to check if pieces are ordered Pin
Aleksandar Jeftic2-Jul-15 4:50
Aleksandar Jeftic2-Jul-15 4:50 
AnswerRe: How to check if pieces are ordered Pin
Freak3030-Jun-15 21:20
Freak3030-Jun-15 21:20 
QuestionHotSpot Management via ICS in C# Pin
spaika30-Jun-15 4:31
spaika30-Jun-15 4:31 
QuestionInsert Image in excel with transperancy enabled Pin
Member 1179983729-Jun-15 23:56
Member 1179983729-Jun-15 23:56 
I have a image and i want that to be inserted in excel programmatically using c#. So i have written the below code.
string logoLocation = Server.MapPath("/images/logo.bmp");
WorkSheet.Shapes.AddPicture(logoLocation, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoCTrue, 1, 1, 200, 62);

But the problem is its getting inserted as it is

I want that to be inserted with the lines as transparent

But as per my understanding this can be achieved non programmatically with below steps
1. Select the image to modify.
2. Make sure the Format tab of the ribbon is displayed.
3. In the Adjust group click the Recolor tool or the Color tool (depending on your version of Excel). ...
4. Click Set Transparent Color.
I am unaware of doing the same using c# coding . Please help me in achieving this
AnswerRe: Insert Image in excel with transperancy enabled Pin
Richard Deeming30-Jun-15 1:02
mveRichard Deeming30-Jun-15 1:02 
QuestionRead/Write App Settings Not Working Pin
Kevin Marois29-Jun-15 9:16
professionalKevin Marois29-Jun-15 9:16 
AnswerRe: Read/Write App Settings Not Working Pin
Eddy Vluggen29-Jun-15 10:36
professionalEddy Vluggen29-Jun-15 10:36 
GeneralRe: Read/Write App Settings Not Working Pin
Kevin Marois29-Jun-15 11:23
professionalKevin Marois29-Jun-15 11:23 
QuestionRe: Read/Write App Settings Not Working Pin
Eddy Vluggen29-Jun-15 11:28
professionalEddy Vluggen29-Jun-15 11:28 
AnswerRe: Read/Write App Settings Not Working Pin
Kevin Marois29-Jun-15 12:00
professionalKevin Marois29-Jun-15 12:00 
GeneralRe: Read/Write App Settings Not Working Pin
Pete O'Hanlon29-Jun-15 19:42
mvePete O'Hanlon29-Jun-15 19:42 
GeneralRe: Read/Write App Settings Not Working Pin
Kevin Marois30-Jun-15 3:47
professionalKevin Marois30-Jun-15 3:47 
GeneralRe: Read/Write App Settings Not Working Pin
Dave Kreskowiak30-Jun-15 5:16
mveDave Kreskowiak30-Jun-15 5:16 
GeneralRe: Read/Write App Settings Not Working Pin
Kevin Marois30-Jun-15 5:21
professionalKevin Marois30-Jun-15 5:21 
GeneralRe: Read/Write App Settings Not Working Pin
Alex Casals30-Jun-15 13:35
professionalAlex Casals30-Jun-15 13:35 
GeneralRe: Read/Write App Settings Not Working Pin
Brisingr Aerowing1-Jul-15 7:34
professionalBrisingr Aerowing1-Jul-15 7:34 
Questionip chenger Pin
Member 1180057729-Jun-15 4:59
Member 1180057729-Jun-15 4:59 
QuestionRe: ip chenger Pin
Richard MacCutchan29-Jun-15 5:13
mveRichard MacCutchan29-Jun-15 5:13 
AnswerRe: ip chenger Pin
OriginalGriff29-Jun-15 5:25
mveOriginalGriff29-Jun-15 5:25 
AnswerRe: ip chenger Pin
Abhipal Singh29-Jun-15 7:18
professionalAbhipal Singh29-Jun-15 7:18 
QuestionHow i can pause/resume a thread in window form application. Pin
Husnul karim28-Jun-15 23:49
Husnul karim28-Jun-15 23: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.