![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I am facing a typical problem,in storing the application value. Here what i have done. I am using VC++ 6.0 I have created ComAddin ,in that i have created CommandButton on Inspector window. And in the Button event(click event) i am used to display a dialog box. Let us take ComAddin - class :CAddin Interface :IAddin For Dialog Box(which is derived from CAxDialogImpl) class -- CSample. i have created a Edit box and a Button on that Dialog. My Objective is when that dialog button click event occurs, the text which is edit have to append to the current mail(the mail is in HTML format). Actually this functionality is implemented in that CAddin with in a method take as "ADD_TEXT". in this ADD_Text method i used CComPtr Outlook::_Applicationm_application variable and Active_Inspector to get the current working Inspector windows. And useing this we can add the text at the end the mail text. this task has been completed. But when i call this method from CSample (dialog class) in button click event by creating instance for CAddn class,it does not works. When i researched for the cause. the application varianble(m_application) value becomes null ,when that method calls from this CSample method.? Here how can make it works, the CAddin method is called from button click event of Dialog blass -- Regards, RamakoteswaraRao Koti |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I pass parameters to application invoked by Outlook rule? | Sergy Stouk | Outlook - Installation | 1 | March 20th 06 12:18 PM |
Microsoft Outlook problem | Jiff Cliff | Outlook - General Queries | 1 | March 5th 06 02:34 AM |
Outlook problem with Contacts | Rocketdoc | Outlook - General Queries | 5 | March 3rd 06 10:26 PM |
Outlook.exe won't shut down when closing the application. | Ron S | Outlook - Installation | 1 | February 23rd 06 07:59 PM |
message..%1 is not a valid Win32 application? the file ext is | Quandary | Outlook - General Queries | 0 | January 25th 06 08:20 AM |