-
- add-in doesn't load when launching using new excel.application
by Denis Pitcher
- 5 Replies
- Last post
by Denis BDA
- When launching excel via interop, I've noted that the addins don't appear to load.
Dim xlsApp As Microsoft.Office.Interop.Excel.Application
xlsApp = New Microsoft.Office.Interop.Excel.Application
xlsApp.Visible = True
Does anyone have any idea why and how to solve it Otherwise, I need to figure out how to load excel via System.Diagnositics.Process.Start() where I can pass it
-
- Need to get several return values from an Excel add-in function
by paulfriday
- 2 Replies
- Last post
by paulfriday
- I've been searching for a way to do the following (seemingly simple task) for about a week and a half, with lots of code written, but I can't find a solution anywhere:
I want to write an Excel add-in function in C++ (or C#, doesn't matter), that will 'return' values that update multiple cells in the spreadsheet. In other words, the function should have multiple parameters, some of which are
-
- Missing Office Node Under Project Types Tree in New Project Dialog Box
by Job Lot
- 7 Replies
- Last post
by Robert Green
- I am using VS2005 Pro Ed and have recently installed SV2005 Tools for Office System on my machine. I need to create an office project based on word document template, but when i create a new project i don't see Office node under Visual C3 or Visual Basic node. What am i missing here
Please help. Thanks
-
- Poor Performance of Smart Docs
by Shay Friedman
- 4 Replies
- Last post
by Shay Friedman
- Hi friends, I'm part of a development group that develops a large application using VSTO technology and Office 2003. I'm responsible for the integration into MS-Word (fun fun fun!). The application is quite finished but I run into some performace problems now... And they are quite strange... I have a timer that starts in the beginning of the ThisDocument_Startup event handler and ends at the end o
-
- How to terminate Outlook.exe after processing
by manjunath cv
- 2 Replies
- Last post
by Geoff Darst - MSFT
- I am doing a read and write operation on contact and calendar on outlook using c# but whenever all the operation is completed i am not able to close/release the outlook completely the Outlook.exe remains in the task manage r even after sync process is completed can anyone tell how to safely terminate/close the outlook completely after the sync process Thank you
-
- Moving files to multiple archive folders in Outlook 2003
by kdr_zb229
- 3 Replies
- Last post
by Saurabh Bhatia - MSFT
- I am currently using Outlook 2003 on Exchange Server. I am trying to come up with a script that will allow incoming mail to be moved to different archive folders based on who sent the E-mail. An example would be: if Jon sent me an E-mail it would automatically be placed in the "Jon Doe" folder and something from Ben would be put in the "Ben" folder. I have more folders than I c
-
- Trouble With AddOleControl
by Roman Benko
- 4 Replies
- Last post
by rbenko
- I am using VB.Net 2005, VSTO SE, and Word 2007. When I execute the following code, I get a "Type Mismatch" error when it tries to execute the second line. User Control1 is a user control I developed. The testControls project was built with "Register for COM interop" checked. Can someone explain the proper syntax Thanks.
Dim thisDoc As Microsoft.Office.Interop.Word.Docum
-
- PowerPoint VSTO and Optional params
by MikeHatfield
- 7 Replies
- Last post
by MikeHatfield
- I'm having real problems trying to do anything useful with the PowerPoint object model via the VSTO because all Optional parameters have been made mandatory. For example: Slides.InsertFromFile(string FileName, int Index, int SlideStart, int SlideEnd) The documentation states that the last two parameters are optional, however the VSTO has exposed them as int - thus making them mandatory. This rend
-
- Problems creating the install package
by NemanjaTheLost
- 14 Replies
- Last post
by jass_sim1583
- Hi, i've managed to create the add-in that i want and i can test it on my development machine and it works fine and integrates with other projects well and all is good with the world on that front.
however, when i try to build the setup project that visual studio creates for me the compiler tells me that the build has failed and gives me no errors descriptions for some reason. just says failed
-
- [Word] Runtime error on loading custom add-in
by Dennie-DeTi
- 7 Replies
- Last post
by Gus Hill
- Hello, I have a problem with loading my own add-in after I deployed the setup and installed the add-in. When I run the add-in directly out of visual studio it all works fine. However when I generate the setup.exe and use it to install the add-in it won't display in Word. When I go to the COM-addins dialog in Word I can see that it is indeed installed. When I click on it, i see the message: "N
-
- Outlook 2007
by boltnia
- 11 Replies
- Last post
by boltnia
- Hi to all! I'm interested in some question about Outlook 2007. The fact is outlook can receive and send messages in .eml-format. So, application can works with it. But if I try to open manually local file *.eml - error is generated. Can I write code to open file in .eml format Thanks.
-
- Focus and Custom Task Panes?
by Savraj
- 6 Replies
- Last post
by Savraj
- Last Question for a while! I have a Custom Task Pane that contains Windows Forms Controls. I noticed that, when the Task Pane is not docked, it takes two distinct clicks on a button to get it to fire--the first click puts focus in the Task Pane, and the Second Click actually fires the button. I want the first click to fire the button. Has anyone else seen this issue Thanks again in advance! -Sav
-
- Document customizations created for Office 2003 r not working with 2007 documents.
by mahavir patil
- 5 Replies
- Last post
by Douglas H. Troy
- Hi all and Cindy( if i reach you),
I have done a project with VSTO 2005( not SE), on machine where i have office 2003 installed. Then i tried to associate that customization with office 2007 word documwent programatically by usig ServerDocument object and its AddCustomization method.
Noe the code is running properly without any errors and exceptions, but nothing is happenig with the docu
-
- Excel, PowerPoint Option Window
by jaz
- 2 Replies
- Last post
by jaz
- Hi, I am customizing my ribbon UI using VSTO. In that I want to display the corresponding office application's Option window... In the Office Control Id list i didn't find any matching control for Excel and PowerPoint. . For word I can achieve it as <button idMso="ProofingOptions" label="Word Options"/> But in this also The window is displayed as The proofing option sele
-
- Outlook add-in compatibility
by Steve Loper
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Can anyone point me to any documentation that shows the compatibility of add-ins written for different versions of Outlook I am working on a project where the goal is to have one or more add-ins that work with Outlook 97-2007, and I'm not sure what technology to use.
Thanks,
Steve
-
- Excel Automation with OLEDB
by Brutes2
- 2 Replies
- Last post
by Dennis Wallentin
- Hi,
I have a verry irretating problem:
I need data from an Excel spreadsheet.
The answer is simple: Use an OLEDB connection and query the spreadsheet like a database.
Excelent, but the spreadsheet is password protected and OLEDB can¡¯t access it.
So use Automation to open the sheet. Once Excel decripts the spreadsheet, OLEDB can once
again read the file.
Now
-
- positioning in VSTO is non-intuitive !
by mathmax
- 4 Replies
- Last post
by mathmax
- Hello,
The only way I know to position a control in a word document is to add it into a Range or to move the range that contains it... in any case, we must manipulate Range object.
I find this approach quite difficult for several reasons :
- selection of range is quite difficult : no way to define an Id for each of them. Given a usercontrol, I've undestood that the only way to get the
-
- set document path in word saveas dialog
by Speedtriple
- 3 Replies
- Last post
by Cindy Meister
- Hi all,
I hope someone can help me. I'm programming in Visual basic.
In my word template project I would like to preset the document path (preferably to a sharepoint document library) and the document name in the built-in word dialog when the user presses the save commandbar button or chosses the file save as menu. I haven't had any luck with this.
Thanks for any help
Greets
Spe
-
- Lost my VSTO SE Excel add-in
by jk_uk2
- 5 Replies
- Last post
by McLean Schofield - MSFT
- Hi,
I'm working on a VSTO SE add-in at the moment.
When I was starting Excel I stupidly stopped the debugger, as I realised that I made a mistake.
To my horror, when I restarted the debugger, my add-in is gone. It appears in the COM add-ins list, but this doesn't seem to make a difference.
Can anyone help I presume that I need to clean up the registry or some temp files
-
- PasteSpecial method in word using C#
by Tuanvm2305
- 14 Replies
- Last post
by Josh Tucholski
- anybody know to use the Range.pastespecial method of word using C# to convert a range of text or somthing to image and then paste into a word document Please guide me
-
- Windows does not shutdown when outlook add in is installed. (NASTY)
by Sandra_bl
- 4 Replies
- Last post
by Andrew Whitechapel - MSFT
- I have developed a small outlook add in - which has gained a nasty reputation. When the add in is installed - and somebody tries to shut down the computer - the computer does not shut down, outlook remains open. If outlook is closed - then the system shuts down normally. I put in logs at the shutdown event handler - and noted - that it was called when i close outlook. The shutdown event handler
-
- Why does an Excel Automation add-in load on Excel start up (and not on-demand as expected)
by Pete_J
- 4 Replies
- Last post
by Pete_J
- Hi,
We have created an automation add-in for adding hotkeys to Excel 2007.
On two developers machines/profiles, the automation add-in is invoked on Excel start up, and on the third, the add-in starts up as expected - on demand when our function is called [i.e. when a shortcut/hotkey combination is pressed].
So....
1) What could be causing the Automation add-in to load on Ex
-
- Word doesn't open a doc
by Gastiflex
- 4 Replies
- Last post
by Gastiflex
- Hi, I've made a Word 2003 VSTO add-in and one of our user has a problem : Word doesn't open documents. I mean that when he tries to open a doc by double-clicking on it, Word opens as if the application was launched without a doc. It's possible to open the documents only with the "File" menu and "Open". When I uninstall the add-in, it works normally. The only idea I have is that
-
- Document Name?
by Blinocac200sx
- 14 Replies
- Last post
by Scorphg
- Ok, I want to assign a the name of the currently loaded document to a variable, how would I go about doing this
-
- Convert .OST to .PST
by The MaiN MaN
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- Im trying to create an app that converts an .ost file to .pst. An .ost file is a Microsoft Exchange email file and in order to read an .ost file offline you need it to be converted to .pst. I know theres tools available for office 2000 for free but this does not work with Office 2003 only ones available need to be paid for......if you need more info on this please see http://www.nucleustechnolog