-
- Outlook Add-In Runtime Error When Outlook Instance Created In Code
by Damian80
- 2 Replies
- Last post
by Damian80
- I have an Outlook Add-In which is working perfectly through the debugger. It's nothing more than a "MessageBox.Show("Hello World!")" in the "ThisAddIn_StartUp()" method. If I hit F5 in Visual Studio, Outlook launches, the message box appears and everything is fine.
However. as soon as I launch an Outlook instance in a piece of C# code:
Outlook. Applicat
-
- MessageBOx is not showing in current Window
by Bajrang
- 2 Replies
- Last post
by X4U
- Hi,All I want
to show a message box when user click my custome send button to sending
a Mail Item. Everything is working fine but Messagebox in not showing
in current window (that is Mail Item), but it is showing in parent
window of OUTLOOK. To see this message I have to move into OUTLOOK's
main window. There in no much coding , I don't know where the problem is Please help me out. my code is
-
- minumum cell width is limited by margins and setting margins to 0 does not seem work properly from VS 2005.
by Thwack
- 7 Replies
- Last post
by Cindy Meister
- Hi,
From word 2003 If i create a table and set the cell margins to 0 I can make the width of a column as small as I want. (the minumum is otherwise limited by the cell margins)
However I have an issue doing the same thing from visual studio 2005.
Using Microsoft.office.interop I set the LeftPadding and RightPadding table properties to 0.0 and this seems to work fine.
However. It seems
-
- VSTO2005SE word addin unload by itself
by laiseng
- 0 Replies
- Last post
by laiseng
- i've created a word add-in using VSTO 2005 SE and it works fine after i deplay them using the msi file and then manually go to .NET Framework 2.0 Configuration window to force that word add-in dll to run without restrictions. by that my word add-in works fine but when i double click on any *.doc or *.docx file to open the document, my word add-in unloaded and i need to go to the COM Add-In window
-
- Shared Add-in crash outlook
by jlabrou
- 2 Replies
- Last post
by jlabrou
- Hi,
I'm building an outlook add-in as shared add-in with vb.net and vsto. The problem is that in unexpected time(eg: while i'm debuging the project) outlook crashes without any messages(not even in event viewer) and does not start again.
The 1st time i had to repair .Net framework, this time i can't figure out what is wrong.
The only message that i can see(event viewer->ms office sessio
-
- preserving double-line cell borders when saving as html?
by r_daneel
- 2 Replies
- Last post
by Cindy Meister
- Is it possible to keep double-lined cell borders when saving to html I'm a little perplexed as to why they're converted to single lines when the "border-style: double;" property is supported in CSS1 and IE/Netscape/Opera 4+. I have a number of specially formatted tables (containing financial information) that need the double underlines preserved and I can find no easy way do this. Does
-
- The customization assembly could not be found or could not be loaded.
by Crappy Name
- 5 Replies
- Last post
by Crappy Name
- Hi, I have started getting this when running my VSTO project inside the IDE. It was working before I deleted a couple of sheets out. If I create a new VSTO project it works fine. The DLL is getting created and is the right name. I've also turned on all exception under debugging, but it gives me no more information. Oh, and there is nothing in the details box! I am at a bit of a loss. Thanks Ray
-
- Over-zealous off-topic police
by JocularJoe
- 6 Replies
- Last post
by Misha Shneerson - MSFT
- I've noticed that on this forum in particular, moderators are over-zealous in describing posts as off-topic.
For example, my recent post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1657867&SiteID=1 asking about Thread.CurrentPrincipal in a VSTO 2005 application was moved by Ji Zhou to a forum "Off-topic posts" and he advised me to post again on a VBA forum (which is
-
- Excel Events
by BlackBar
- 9 Replies
- Last post
by BlackBar
- Is there a possibility to know (to rise an event) when user deletes a row in table How can I do something before this action P.S.: I'm using VSTO 2005 SE. Code in C#. Thanks!
-
- Customization doesn't run in VSTO Word Doc returned from server
by David H.256282
- 7 Replies
- Last post
by Misha Shneerson - MSFT
- I'm trying to configure an ASP.Net 2 web site to return a Word document that contains a VSTO customization that displays an action pane when the document opens.
I've manually added the Caspol security settings on the machine to point to the site. I've tried it for all zones and for both IIS access to the site as well as using the built in VS web site but I'm still getting blocked and the docume
-
- Issue with launching Word 2003 XML (WordML) documents with Word 2007 Beta 2 & VSTO 3 CTP
by Aravind Sundaresan
- 8 Replies
- Last post
by Laurent Kempe
- Hi ¨C
We had developed a Word 2003/VSTO 2.0 assembly that provides custom features that are consumed by WordML documents.
When we tried to migrate this solution to Word 2007 Beta 2/ VSTO 3 CTP, we get the following error during build:
C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools.targets(96,9): error : An error occurred while attempting to persist the data. Th
-
- Problem filling data island nodes
by Divermarv
- 4 Replies
- Last post
by McLean Schofield - MSFT
- Hello all, I have a project that allows user's to create a word document via a web page. (based on a word document that has a customization, and an attached xml schema) I am at the point where I am populating the word document xml nodes with data from the data island, but only one set of nodes is being populated.
Here is an excerpt of the code that populates the data:
for (int i =
-
- how to insert text to the current cursor position in Word document?
by R.S.N
- 1 Replies
- Last post
by R.S.N
- Hi...
I have a question about inserting a text into the current cursor position in the word document..how can I do that
I'm using the first version of VSTO and MS word 2003..
Thanks in advance for any help;
-
- .Net Word 2007 Add-In could no be installed on Office 2003
by Hweidi
- 4 Replies
- Last post
by Hweidi
- I created word add-in using .Net 2005 and it had been installed and worked successfully on office 2007.
How can I create Word 2007 add-In that can be installed and worked successfully on office 2007 and all other older office versions
Please help me.
Many thanks.
-
- Enabling Windows in taskbar setting word 2003 programmatically
by Tom_Stevens
- 1 Replies
- Last post
by Cindy Meister
- Hi all,
I'm currently working on a simple new addin using VSTO. I would ideally like the addin to open a few documents but i don't want it spawning multiple windows. Do you know how i would set the View option 'Windows in TaskBar' to false for the addin. Thanks
Tom
-
- Where can I find tutorial to build simple custom actions pane, Excel 2003, to display help info.
by MrNoJoy
- 0 Replies
- Last post
by MrNoJoy
- Hi - hope I am posting this in the correct place. I am 'attempting' to use VSTO 8 beta to create a unique custom action pane for each of the 60 worksheets contained in an Excel 2003 workbook. The pane needs to display hyperlinks matching topics on each worksheet that when clicked display contextual information in, in the same pane, in rich text ie. bold, regular, and bulleted lists. Found plenty o
-
- C# UserProperties
by AndyJump
- 14 Replies
- Last post
by Sue Mosher - Outlook MVP
- This has been driving me nuts :/
I have this method (SetArchived):
Code Snippet
public static void SetArchived(MSOutlook. MailItem mailItem, bool value)
{
if (mailItem.UserProperties[ARCHIVEDPROPERTYNAME] == null )
{
mailItem.UserProperties.Add(ARCHIVEDPROPERTYNAME, MSOutlook. OlUserPropertyType .olYesNo, false , MSOutlook. OlUserPropertyType .olY
-
- InfoPath 2003
by KZWAN
- 3 Replies
- Last post
by KZWAN
- I want to do some coding for InfoPath 2003. The download for Microsoft Office InfoPath 2003 Toolkit for Visual Studio 2005 now directs you to the Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System which does not apparently provide support for InfoPath 2003, only InfoPath 2007.
How can I get the tools for InfoPath 2003
Thanks!
Kevin Winegardner
-
- 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
-
- Copying PowerPoint Slides using C#
by andyfraser
- 2 Replies
- Last post
by andyfraser
- Hi,
I have written a small C# application that merges one or more Powerpoint presentations into one master presentation using the code shown below. This works great except for the fact that the styles of the source presentations do not get copied across (i.e. I can see the presentation text and images and transitions but my slide background fades do not appear). I would really appreciate so
-
- Some mails not getting save in Sent Items
by mukundvg
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Am using Outlook 2003. I observe that some of the mails (10%, I would say) are not getting saved in the sent items. It gets lost on its own!! This happens for all types of mails - with or without attachment.
Pls let me know if I could correct this.
Thanks.
-
- [Excel] Add method of chartObjects class failed
by Bougo
- 2 Replies
- Last post
by Bougo
- Hi all ! I have an exception COMException "Add method of chartObjects class failed" on : Excel.ChartObject chartobject = (Excel.ChartObject)chartobjects.Add(10 /*Left*/, 100 /*Top*/, 600 /*Width*/, 400 /*Height*/); in Excel.ChartObjects chartobjects = (Excel.ChartObjects)ws.ChartObjects(M); Excel.ChartObject chartobject = (Excel.ChartObject)chartobjects.Add(10 /*Left*/, 100 /*Top*/, 60
-
- 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
-
- Ribbon not loading in new excel session
by Abhishek Chadha
- 8 Replies
- Last post
by Cindy Meister
- I want to launch excel from another window application. Following is the code
Excel.ApplicationClass xl = new Excel.ApplicationClass();
xl.Workbooks.Open(filename, 0, false, 5, "", "", false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "", true, false, true, false, Type.Missing, Type.Missing);
xl.Visible = true;
This works perfectly
-
- 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