Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with System Tray Icons Pin
Mark Salsbery10-Jul-07 12:39
Mark Salsbery10-Jul-07 12:39 
AnswerRe: Problem with System Tray Icons Pin
jamestheprogrammer10-Jul-07 13:07
jamestheprogrammer10-Jul-07 13:07 
AnswerRe: Resource leaks Pin
David Crow10-Jul-07 8:06
David Crow10-Jul-07 8:06 
GeneralRe: Resource leaks Pin
tom groezer10-Jul-07 8:17
tom groezer10-Jul-07 8:17 
GeneralRe: Resource leaks Pin
Hamid_RT10-Jul-07 8:51
Hamid_RT10-Jul-07 8:51 
QuestionDeviceIoControl fails Pin
VC_RYK10-Jul-07 6:46
VC_RYK10-Jul-07 6:46 
AnswerRe: DeviceIoControl fails Pin
James R. Twine10-Jul-07 7:01
James R. Twine10-Jul-07 7:01 
QuestionAdding Pictures in Excel via Automation in VC++ Pin
priyankalakhe10-Jul-07 6:08
priyankalakhe10-Jul-07 6:08 
Hi I'm trying to add a picture in my excel automation code.All i need to do is ,say i have an image whose path is stored in a variable ,say strFileName, then i have to display this image in an excel sheet through my code.I tried doing something like this:

Pictures pict;
pict.Insert("c:\\tree.gif", covOptional);
pict.Select(covTrue);
pict.CopyPicture((long)1,(long)-4147);
range=sheet.GetRange(COleVariant("A1"),COleVariant("A1"));
range.Select();
sheet.Paste(covOptional,covFalse);

But,on running the application this would only display the above text in the column beginning from A1 upto A7. I dunno what to do.I looked at the the following website :

http://www.codeproject.com/com/ComExcelImages.asp

But this code was too complicated and i don't really need this level of complexity in my code.
Can someone help me??

Thanks a lot,
Priyanka
QuestionUnable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani10-Jul-07 5:46
Mushtaque Nizamani10-Jul-07 5:46 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
DevMentor.org10-Jul-07 6:06
DevMentor.org10-Jul-07 6:06 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani10-Jul-07 6:20
Mushtaque Nizamani10-Jul-07 6:20 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
David Crow10-Jul-07 7:03
David Crow10-Jul-07 7:03 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani10-Jul-07 20:29
Mushtaque Nizamani10-Jul-07 20:29 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mark Salsbery10-Jul-07 6:13
Mark Salsbery10-Jul-07 6:13 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
James R. Twine10-Jul-07 6:32
James R. Twine10-Jul-07 6:32 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
DevMentor.org11-Jul-07 12:33
DevMentor.org11-Jul-07 12:33 
AnswerRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Bram van Kampen11-Jul-07 15:28
Bram van Kampen11-Jul-07 15:28 
GeneralRe: Unable to execute MFC Application on a machine where that app hasn't been built(Strange) Pin
Mushtaque Nizamani11-Jul-07 19:35
Mushtaque Nizamani11-Jul-07 19:35 
QuestionWhat's the meaning of ^ in VS2005.NET Pin
Ming Luo10-Jul-07 5:30
Ming Luo10-Jul-07 5:30 
AnswerRe: What's the meaning of ^ in VS2005.NET Pin
Maximilien10-Jul-07 5:42
Maximilien10-Jul-07 5:42 
AnswerRe: What's the meaning of ^ in VS2005.NET Pin
Hamid_RT10-Jul-07 8:35
Hamid_RT10-Jul-07 8:35 
GeneralRe: What's the meaning of ^ in VS2005.NET Pin
Ming Luo10-Jul-07 9:07
Ming Luo10-Jul-07 9:07 
GeneralRe: What's the meaning of ^ in VS2005.NET Pin
Hamid_RT10-Jul-07 9:16
Hamid_RT10-Jul-07 9:16 
Questionintercepting WM_CHAR message Pin
Adno10-Jul-07 4:32
Adno10-Jul-07 4:32 
AnswerRe: intercepting WM_CHAR message Pin
Mark Salsbery10-Jul-07 6:21
Mark Salsbery10-Jul-07 6:21 

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.