Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
AnswerRe: passing parameters between two application Pin
dan!sh 11-May-09 19:36
professional dan!sh 11-May-09 19:36 
GeneralRe: passing parameters between two application Pin
imannasr8812-May-09 0:35
imannasr8812-May-09 0:35 
QuestionGet time zones in windows mobile Pin
vijaywithu11-May-09 19:08
vijaywithu11-May-09 19:08 
Questionhow to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 18:14
tofa11111-May-09 18:14 
AnswerRe: how to nudge a picture in excel sheet using c# Pin
dan!sh 11-May-09 18:22
professional dan!sh 11-May-09 18:22 
GeneralRe: how to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 18:28
tofa11111-May-09 18:28 
GeneralRe: how to nudge a picture in excel sheet using c# Pin
dan!sh 11-May-09 18:51
professional dan!sh 11-May-09 18:51 
AnswerRe: how to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 20:23
tofa11111-May-09 20:23 
Thank you d@nish for trying to help me,

finally I found the right solution, and I'm going to write it down for every one.


first we have to get the cells range (the code is written within a simple for loop):

object kui = Exl.Cells[i+1,4];

Microsoft.Office.Interop.Excel.Range mr = Exl.get_Range(kui, kui);


then write this lines of code:

mr.Cells.Worksheet.Shapes.Item(i + 1).IncrementLeft(7);
    
mr.Cells.Worksheet.Shapes.Item(i + 1).IncrementTop(23);


and to rotate the increment you just need to write the numbers within the brackets in negative like that

mr.Cells.Worksheet.Shapes.Item(i + 1).IncrementLeft(-7)


mohammed was a great prophet

QuestionRelated to mobile Pin
Ch.Gayatri Subudhi11-May-09 18:10
Ch.Gayatri Subudhi11-May-09 18:10 
AnswerRe: Related to mobile Pin
dan!sh 11-May-09 18:32
professional dan!sh 11-May-09 18:32 
AnswerRe: Related to mobile Pin
Dave Kreskowiak11-May-09 19:07
mveDave Kreskowiak11-May-09 19:07 
GeneralRe: Related to mobile Pin
Ch.Gayatri Subudhi11-May-09 19:15
Ch.Gayatri Subudhi11-May-09 19:15 
AnswerRe: Related to mobile Pin
Rajesh Anuhya11-May-09 19:26
professionalRajesh Anuhya11-May-09 19:26 
GeneralRe: Related to mobile Pin
Ch.Gayatri Subudhi11-May-09 19:37
Ch.Gayatri Subudhi11-May-09 19:37 
GeneralRe: Related to mobile Pin
King Julien11-May-09 20:00
King Julien11-May-09 20:00 
QuestionRun Thread step by step Pin
Abdul Rahman Hamidy11-May-09 18:07
Abdul Rahman Hamidy11-May-09 18:07 
AnswerRe: Run Thread step by step Pin
Dave Kreskowiak11-May-09 19:06
mveDave Kreskowiak11-May-09 19:06 
GeneralRe: Run Thread step by step Pin
Abdul Rahman Hamidy11-May-09 20:03
Abdul Rahman Hamidy11-May-09 20:03 
QuestionPass class of objects as parameter, possible? Pin
Wendell.S11-May-09 16:59
Wendell.S11-May-09 16:59 
AnswerRe: Pass class of objects as parameter, possible? Pin
N a v a n e e t h11-May-09 17:17
N a v a n e e t h11-May-09 17:17 
AnswerRe: Pass class of objects as parameter, possible? Pin
Mycroft Holmes11-May-09 18:00
professionalMycroft Holmes11-May-09 18:00 
AnswerRe: Pass class of objects as parameter, possible? Pin
john1990_115-May-09 13:54
john1990_115-May-09 13:54 
QuestionLarge Memory usage Pin
krishnan.s11-May-09 16:55
krishnan.s11-May-09 16:55 
AnswerRe: Large Memory usage Pin
Vikram A Punathambekar11-May-09 18:40
Vikram A Punathambekar11-May-09 18:40 
AnswerRe: Large Memory usage Pin
Dave Kreskowiak11-May-09 19:04
mveDave Kreskowiak11-May-09 19:04 

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.