-
- Debugging VSTO SE/Outlook on mapped drive fails, works from the C drive.
by bobchauvin
- 2 Replies
- Last post
by bobchauvin
- I get a security error when I try to debug my VSTO SE/Outlook add-in from a mapped drive. If I move it to my c drive, it works.
The properties for the app are set to Trust Assembly Location=True.
The biggest issue is that I cannot have a centralized location for my code.
Any ideas
-
- How to integrate infopath form with asp.net application
by adeel alvi
- 1 Replies
- Last post
by Cindy Meister
- Dear ALL
How can ve integrate infopath (2003) forms with asp.net , such design forms in infopath and running in asp.net application , i have search google i have found companies like aspose.com and infoview.net who have such componot my question is how to design such component
-
- string.contains method optimization
by tr7
- 1 Replies
- Last post
by Misha Shneerson - MSFT
- Hi,
In my Word customization it's necessary for me to use the string.contains method to do a line by line, word by word comparison -- .equals and the other reference check methods are not enough. String.contains is very accurate however it's a bit slow. I wanted to know if there's a way to optimize .contains' performance Thanks.
-
- C# Footers and AutoTextEntries
by Ian Vink
- 4 Replies
- Last post
by Cindy Meister
- Word 2003, C#, Using PIA
Code Snippet
To the Primary Footer I add some text successfully: doc.Sections[1].Headers[WdHeaderFooterIndex.wdHeaderFooterPrimary].Range.Text = "Baha'i Faith"; I then wish to append the AutoText Page X of Y. But how This is how it's done in VBA:
With wordApp.ActiveDocument With .Sections.Item(1) wordApp.NormalTemplate.AutoTextEntries.I
-
- 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
-
- Custom Oulook Forum
by AllTec
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi
I am new to VSTO and outlook programming. I want to cutomize outlook form and want to have its interaction with database. I want to use VSTO.
I am not sure how I can make interaction possible, how to load form controls (dropdown) from database and then save selected dropdown value in database.
If someone has good link or sample code. Please share.
Thanks
AllTec
-
- CRM Sample is not working
by suman
- 1 Replies
- Last post
by NemanjaTheLost
- hi, please go thru this link http://msdn2.microsoft.com/en-us/library/aa479348.aspx there is some sample code, while loading the solution file , it is not loading all the projects in it, there by we are unable to run the application, infact the sample codes(outlook add-in) provided by microsoft are not loading all the projects in it. please help me out to run this application. We have followed t
-
- Where is the SmartArt object model?
by globesoftware
- 4 Replies
- Last post
by globesoftware
- Microsoft...please don't tell me there is no way to change smartart text using code (C#, VBA...anything will do!).
I can't seem to find an object model for this.
Any ideas
Thanks
S
-
- 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
-
- VSTO Outlook 2007 custom commandbar not appearing
by E K R
- 10 Replies
- Last post
by E K R
- Hi all,
I have developed an add-in for Outlook 2007 using VSTO 2005SE on on Vista. I have an application that adds a new commandbar to Outlook's menu commandbar. On my development machine I am able to run my application in the debugger, and Outlook opens with the new commandbar and everything works just fine. After building the setup project, I then send the setup application and msi instal
-
- Deployment to Live Server Issue
by gbobg
- 2 Replies
- Last post
by Darryn Lavery -- MSFT
- I am having an issue with a VSTO Word application after deploying it to a live server and I need help figuring out what is going wrong. My VSTO project is a Word Application that really just gives users report information through a webservice when they click a link from their intranet page. I deployed it to a test server and have it working very well. When I VPN into the other network and publish
-
- Outlook add-in does not install and work properly on non development machines
by Kishore79
- 5 Replies
- Last post
by arvindram
- Hello,
I am using VS2005 SP1 and outlook 2003. I wrote an outlook add-in that creates a new
menu in message view and written custom code for the same. If i compile the add-in in the VS IDE, it works correctly. If i try to install my self by selecting my addin from Tools-->options-->Other-->advanced--> add-in manager, I get an error message <path> is not a valid office ad
-
- "New Project" dialog not showing Office project types after install of VSTO
by Corrin18
- 3 Replies
- Last post
by Cindy Meister
- I installed Visual Studio for Office Tools (Second Edition)....It appeared to install correctly.
I expected that in my Visual Studio "New Project" dialog box I would see some Office project types, BUT I DONT HAVE THESE.
I use Visual Studio Professional 2005 with the latest service packs installed and my operating system in Vista Ultimate.
By the way......when Visual Studio is st
-
- VSTO 2005 SE Globals Addin Support in Word 2003
by serora
- 3 Replies
- Last post
by Andrew Whitechapel - MSFT
- If I understand things correctly, document level customizations (i.e., those that can make use of the actions pane) are only compatible with Word 2003 Professional or Standalone Editions due to VSTO's use of the XML expansion pack stuff.
What if I create a global addin for Word 2003 using VSTO 2005 SE Do I have the same limitations to the versions of Word that are supported (i.e., Professional/
-
- Getting Microsoft.Office.Tools.Excel.Worksheet from an application level add in
by benchr
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- I found the code here to create the Microsoft.Office.Tools.Excel.Worksheet wrapper for a dynamically created worksheet.
https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2169214&SiteID=1
But this does not work from an application add-in. There is no RuntimeCallback object.
I want to create an add-in that can put a managed winforms control on the active sheet of w
-
- How to delete all excel range name?
by ngtn_hang
- 2 Replies
- Last post
by ngtn_hang
- Hi all,
Please help me, I have a file excel, it have too many range name about several thounsand name that I never define them. I think that file was macro virus bcs I enter Insert/name/define to delete all range name, then save and close file. When that file opened again, the number of name is double.
I can not delete all excel range name, please give me a way , a tool or VBJ...to delete th
-
- Advise the best way to create a link label in Word customization?
by Oleg Krupnov
- 6 Replies
- Last post
by Oleg Krupnov
- Hi, I'd like to add hyperlinks (link labels) into my Word customization and handle the event when the user clicks the hyperlink (single click) in the document. I have tried the following methods: 1) Add Windows Forms LinkLabel to the document. The problem is that the control doesn't work when the document is viewed zoomed to anything else than 100% (what a ridiculous and disappointing limitation b
-
- Calling AddIn functions
by swje
- 7 Replies
- Last post
by Misha Shneerson - MSFT
- I'm looking for a way to call VS2005 Shared Addin functions from an external VS2005 application. a) The functions defined in Addin need some special demands b) In application how to invoke the function Thanks
-
- outlook add-in causing bo:heap warning
by royalhale
- 13 Replies
- Last post
by royalhale
- I created an add-in for Outlook 2003 using VS 2005. I built this add-in using VSTO SE as well as with the Shared-add-in template. This add-in places a button on the reply to and new email forms that can be used to send the email data to a webservice function that records it in the database and then calls the send function of Outlook.
Most of the time this works great no matter which build I use
-
- Get To address of mail item in Outlook Inbox
by omatase
- 3 Replies
- Last post
by Sue Mosher - Outlook MVP
- I have a requirement to get the To email address for emails that are in the Outlook inbox. For this I am using the Outlook XP PIA dll provided by Microsoft. I start by getting a reference to a MailItem object that represents an email in Outlook's Inbox. Here are the problems I am having: I first tried getting the information by for eaching through the Recipients property. But the Address property
-
- Integrating VSTO and OMS
by Kieron Thwaites
- 2 Replies
- Last post
by Kieron Thwaites
- Hi,
Not sure this is in the right place, since it is part VSTO, part OMS.
I'm trying to write a small plugin that displays toolbar buttons in the main Outlook window to open the "New Text Message" and "New Multimedia Message" windows that Outlook through OMS provides. The only way I can see to achieve this is to declare a new Outlook.MailItem object and set the re
-
- iTunes and VSTO SE plugin = unhappy situation?
by LastHope
- 3 Replies
- Last post
by Lil'Monkey
- Hi, I've been searching for something like this in the forum, and I've found just one concluding post...so I'd like to understand better. Is it possible that iTunes may not load correctly a VSTO SE plugin Iive just received this bug request: https://sourceforge.net/tracker/ func=detail&atid=758187&aid=1699687&group_id=144247 Any ideas Thank you LastHope
-
- Permitting Excel VSTO doc to run from anywhere on intranet
by Arnell
- 7 Replies
- Last post
by SKBG
- I have an Excel VSTO document that is installed via a Visual Studio setup project. I have security working to the extent that the document automation executes if the document is opened from the target installation directory. However, I need to allow for it to execute regardless of the location of the document. That is, anywhere from within the intranet. It is an XLT file and the user will never sa
-
- Casting IRibbonControl
by subbuvv
- 3 Replies
- Last post
by Cindy Meister
- Hi,
I am trying to create a add-in for Excel using Ribbon UI extensibility model. The add-in appends a new tab to excel and adds a dropdown control to a new group in the tab. The dropdown control has a OnAction callback procedure associated to it.
public void OnAction( IRibbonControl control, string selectedId, int selectedIndex)
{
}
I need to retrieve t
-
- Outlook Items.Find. Setting a filter string based on sent date
by Sillychuckie
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi. As the subject suggests, I am trying to use the Outlook development library to write a script that moves emails from one folder to another based on the date they were sent. I have previously done something similar, based on the person that sent them... and this was simple enough. However, I am struggling to find a valid filter that doesn't throw an exception to do something similar based on it