-
- Com interop with Word
by Avi888
- 2 Replies
- Last post
by Cindy Meister
- Hi
I want to create an Addin for my Word 2003 application. The Addin is a button which will be added after the application is loaded.
I have tried to do it in my outlook and it was fine but for some reason that I don't know the button was not created in my Word.
More then that, I put a MessageBox in my OnStartupComplete methode and OnBeginShutdown method and in all my office applications
-
- How To COnvert .doc to .pdf,.xls,.doc without changing format....
by Ruchits
- 1 Replies
- Last post
by Cindy Meister
- How To Convert .doc files to .PDF,.XLS,.DOC,.ppt USING ASP.NET
plz tell me urgently bcaz i have no idea abt it...which library shoul i include plz any one of u have a code plz Suggest Me a way to do it...plz write ur COmments to Ruchits@hotmail.com
-
- How can I get the right-click menu in the outlook07?
by Peter.Zhao
- 4 Replies
- Last post
by Peter.Zhao
- Hi!
I want to replace the right-click menu(or append some menus to it) in the outlook07. In the outlook03 html editor, I can get the right-click menu by using name "Context Menu", in the Word some names can be used: "Table Text ", "Text" .etc
But I don't know the name of the right-click menu in the outlook07, at the same time the outlook07 launch a
-
- How to find out if Outlook mail is forwarded, replied?
by Toxter
- 8 Replies
- Last post
by Toxter
- Hello everyone,
I'm developing Outlook addin.
I'm trying to read some properties about MailItem.
However, I can't find out if MailItem is Replied and if is Forwarded .
If anyone knows how can this be read
Thanks.
-
- Cannot run or debug VSTO 2005 SE addin on Office 2003 when running Windows Vista
by stensby
- 9 Replies
- Last post
by stensby
- Configuration: Windows Vista Visual Studio 2005 VSTO 2005 SE Office 2003 Professional Problem: I've just upgraded from XP to Vista and after that even the simplest VSTO Outlook addin doesn't work any more. I can't debug the project and ThisApplication_Startup event not firing.
When I look at the addin i Outlook (COM Add-Ins/Add-Ins available) the Load Behavior is "Not loaded. A runtim
-
- Missing Object on Worbook-Properties
by volker.katz
- 3 Replies
- Last post
by volker.katz
- Hi, I've a problem using a workbook object in my Excel Add-In. On the WorkbookOpen event, I create an object which holds a reference to the opened workbook - I get this reference from the event-listener's argument. When I try to use this workbook later, I get an COMException with the HRESUT 0x800A01A8. As far as I've read, this means "Missing Object". This happens when I try to access
-
- Cannot create VSTO Word 2003 document or template - error library not registered
by Louise Boulton
- 6 Replies
- Last post
by Louise Boulton
- Hi everyone,
When I try to create a new VSTO project selecting either Word document or Word template from the Visual Studio installed templates choices, I am unable either to create a new document or to copy an existing document. In both cases I get this error message:
Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
I'd be grateful for any advice on
-
- current() function in Infopath 2007
by Somsong
- 1 Replies
- Last post
by Somsong
- I have two drop down lists in my infopath form. They are populated by different secondary data sources. The format of the data sources look like this:
DataSource 1: <Items> <Item ID="100" CategoryID="1" Value="String1"/> <Item ID="101" CategoryID="2" Value="String2"/> </It
-
- Redemption equivalent objects to Outlook
by mike950
- 14 Replies
- Last post
by mike950
- I'm trying to use the SafeMailItem as an alternative to the OutlookMailItem, but Subject, ReceivedTime and Delete don't seem to be available to the Redemption SafeMailItem. Can anybody help me out Any help would be really appreciated.
-
- SimpleCSharpST
by Andre Bretas
- 3 Replies
- Last post
by mjones309
- Hi. I would like why the MS Sample doesn't function properly in VS2005. The code is the same in VS2003 and was published in MSDN site. Steps: After solution compiled, I registered the new Smart Tag in windows registry and add directory to trust assembly using NET 2.0 caspol.exe. The Source Code can be download at MSDN Site. Thanks, Andre Bretas
-
- Save as htm - file remains locked problem. + another Question
by Picho451970
- 1 Replies
- Last post
by Misha Shneerson - MSFT
- Word application does not release the new generated htm file. reproduce: use automation, open an existing docx file, save as filteredHtml, save as doc again. both files are locked (at this point I need to manipulte the generated html file). b.t.w - if you do the same process but create a new docx file and not open an existing one it works fine. any ideas
another question:
is it possible to
-
- Ribbon not loading in new excel session
by Abhishek Chadha
- 8 Replies
- Last post
by Cindy Meister
- I want to launch excel from another window application. Following is the code
Excel.ApplicationClass xl = new Excel.ApplicationClass();
xl.Workbooks.Open(filename, 0, false, 5, "", "", false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "", true, false, true, false, Type.Missing, Type.Missing);
xl.Visible = true;
This works perfectly
-
- when i want to forward a MailItem, how can i use olRuleActionForwardAsAttachme?
by spacestar120
- 9 Replies
- Last post
by Sue Mosher - Outlook MVP
- When i want to forward a MailItem, i want to use ForwardAsAttachment, how can i use olRuleActionForwardAsAttachme
Any one know it
-
- Can't use my add in with word 2003
by belote
- 8 Replies
- Last post
by belote
- Hello
I've created a word add-in with vsto by selecting word 2003 add-in.
When I run it in debug in visual studio, it works.
So I run the setup, and that creates me a dll.
I open the template where I want the add-in runs
But in word, in tools -> Templates and Add-Ins, only *.wll files are accepted.
I've tried to rename the dll in wll, but it doesn't work.
-
- vs2005 office 2003 add-in develop
by swje
- 2 Replies
- Last post
by swje
- I'm a new user in vs2005 tools for office development.
I want todevelop a office2003 word add-in, it's functions should be:
1. A utomatically add customized footer/header when doc is to print.
2. Control the layout of paragraphs in a document: a paragraph are not allowed to
separate into two pages(must in the same page).
can anyone has some ideas or source for me.
Thanks fir
-
- HELP:Installing VSTO on Windows Vista with MS Office 2007 installed?
by db_cooper1950
- 2 Replies
- Last post
by db_cooper1950
- The subject says it all, I am trying to install my VSTO Original Edition, I have Visual Studio 2005 Std. Edition installed, and that is not where the problem lies. I received the following error message: Office 2003 SP1 is not present; and the only thing I can do is exit the install.
Then I had the bright idea to try VSTO 2nd Edition, but of course if you do not have VSTO installed, the minimu
-
- MS Project Add-in question
by Boitch
- 2 Replies
- Last post
by Boitch
- Hello people I have a question about the add-in for MSProject in .net C#. I have made a custom button which triggers if i click it. (the buttons becomes active when i start MSProject and is generated by the .net application). When I click the button a form appears. I want to add the resources that are custom made in the MSProject Project and get them into a combobox in the form that appears when
-
- How to set the outline of the word text? (with C#)
by mmpire
- 5 Replies
- Last post
by mmpire
- Now I want to set a sentence to be some class of outline, for example, set
"Test text"
to be
"2 Test text"
while there is number "1" before it already.
How can I do that I have select the paragraph near the cursor, but can not find the method to set its format, please help, thanks!
Word.Range rng1 = Application.Selection.Paragraphs[1].Range;
-
- VB.net Excel automation "activate is ambiguous" error.
by Santor
- 6 Replies
- Last post
by Andrew Whitechapel - MSFT
- In the attached code I am getting the following error at the oSheet.Activate() line. I am using VB.net 2002 Standard
'Activate' is ambiguous across the inherited interfaces 'Microsoft.Office.Interop.Execl._Worksheet' and 'Microsoft.Office.Interop.Excel.DocEvents_Event'.
I Googled and found some info but I could not get any of the solutions to work.
As you see found and tried the Mi
-
- Get outlook 2003 path
by YaelS
- 12 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi, I need to get into my C# com add-in code the user outlook directory.. (where save a new directory on a computer: File-->manage data files-->open folder) C:\Documents and Settings\Owner\Local Settings\Application Data\Microsoft\Outlook
there I want to open/create a txt file. So, How to get this path from vs.net 2003 Thank you!, Yael.
-
- Word 2007 - Excel 2007 - Smart Tag Access
by Josh Tucholski
- 7 Replies
- Last post
by Cindy Meister
- Is it possible to access and execute the smart tags of the active document when using Interop and VSTO calls Specifically we want to use the smart tag that shows up when pasting . We are pasting an object into Word 2007 (an Excel chart) and need to use the Smart Tag embed excel chart (entire workbook) to allow the document to remove its link to Excel (the document needs to move between multiple m
-
- VSTO Custom Task Panes
by Dave Wood
- 3 Replies
- Last post
by Gary Webb
- I have written an Application level addin for Word 2007 in C# using VSTO SE. I have a toggle button on my ribbon which displays a custom task pane. This all works fine.
I also have a VB6 application which creates Word documents, this application needs to tell my AddIn to display the custom task pane. So I exposed a method in my AddIn which creates the custom task pane. If I use the VB editor in
-
- Monitoring a shared mailbox
by AdrianMills1973
- 7 Replies
- Last post
by sairama
- Hi
We currently have a shared mail box which users email support request to. I am trying to write an Outlook Add-on in C# which alerts us when a new email arrives into the mailbox. I can get the MAPI folder required but how can I get the NewMailEx event to fire from this folder and not my default Inbox
Cheers
Ade
-
- Create Appointment Item Hidden From User
by Grant Carthew
- 4 Replies
- Last post
by Grant Carthew
- Hi,
I am making an Outlook Add-in for Office 2007 using VSTO 2005 SE. I am querying an SQL Server for Outlook Appointment Item details, and then creating the Appointment Items. When this process runs a typical user will end up creating anywhere from 10 to 100 Appointment Items.
This all works fine but at the moment it is visually disruptive due to the Appointment Item creation process show
-
- Reading an Excel range into Object(,) - 1 based?
by Arthlan
- 5 Replies
- Last post
by Dennis Wallentin
- Hi,
I've been using something I learned (probably here), but don't really understand what's going on.
I read ranges into a variable with the following:
Dim mValues As Object (,) = _ CType (Globals.Sheet1.Range(Cell(r1, c1), Cell(r2,c2)).Value, Object (,))
Where I use "Cell" to save typing: Private Shared Function Cell( ByVal Row As Integer , ByVal Column A