-
- Word VSTO Equivalent of WordBasic.SelectCurWord
by c_shah
- 3 Replies
- Last post
by c_shah
- I have a old wordbasic code that I am converting to VSTO what is equivalent of Word 97 (WordBasic) code WordBasic.SelectCurWord in VSTO
Tried several alternatives
wordApp.Selection.Words.Item(1).Select() OR WordRange.Words.Item(1).Select()
but it picks up an extra space while WordBasic.SelectCurWord does not
Here is my situation, following line in my word doc I 
-
- InfoPath 2007: Howto disable "The query returned large amounts of data..." message
by Martin Schou
- 1 Replies
- Last post
by Cindy Meister
- Dear all,
A MSDN technical article on Infopath2007 says:"InfoPath 2007 has added several features to help improve the experience with data connections: The UI enables the end user to cancel the query if it is taking too long to execute."
The message is: "The query returned large amounts of data and rendering your form may take some time. Do you want to continue " (
-
- Outlook Addon - MessageBox not displaying in the current active window.
by Deltoid
- 8 Replies
- Last post
by Deltoid
- I have created an Outlook add on which performs actions when the ItemSend mail event occurs. I have a confirm dialog box that pops up. 1) If the e-mail message is open on my secondary monitor the messagebox will display on monitor 1. 2) If the e-mail message is open on my primary monitor the messagebox will be displayed BEHIND the message window. I suspect the problem is that I need to pass the Me
-
- VSTO Add-in error: 'globals' is ambiguous, in VSTO Add-in
by kewpcg
- 3 Replies
- Last post
by Geoff Darst - MSFT
- While debugging my Actions Pane within a Word 2007 Add-in, I get this error in the immediate window when I try to access the items within the add-in's Globals object:
'globals' is ambiguous, imported from the namespaces or types 'MyWordVSTOAddin', Microsoft.VisualBasic'.
To trigger the error, all I have to do is try and use a property or method of the Add-ins Globals. For instance:
-
- PowerPoint 2007 and CustomXMLParts
by Marcel Gnoth
- 4 Replies
- Last post
by Cindy Meister
- Is there any Information about programming PPT 2007
Using the CustomXMLParts
-
- Deploying SQL Db with Word 2007 add-in
by Jay-P
- 5 Replies
- Last post
by John R. Durant - MSFT
- Hi,
I have an VSTO application for word 2007 that uses an SQL Db as backend to store information retrieved from local files. So for every installation/PC there should be an SQL db installed with it. I Have added SQL Express as a prerequisite to the project. My question is how i supply the SQL Db with the application. I'm relativly new to SQL and am trying to orientate on deployment of SQL Db wi
-
- User Properties Outlook 2003
by EB78
- 3 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi All,
I use OL 2003, VS-2005, VSTO 2005, Win-XP.
I experience some problems while adding UserProperties, after creating new mailItem ........ ...CreateItem(Outlook.OlItemType.olMailItem)
i add user propertis myMailItem.UserProperties.Add(........) and on the finish phase move item to some folder (not Outlook folder).
When i open Field Chooser on this folder and going to User Defined
-
- Word _Application.Quit closes the opened documents.
by Ram Kumar K
- 3 Replies
- Last post
by Cindy Meister
- Hi, I'm using Word Automation(using C#) to create word document. While this automation process is running, user can open some other word document. When the automation process is done, it calls _Application.Quit to close the Word Application object which it has created during the process. This closes the documents which are opened from outside by the user during the Automation Process. One note is
-
- MAPI property tags in Outlook
by Munir Husseini
- 3 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi, I'm developing an Outlook addin which utilized synchronized SharePoint lists. In order to identify these lists, the addin tries to find the guid of the list in the Outlook folder's MAPI properties. To do so, I call: fields.get_Item(<propTag>, missing) Unfortionately, Outlook seems to use different property tags for the same property on different installations (could some one confirm this
-
- Is Excel a partial trust caller?
by Sobreira
- 5 Replies
- Last post
by Misha Shneerson - MSFT
- Hello,
I have a ExcelWorkbook solution where I
call a WCF Web Service. Then I have this error:
¡°{"An error occurred creating the
configuration section handler for system.serviceModel/client: That assembly
does not allow partially trusted callers. (C:\\xpto\\bin\\Debug\\ExcelWorkbook1.dll.config
line 30)"}¡±
Well... I already put the ExcelWorkbook1.dll
assembl
-
- How to add an animated GIF in command menu in Microsoft Outlook?
by Danish Tehseen
- 0 Replies
- Last post
by Danish Tehseen
- Is there a way to show an animated GIF in the Toolbar menu in Microsoft Outlook The purpose for this is to show the progress of a background process which is triggered after a regular interval, and after its completion the animated GIF is replaced by a static one.
I have following applications installed on my PC
Visual Studio 2005
Microsoft Office 2003
VSTO 2005 SE
-
- This action is not valid outside of a block-level XML
by Laurent Kemp&#233;
- 8 Replies
- Last post
by Laurent Kempe
- Hi
I created a solution for authors to publish content on a website I created based on Word 2003 templates and VSTO 2005.
You might download it here: http://www.codeplex.com/THBAuthoring
Now I try to have it running on Word 2007 and get the following error when a user click on the save button or when I do in code document.Save:
This action is not valid outside of a block-level XML
L
-
- Button Panel for both Word and PowerPoint
by karpanta
- 6 Replies
- Last post
by karpanta
- Hi, I need to develop some kind of add-in that have to interact with both Word and PowerPoint. The idea is to build a panel with some buttons (this panel can be loaded or unloaded in any document or presentation) that it is the same for Word or PowerPoint. I am not sure how to do it so I would really appreciate if any of you could give any ideas. Thank you very much!
-
- Issue with MSProject Interop and a COMException (Argument value not valid)
by AdamD
- 3 Replies
- Last post
by Cindy Meister
- So the following code is what im having issues with. Everything is fine and dandy till the application hits the modTask.Text1
MSProject. Task modTask = applicationObject.ActiveProject.Tasks[ this .taskId];
modTask.Name = txtTaskName.Text; //Just fine
//Needs to be a short
modTask.Priority = Convert .ToInt16(nudPriority.Value); //Just fine -
//the priority is a short and val
-
- RemoveCusomization modified workbook
by Patrick Hampton
- 5 Replies
- Last post
by Andrew Whitechapel - MSFT
- So I've found several threads regarding RemoveCustomization, but not one that resolves the problem I am having. I have an Excel VSTO workbook and I want to allow users to save instances of the workbook without the customization if they wish. The problem I am seeing is, if the user deletes one of the worksheets that was originally part of the workbook at design time, then I end up with an invalid e
-
- PropertyAccessor.GetProperty Method (C#)
by EagleWizard
- 11 Replies
- Last post
by EagleWizard
- Code Snippet
Outlook. PropertyAccessor pa;
pa = m_olMail.PropertyAccessor;
string propname = "http://schemas.microsoft.com/mapi/proptag/0x0030001E" ;
string sprop = pa.GetProperty(propname).ToString();
I'm using this code to access a property of a mail object in Microsoft Outlook 2007, but I always get a DISP_E_TYPEMISMATCH error
"Message "Typ
-
- Add-in works great run from VS 2005, but MyAddInIstallation doesn't work!
by Peter Caisse
- 2 Replies
- Last post
by Peter Caisse
- Hey everyone, I've been developing a PowerPoint Add-in in VS 2005, and it works great when I debug it from Visual Studio. I'm using a toolbar written in VBA to call my VSTO code in C#, and the code is called normally in VS. Great. However, when I close VS and install the add-in with MyAddInIstallation.msi, my VSTO add-in is never detected! The add-in is installed without any errors, and everything
-
- Add command button to the send email screen
by Bear23
- 14 Replies
- Last post
by Bear23
- I want to add a button when the new message box is open.
I tried everything and I cannot get it to work.
I get errors like:
An unhandled exception occurred in your application. Contact your administrator.....
I cannot seem to figure out what i am missing.
Any ideas.
I am using Outlook 2003, vs2005, c#
-
- controls on my form don't work.
by mathmax
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hello, I've a strenge bug that occurs at runtime (i.e when I execute the .docx directly) I've a worddocument project (word 2007) in which I've added a button. When the user click on the button a form is shown : private void button1_Click(object sender, EventArgs e) { Form1 f = new Form1(); f.Show(); f.BringToFront(); } In this form, I've just added a combobox. When the form loads, some items are
-
- Excel 2007 (12) - ActiveChart
by Tovdb
- 4 Replies
- Last post
by asdfasdfasdfasfd
- Hi,
I have a problem working with the new Excel interop.
Inputting data in Excel is no problem, but when I try to create a chart using the ActiveChart method, I get a error.
Here is my code:
'alles selecteren
oWS.Range( "A1:B12" ).Select()
oWS.ActiveChart.SetSourceData(Source:=oWS.Range( "Sheet1!$A$1:$B$12" ))
oWS.ActiveChart.ChartType = oWS.xl3DColumnClu
-
- Retrieve current document path
by Freeko
- 14 Replies
- Last post
by Xm3KHs
- Hey guys, although it isn't strictly VSTO-related question I'm sure you'll know hot to do it and help me So, I wrote simple COM add-in for word, excel and powerpoint. One of the functions of this add-in would be to retrieve current document path / location (E.G: "C:/Users/USername/Documents/presentation.ppt".) and then do something with it. Is there a method that would work for all pro
-
- How to add event handler on Custom Form
by abhimanu
- 13 Replies
- Last post
by X4U
- I have created a custom form that hold a button that will help me to retrieve the contact details of the person.( My implementation of Address Book)
I have customed New Message form under IPM.Note and added a new button .
How to add a event handler for the button using c# .
I have saved the form with .oft extension.
Thanks in advance
-
- Post It Note Type Comments Control In Word Document
by Corby111
- 8 Replies
- Last post
by Cindy Meister
- I knew there was a reason I was looking at VSTO, I have a C# Windows App, and I am showing the user a Word doc using the DsoFramer control for viewing and editing.
All this works fine, what I would like to know how to do (and I do not know if an AddIn or a WordProject is my best bet) is how do you create a "Post It Note" type control allowing the editor of the document to "Add Po
-
- Outlook theme(color scheme)
by jlabrou
- 2 Replies
- Last post
by jlabrou
- Hi,
i'm trying to get(as information) the outlook theme(color scheme). is it possible and how i can do this through vsto and vb.net
thanks,
John
-
- How to write an Outlook Add-In
by Kirk Evans
- 7 Replies
- Last post
by Kirk Evans
- I already have an application that will dial a phone in our phone system, and it accepts command line parameters ( specifically, the number to dial - each installation knows which phone it is controlling ).
I want to be able to launch this application (with the parameter ) from outlook. I'm imagining a button on the Outlook toolbar that would perform this action. Somehow I'm going to need t