Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: windows application Pin
Baeltazor10-Jun-09 0:08
Baeltazor10-Jun-09 0:08 
AnswerRe: windows application Pin
saurabh sahay10-Jun-09 4:55
saurabh sahay10-Jun-09 4:55 
Questionwhat is the solution for this : error CS0246: The type or namespace name 'abc' could not be found (are you missing a using directive or an assembly reference?) Pin
puppya9-Jun-09 20:30
puppya9-Jun-09 20:30 
AnswerRe: what is the solution for this : error CS0246: The type or namespace name 'abc' could not be found (are you missing a using directive or an assembly reference?) PinPopular
Christian Graus9-Jun-09 20:36
protectorChristian Graus9-Jun-09 20:36 
GeneralRe: what is the solution for this : error CS0246: The type or namespace name 'abc' could not be found (are you missing a using directive or an assembly reference?) Pin
EliottA10-Jun-09 2:49
EliottA10-Jun-09 2:49 
GeneralRe: what is the solution for this : error CS0246: The type or namespace name 'abc' could not be found (are you missing a using directive or an assembly reference?) Pin
Alan Balkany10-Jun-09 3:52
Alan Balkany10-Jun-09 3:52 
AnswerRe: what is the solution for this : error CS0246: The type or namespace name 'abc' could not be found (are you missing a using directive or an assembly reference?) Pin
vjeshwar24-Apr-10 23:23
vjeshwar24-Apr-10 23:23 
QuestionOutlook Attachments differs from original files Pin
Daniel P9-Jun-09 20:21
Daniel P9-Jun-09 20:21 
Hi there,

I wrote an add-in for outlook 2003 and am saving files from Outlook in a way that is provided in many examples:

Microsoft.Office.Interop.Outlook.Selection SelectedEmails = this.Application.ActiveExplorer().Selection;
            Microsoft.Office.Interop.Outlook.MailItem EMail = null;
            if (SelectedEmails.Count == 0)
            {
                MessageBox.Show("Please select e-mail for submission", "3Hats Add-In", MessageBoxButtons.OK);
                return;
            }
            else if (SelectedEmails.Count > 1)
            {
                MessageBox.Show("Please select only one e-mail for submission", "3Hats Add-In", MessageBoxButtons.OK);
                return;
            }

            try
            {
                // Apparently Office is VB oriented, so all indicies start from 1, not 0
                EMail = (Microsoft.Office.Interop.Outlook.MailItem)SelectedEmails[1];
                // Save attachments into temporary folder (Docs & Settings\Temp)
                foreach (Microsoft.Office.Interop.Outlook.Attachment Attachment in EMail.Attachments)
                {
                    Attachment.SaveAsFile(System.IO.Path.GetTempPath() + "\\" + Attachment.FileName);

                }


After saving, I figure out that file size is different by at least 0x1200 bytes if sent from within the Outlook 2003 to an e-mail. After examining it, it appears that a few bytes in header of the file are changed, and a huge chunk is attached to the end of the file. Can anyone tell me how I can retrieve original file from within Outlook 2003?

Thank you.

"Do not try. Do"

QuestionFind Table in DB Pin
rht869-Jun-09 20:16
rht869-Jun-09 20:16 
AnswerRe: Find Table in DB Pin
Christian Graus9-Jun-09 20:28
protectorChristian Graus9-Jun-09 20:28 
AnswerRe: Find Table in DB Pin
Blue_Boy9-Jun-09 21:04
Blue_Boy9-Jun-09 21:04 
AnswerRe: Find Table in DB Pin
saurabh sahay10-Jun-09 4:14
saurabh sahay10-Jun-09 4:14 
AnswerRe: Find Table in DB Pin
saurabh sahay10-Jun-09 4:21
saurabh sahay10-Jun-09 4:21 
Questionhow can I get document name if I know HWND Pin
Member 26841029-Jun-09 20:10
Member 26841029-Jun-09 20:10 
AnswerRe: how can I get document name if I know HWND Pin
Christian Graus9-Jun-09 20:26
protectorChristian Graus9-Jun-09 20:26 
GeneralRe: how can I get document name if I know HWND Pin
Member 26841029-Jun-09 21:03
Member 26841029-Jun-09 21:03 
GeneralRe: how can I get document name if I know HWND Pin
Christian Graus9-Jun-09 21:13
protectorChristian Graus9-Jun-09 21:13 
GeneralRe: how can I get document name if I know HWND Pin
Member 26841029-Jun-09 21:28
Member 26841029-Jun-09 21:28 
GeneralRe: how can I get document name if I know HWND Pin
Christian Graus9-Jun-09 21:40
protectorChristian Graus9-Jun-09 21:40 
GeneralRe: how can I get document name if I know HWND Pin
Member 26841029-Jun-09 22:03
Member 26841029-Jun-09 22:03 
GeneralRe: how can I get document name if I know HWND Pin
Dave Kreskowiak10-Jun-09 2:06
mveDave Kreskowiak10-Jun-09 2:06 
GeneralRe: how can I get document name if I know HWND Pin
Member 268410210-Jun-09 9:46
Member 268410210-Jun-09 9:46 
Questionactivex component can't create object on a small exe coded on vb dot net Pin
alonchap9-Jun-09 19:21
alonchap9-Jun-09 19:21 
AnswerRe: activex component can't create object on a small exe coded on vb dot net Pin
Christian Graus9-Jun-09 19:25
protectorChristian Graus9-Jun-09 19:25 
AnswerRe: activex component can't create object on a small exe coded on vb dot net Pin
saanj9-Jun-09 19:29
saanj9-Jun-09 19:29 

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.