-
- COM exception when trying to add picture as inline shape in Word 2007 RTM
by Babu Annamalai
- 6 Replies
- Last post
by Marcus_dotnet_programmer
- Environment: Windows 2003 running under VPC, Office 2007 RTM, VS2005
I have a schema attached to the document in question and here is the code snippet which errors out with a COM exception.
Dim nd As MSWord.XMLNode = wordDoc.XMLNodes.Add("dummyNode", <<namespace>>, CObj (rng))
Dim img As MSWord.InlineShape = nd.Range.InlineShapes.AddPicture("c:\blah.jp
-
- Windows app to monitor outlook folder cycles through only half each tick?
by nomb
- 11 Replies
- Last post
by nomb
- Hey guys,
I haven't figured out yet how to make an outlook-addon so atm I am stuck doing a windows app. I have a timer which is fired every 45 seconds. It then cycles through whatever folder you choose and takes each mailitem and adds it to a list view. Then deletes the item. The only thing is that every time it ticks, it only goes through half. For example if you have 20 messages in the de
-
- How to: display and hide 'drawing guides' in powerpoint in c#?
by kennethzhou
- 1 Replies
- Last post
by Cindy Meister
- I am trying to create toggles between displaying and hiding 'drawing guides' in PowerPoint. But really couldn't find any properties or methods that are doing this kind of functionality.
And not sure which level of the object should I look at, Application Presentaion or Slide
Thanks in advance
Kenneth
-
- Sending the file attachment of an appointment item to all the invitees of the meeting.
by dark_sleauth
- 2 Replies
- Last post
by dark_sleauth
- Hi,
I have developed an outlook add-in in c# using vs2005 and vsto.
After attaching a file to an appointment item in my outlook calender, i would like to forward this file to all invitees of the meeting such that on receipt of the mail, the attachment automatically gets saved to their outlook calender. Is there any way to do this
-
- Synch email, task appointement and contact
by Pierre Savard
- 4 Replies
- Last post
by Pierre Savard
- Hi, what is the best way to compare to email, contact, task, or appointement to syncrhonise then
The email have a an entryID this ID are unique What about 2 email from to different outlook, the entryID will be different In this case comparing the subjet and the creation date are enought
What about task, appointement and contact They have entryID
waht is the best practice Thanks
-
- Merging xml data into a WordML Template
by Don Cameron
- 4 Replies
- Last post
by Don Cameron
- Hi all, We are trying to use Word XML files as a generic template for merging data from a database. Same concept as the old mail merge, but not using XML. We have a schema of our data We create a Word XML document We markup the doc with elements from our schema We extract data from the database in XML format Now we want to take the data from the XML document and replace the tags in the Word XML d
-
- Newly Added Document is NOT the Active Window
by pKulandrei
- 13 Replies
- Last post
by pKulandrei
- Hi everyone,
I created a add-in for Word using vsto. I got a form that show to the user and when a buttoon on that for was clicked, the add will add a new document using this.Documents.Add(<params>). The new document was successfully created but it was not the active window. The first document when I opened word was still the active window. I'm using Document.Activate() to make the ne
-
- 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
-
- VSTO deployment problem selecting prequisites
by N Lyons
- 7 Replies
- Last post
by Hirén
- ((the problem below also occurs when I try to go through the sample project from the whitepaper " Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer: Walkthroughs (Part 2)" ))
I'm trying to make it easier for my users by including the Vstor.exe and Ofiice PIAs in the setup installer. I'm following the directions in the MSDN "Deploying Visual Studio
-
- VSTO - Removing document customisation
by HoganRich
- 12 Replies
- Last post
by HoganRich
- Hi
I have written a word addin in VSTO 2005 which when loads adds a custom toolbar
to word. This allows users to load template document, with a custom action pane.
This part works fine. However when users save a document, and subsequenlty re-
load it, or send it to someone else, the document produces an error due to it
looking for the application manifest\customisation DLLs (I
-
- Can't get my addin into Word
by Freeko
- 2 Replies
- Last post
by Freeko
- Hi guys, I'm having terrible problems with word add-in and I need some assistance :) I wrote simple Word add-in as in "VSTO using C#.." book and it compiles ok, even setup compiles (and "installs" if I try to install it), but- no matter if I only debug it thru word or try to import it into word (com add-ins) it won't go. When I compile my project, I get DLL file. if I try to i
-
- VSTO
by Archana Muralidhar
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi everybody,
I am new to the field of VSTO so can anybody suggest me which book or link or any material to reffer to learn VSTO...... thank in advance
-
- Dialog return value
by FS2K
- 2 Replies
- Last post
by FS2K
- Hi !!
Considering the code below :
object TimeOut = 0 ;
Word. Dialog dlg = Globals .ThisAddIn.Application.Dialogs[Microsoft.Office.Interop.Word. WdWordDialog .wdDialogInsertSymbol];
int result = dlg.Show( ref TimeOut);
Why the variable result returns always -1 and not 0 if i press the dialog cancel button or -2 if i press then Dialog Form Close()
-
- ASP.NET application in Outlook 2003? 2007?
by dyowee
- 8 Replies
- Last post
by MauricioUY
- Good day!
This is just an idea I had, but is it possible to host an ASP.NET application within Outlook 2003, or 2007
Thanks!
-
- VSTO Project creation failure
by SameerKamat
- 2 Replies
- Last post
by Roger Best - MSFT
- When I create a new project in VSTO (1st Edition) I get following error:
Project cannot be created because the application add-in is not working correctly and might have been disabled. To check for disabled items in the Microsoft Office application, open the Help menu, click About Microsoft Office Word or About Microsoft Office Excel, and then click Disabled Items. If either "Word Visual S
-
- VSTO runtime
by Cynthia Miranda Hern&#
- 1 Replies
- Last post
by Mohit Gupta - MSFT
- Hi!!
I need the runtime for VSTO 2008, can you say me the URL from where I can obtain it
Thanks
-
- Outlook UserForm?
by Albert Raiani
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Question 1: Is there any way to obtain a strongly typed reference to the items in the Pages collection
When I examine the Pages collection returned by Inspector.ModifiedFormPages it apparently contains a collection of object. In the immediate window if I execute something like this: currentInspector.ModifiedFormPages(1).Name and it will return the name of my custom form page. When I check
-
- Populating a ribbon combobox contorl on load
by Pati123
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Dear Sir, I am developing a Word 2007 addin in C# and VSTO SE. I wont to populate a combobox in the rebbon when the ribbon loads. Also to add items when a button is pressed. Please help me to get this done. ThanQ Tharindu
-
- Using VSTO 2005 Word with Schema to list Information: SIMPLE LIST
by VadimKa
- 2 Replies
- Last post
by VadimKa
- Background: I'm creating Word RESUME template with attached schema, which needs to fill employee data into template. Schema (simple for testing) looks something like this: <Resume> <ConsultantName> <ConsultantTools> <Tool> <ToolName> <YearsUsed> <Tool> where consultanttools is a list of tools each with name and years used. Sample of XML to
-
- Reading Excel From C#
by DOSST
- 14 Replies
- Last post
by bad neighbor
- You can read data from Excel using the JET OLEDB provider. See the URL below
for the necessary connection string, and a link to a KB article with further
information ...
http://www.carlprothman.net/Default.aspx tabid=87#OLEDBProviderForMicrosoftJetExcel
--
Brendan Reynolds
wrote in message
news:9226766e-a1d5-400c-8d3c-8ffc566bec50@discussions.microsoft.com...
> Hi
>
> Can anyo
-
- How to make a Form Region default to an Outlook-2007 folder
by Rama Krishna rao
- 2 Replies
- Last post
by Rama Krishna rao
- Hi, I have created a form region(.ofs). I have couple of questions. 1> How to publish form region programmatically 2> How to make this form region default to a folder programmatically Thanks. Rama
-
- Y Axis Label Direction
by vesriram
- 1 Replies
- Last post
by Cindy Meister
- I use the following code to generate Y axis labels in line graphs. These line graphs are generated in powerpoint (Office 2000).
oGraphChart.Axes(2, 1).HasTitle = True
oGraphChart.Axes(2, 1).AxisTitle.Font.Size = 11
oGraphChart.Axes(2, 1).AxisTitle.Font.Bold = False
oGraphChart.Axes(2, 1).AxisTitle.Text = "Test"
The code works fine but the Y axis label is align
-
- The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
by Hans-Joachim
- 14 Replies
- Last post
by Hans-Joachim
- Hi Chaps,
I'm using this snipped code in Visual Basic 2005 with one problem.
On my development PC Win XP-SP2; Visual Basic 2005; Office 2003-SP2 this code is working well. On a different PC with same configuration (except VS 2005) I'm running into an error called: "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)". The goal of my code is just to analyse to p
-
- VSTO se sorting problem
by MothDoc
- 13 Replies
- Last post
by MothDoc
- Hi Ji I am trying to do something similar but I am afraid I am getting nowhere. I am trying to build a function within excel that will allow one to stipulate the performance of calculations and other formulae based on the cell background colour. For instance I have a column of figures B2:B9 with the following values and cell colours B2: 2 pink B3: 3 white/no colour B4: 0 pink B5: 0 white/no colo
-
- Office 2007 to Office 2003 problem
by Benn011
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi,
I have a web application developed in Visual Studio 2005 C#. The application attempted to open a Office 2003
word document. When trying to do this it throws an error that it cannot load the Microsoft.Office.Word assembly
version 12.0. This machined has Office 2007 loaded on previously and was uninstalled to make room for a new
Office 2003 installation. How can I get rid of this