-
- 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.
-
- how to remove 1-pixel border from around user control in Excel 2003 action pane?
by Shaun Logan
- 2 Replies
- Last post
by Scoober
- My environment: VSTO 2005, C#, Win XP SP2, Excel 2003 11.8134.8132 SP2.
I have an Excel VSTO document-level solution that adds a UserControl ("AuthoringPane") to ThisWorkbook.ActionsPane. My issue is that I cannot remove the 1-pixel border that is showing up around the perimeter of the usercontrol. My UserControl (AuthoringPane) has BorderStyle=None, and using Spy++ as well as some e
-
- Sudden problem with VSTO
by Dino498823
- 2 Replies
- Last post
by Dino
- Hi,
I've just encountered a problem on both of my dev machines.
I've been developing an Outlook Addin for a couple of years with VSTO.
Every so often, it will just complain that the PIA for Office are not installed in the GAC, so I re-install them and it's happy again. Today, both my machines are giving the same error, but the old trick of just re-installing the PIA is not wor
-
- Loading Ribbon at Run-time
by Kostadin Georgiev
- 1 Replies
- Last post
by Cindy Meister
- Hello,
I am developing a custom ribbon for my Office 2007 Add-in. I need to load
the ribbon after my Add-in starts because the user will specify some options
and the ribbon will looks as specified in these options. Is there any way to
do that
One way to achieve that is to change the ribbon.xml run-time and after that
tell the Ribbon to read the xml again.
-
- EventTracker For Outlook Folders
by Raghu Bagadhi
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
-
- Is this possible with VSTO and VS 2005??
by Neal Hudson
- 6 Replies
- Last post
by John R. Durant - MSFT
- Hi
The problem I am facing is to take a Word Document, insert a new 1st page (which will be another Word Document with a single page), and save the new version as a PDF.
I have found a solution using VS 2005 and Office automation, by programmatically opening Word 2007, using the Range.InsertFile method to insert the new document, and then using the new WdSaveFormat.wdFormatPDF to save as a P
-
- How to provided security to my Excel VBA Project
by Oruganti
- 6 Replies
- Last post
by ajliaks
- Hi
I'm creating a Excel Document using office introp. And also I have added few of macros while automation with C#.
How can i provided security to my Excel VBA Project.
Like --> Lock Project for Viewing. And Password
With C#
Thanks in advance
-
- VSTO SE and WIX
by Nitstheone
- 4 Replies
- Last post
by lynnbt
- Hi all,
I am building an excel plugin and I have managed to creates a setup for it using VS2005 setup project (thanks for msdn forum), however, it is does not give me full control over the installation process. So now I want to use WIX to build my addin setup.
Has anyone built an addin setup using wix before
Thanks,
Nitin
-
- Projects Dont ask for start up document
by Boadil
- 3 Replies
- Last post
by Cindy Meister
- Hi all.
Im newbie working with vsto.
I have windows vista installed, VS2005 with corresponding service pack, office 2003 profesional SP1/SP2, office web components, and VSTO 2005 second edition.
I have plenty of books about the subject and all of them shows when creating a VSTO project a dialog box asking for a document name, that dialog does not appears to me, so in my project window
-
- Convert word doc to pdf
by mrleokarthik
- 14 Replies
- Last post
by imatworknow
- Hi,
I need to convert word document to pdf file using C#.2
Iam having
MS visual studio 2005 professional (and also MS VS.2003 enterprise ed)
MS Office 2007
I have downloaded SaveAsPDFandXPS (used to convert doc to pdf)
Microsoft Visual Studio 2005 Tools for Office Second Edition Runtime (VSTO 2005 SE)
My question is
Do i need "MS visual studio 2005 for o
-
- Problems with Outlook navigator pane (User Controls)
by Pablo Pelaez
- 4 Replies
- Last post
by Sue Mosher - Outlook MVP
- We are having some compatibility troubles where registering User Controls as Web Views in Office 2007.
In Office 2003, if we assign to the WebViewUrl of an Outlook.MapiFolder an HTML file similar to:
<html><body rightmargin = '0' leftmargin ='0' topmargin ='0' bottommargin = '0' onload='OnBodyLoad()'>
<script>
function OnBodyLoad()
-
- Unable to debug the code of VSTO
by Basharat shah
- 1 Replies
- Last post
by Robert Green
- Hi I have configure the code of VSTO but i am unable to debug the code. If I run the application then it execute the outlook perfectly but not catch the event and no code execute against the different events. Can some body help me in this regards. Thanks Basharat Masood
-
- Interop.Excel, ERROR: "your Data is DELIMITED" Choose File Type
by R2D2RABEAU
- 2 Replies
- Last post
by R2D2RABEAU
- Hi all, I have an application that manipulates excel files without any problem. The problem is for a certain folder where files are giving me an error: When I check those files Excel ask me to choose the file that best describes my data as the Text Wizard has determined that my data is delimited.... How can I modify my C# Net 2.0 M (COM Excel 11.0) program to bypass this error I am surprised becau
-
- Fuzzy text in a label control
by Arthlan
- 6 Replies
- Last post
by Arthlan
- Hi,
I've added some controls to the top of a sheet in an Excel file. The problem I'm having is that the text on, say a label, is blurry or fuzzy. It almost looks like when smoothing is being applied but actually makes it worse. I've tried various fonts and sizes and that doesn't matter. The rest of the text on the sheet looks fine. Has anyone seen this before, and hopefully knows what's happeni
-
- SaveAs error excel overload
by Yorick85542165
- 3 Replies
- Last post
by Cindy Meister
- I am trying to save a excel worksheet with the code below m_objBook.SaveAs("C:\\ExcelDataBook1.xls", m_objOpt, m_objOpt, m_objOpt, m_objOpt, m_objOpt, Excel.XlSaveAsAccessMode.xlNoChange, m_objOpt, m_objOpt, m_objOpt, m_objBook); m_objBook.Close(false, m_objOpt, m_objOpt); m_objExcel.Quit(); but I recieve an error under .Saveas despit
-
- Is there a way to communicate between Word Document Addin & Word COM Addin in VSTO?
by vitich
- 5 Replies
- Last post
by Cindy Meister
- I have Word Document Addin in VSTO 2005, but I need to add some items to MS Word menu. I'm going to use Word COM Addin to add menu items, but it's going to be separate app. I'm not sure how can I notify Word Document Addin when state changed in COM Addin. What is the best way to do that Does Word provide any functionality to solve this problem
-
- "Opening" or "instantiating" VSTO Word document from another application
by Christian Sparre
- 1 Replies
- Last post
by Cindy Meister
- So, I have created this simple Word document project with some Bookmarks, that I want, at a later point, to fill out with som external data. But how do I access the "document" from another application, I have added the dll as a reference to the project, but how am I able to call eg. the DoSomething() method in the ThisDocument.cs file In the end I want to be able to pass a DataSet to th
-
- Urgent- VSTO word template project :- Loading Action Pane when opening a saved word document
by sidharth
- 8 Replies
- Last post
by sidharth
- i have a word template project in VSTO where there are 10 templates with bookmark controls and an Actionspane.
when i run the solution and save the document in the bin folder, i can open the document with the actionspane also loading.
when i save the document in some other loc ation the action pane is not loaded and an error comes " customisation assembly not found" .
-
- Word 2007 DocumentOpen event is not triggered with document containing macro
by dophu
- 4 Replies
- Last post
by dophu
- Hello, I'm working on an add-in that subscribes to the events in Word. The add-in is supposed to run in both Word 2003 and 2007. I have a problem with DocumentOpen event in Word 2007. When user opens a document containing macro in Word 2007, the DocumentOpen event is not triggered. Other events, such as DocumentBeforeSave or DocumentClose, are triggered however. There is a message appeared in Word
-
- Outlook add-in to mod existing dialogs?
by icelava
- 3 Replies
- Last post
by Sue Mosher - Outlook MVP
- I was toying with the idea of writing an add-in to enhance the existing AutoArchive feature set of Outlook (disappointed to note that 2007 has not improved).
Only had light brushes with Office development, and none in Outlook, so I have been looking around to see if the existing API can even support what I want to do:
1. are AutoArchive properties even exposed The Folder class does n
-
- Change event of Commandbar ComboBox is not occurred.
by John CHLee
- 13 Replies
- Last post
by Cindy Meister
- Dear.
The following code is that add new combobox commandbar in Word.
The change event is occured once the word program launched the first time. After this, the user open another word document, the change event is not occured.
However other button control(CommandBarButton) click event is occured in all of documents.
I don;t know the reason why the combobox change event is not o
-
- get foldername from outlook to vb.net
by Mario vde
- 2 Replies
- Last post
by Sue Mosher - Outlook MVP
- does anyone know how you can retrieve the foldername of an item using Dim deleteItem = myOlApp.Session.GetItemFromID(dsCalendar.Tables(0).Rows(curRow).Item(5).ToString()) for example....(the dsCalender.... is an databaserow with an entryID)
thanks!
-
- Office 2007 Add-in permission problem
by andriscs
- 14 Replies
- Last post
by mikeaerni
- Hi, I've written an Outlook 2007 Add-in with VS2005. When I used VS to deploy the add-in, everything was fine. Now I tried to deploy the add-in on a machine where no visual studio is installed. I're read this and I placed the dll file to a folder and got through the granting wizard of .Net 2.0 configuration. But when I tried to add my VSTO add-in via COM add-in browser, I got this message: <mya
-
- Sitting in the Outbox
by dweeks
- 3 Replies
- Last post
by Adamus Turner
- I am writing VSTO for Outlook 2007. This is my trouble-code:
Private Sub Application_ItemSend(ByVal Item As Object, ByRef Cancel As Boolean) Handles Application.ItemSend If TypeOf (Item) Is MailItem Then 'call the sub that processes mail messages ElseIf TypeOf (Item) Is MeetingItem Then SyncMe(Item)
End If
End Sub
Private Sub SyncMe(ByVal Item
-
- How to merge 2 Word docs, and also 2 Powerpoint presentations?
by Neal Hudson
- 8 Replies
- Last post
by Cindy Meister
- Hi,
Not sure how to go about doing this one:
I've got 2 word documents that I want to merge into 1 document programmatically, using .NET - any thoughts
I also need to do the same for 2 Powerpoint presentations
Thanks