disable Excel AutoExec macro when opening via Access Automation
Wed, 14 May 2008 21:03:39 -0400
How can I disable the AutoExec macro within an Excel workbook, when I open
it via automation?
...
|
Detecting Outlook shutdown
Tue, 13 May 2008 11:52:01 -0700
Hi,
I am doing some simple stuff with Outlook interop and got cought in
something a bit silly. To get hold on the running outlook instance I use:
Marshal.GetActiveObject("Outlook.Application")
the problem is that sometimes that call returns a valid outlook instance but
that instance is in the process of ...
|
Extract Non-OLE attachments from OLE Files(Office Files)
Mon, 12 May 2008 10:40:40 -0700 (PDT)
Hi there,
I want to extract PDF, ZIP or any other file (non-ole) file embedded
inside OLE File such as (DOC,XLS or PPT). but i am unable to do so.
I have been using .NET and Office COM component.
I can extract OLE attachments but cant extract Non-OLE objects, the
only thing i can do is to activete them.
I cant ...
|
Excel 2007 c# saveas method error
Mon, 12 May 2008 11:47:30 +0200
Hi guy
I write this software but when i call saveas methos, the application present
an error.
In excel 2003 all process best works
the first problem in excel 2007 in Add() method.
Without using
System.Threading.Thread.CurrentThread.CurrentCulture =
System.Globalization.CultureInfo.CreateSpecificCulture ...
|
Excel Late Binding with C#
Fri, 9 May 2008 13:31:01 -0700
Hi,
I've been having a real hard time converting some VB.NET Excel Automation
code (that works) to C#. I get the app running and can open an existing
spreadsheet but then when trying to get the Workbook reference (and then
hopefully the sheet) I get this error:
Unknown name. (Exception from HRESULT: 0x800200 ...
|
Fail to access Interop.VBProject
Fri, 9 May 2008 11:41:01 -0700
I wanted to remove a VBA Form in a Word template via VB programming. The
following is the code. I have set the Word property of "Trust Access from
Visual Basic Project", but it seems that the VBProject object I got is
somehow invalid. Thanks in advance for any help!
Dim wordApp As Microsoft.Office.I ...
|
Word, Excel automation
Thu, 8 May 2008 09:34:06 -0700
I am developing a COM framer component and am having trouble with Excel
automation. I can load and display a sheet loaded from a storage but cannot
get 'Find' to work.
For both Word and Excel, the code begins with
-- open my app file coNtaining storage
-- get clsid from CLSIDFromProgID("Word.Document" or " ...
|
|
|
Outlook.Application.CreateItem returns 0x84130003 The operation fa
Wed, 7 May 2008 13:16:05 -0700
In a Citrix environment Win 2003 Office 2003 some of our users experience
this error when our .Net application tries to use the Outlook Automation
objects.
Outlook.Application outlookApp = new Outlook.Application ();
Outlook.MailItem message =
(Outlook.MailItem)outlookApp.CreateItem(Outlook.OlItemType.olMa ...
|
Beginner Programmer needs help with Excel Automation for MFC
Tue, 6 May 2008 18:10:13 -0700
I have been stuck all day and need help. I have an MFC application that I
would like to print results to MS Excel. I have followed the MSDN help
procedures and do not know how to even use CApplication. I have added all
possible classes from the excel library from the MFC Add Class Wizard. I
have writen t ...
|
Using OLE with Word as Editor
Tue, 6 May 2008 14:26:01 -0700
I've been trying to get Word "embedded" into my application to make it the
default editor for my users, but I've been having a lot of trouble making it
behave when Word is running at the same time as my application (e.g. toolbars
don't always merge, edit area sometimes loses focus, etc.).
Outlook seems to u ...
|