-
- Problem with Copying mailItem
by gjattili
- 1 Replies
- Last post
by John R. Durant - MSFT
- I am attempting to copy an email from the Inbox to another folder. The first problem I had was that the EntryID is always the same regardless of the message I am copying. After the "Save" of the copied message, I was hoping it would be unique.
Further examination showed something even more bizarre. "oTechFolder" is the destination folder whose name is "Tech". If
-
- Outlook 2007: trouble with PropertyAccessor.SetProperty
by 280Z28
- 6 Replies
- Last post
by 280Z28
- The following code is throwing a COMException (0x80020009) on the second line. The actual_date object is a valid DateTime object (and it does have the date I wanted) when watched after the first line. The property accessor is from a MailItem object. object actual_date = oPropAccessor.GetProperty( "urn:schemas:httpmail:date" ); oPropAccessor.SetProperty( "urn:schemas:httpmail:datereceived", actua
-
- Outlook PST file archive db
by rondev548364
- 4 Replies
- Last post
by rondev
- I am in the process of developing an archive database for outlook PST, OST,etc... files. The design of the application will require the abillity to read these outlook files in and then convert them to a format that I can store in a database. The only problem I'm having is being able to open the outlook files into my application in a readable format. So far all I am getting is jibberish. Does anyon
-
- dropdown list in excelsheet
by elangovan
- 2 Replies
- Last post
by Norm Estabrook - MSFT
- hi,
This is elangovan
In Excel 2003 sheet to create the dropdownlist , that data from database
very urgent
bye
elangovan
-
- Trouble getting reference to public folder(s)
by sklett
- 4 Replies
- Last post
by Sue Mosher - Outlook MVP
- I'm trying to get a reference to a public folder so I can move some mail items. After trial and error, I was able to get the following, ridiculous piece of code to work: destFolder = _application.GetNamespace("MAPI").Folders["Public Folders"].Folders["All Public Folders"].Folders["pmddirect.com"].Folders["Documents"]; Now, that wasn't my first atte
-
- execute a vsto project on a remote machine
by mathmax
- 2 Replies
- Last post
by Geoff Darst - MSFT
- Hello, I would like to execute a .docx of a word document project on a remote machine. I've installed the .vsto file both on the server and on the client machine and I've given full trust to the folder that contains the vsto project : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727/CasPol.exe -m -ag 1.2 -url file://server/MyWordDocProject/* FullTrust But it doesn't work... :-( What else can I do T
-
- Getting data from Excel worksheet
by Rob72
- 5 Replies
- Last post
by Dennis Wallentin
- Hi,
I am trying to read data from an Excel document. However, the document can contain various number of rows.
I wrote the following code:
range = sheet.get_Range( "A1" , Missing .Value);
range = range.get_End( XlDirection .xlToRight);
range = range.get_End( XlDirection .xlDown);
string endaddr = range.get_Address( false , false , XlReferenceStyle .xlA1, Type .Mis
-
- Problems with the CRM Integration Sample
by NemanjaTheLost
- 6 Replies
- Last post
by HWDev
- hi,
i'm trying to set this example on my machine to test the capabilities of .net crm integration but i'm having trouble opening the project for some reason. i have the Office 2003 PIA's installed, and obviously vsto but when i try and open the solution files, it refuses to open the CRMIntegration project i thought that it might be that i don't have the outlook crm client installed on my machin
-
- Can't get the add-in work in excel
by Maximus
- 6 Replies
- Last post
by Maximus
- Hi all, [sorry for double posting] I'm newbie to C# (I'm a Java developer) and I wonder if anyone can assist on this one. I'm trying to implement an add-in to excel. I tried the example given at: http://blogs.msdn.com/eric_carter/archive/2004/12/01/273127.aspx all worked well but one minor issue: I can't get this - AutomationAddin.MyFunction on the insert Function Dialog. * yes, I have it in my
-
- 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
-
- Editing office embedded objects
by Rob Millray
- 7 Replies
- Last post
by Cindy Meister
- Hi,
I am writing an office plug in that will be available in Word and Excel. When a tool bar button is clicked it needs to scan through all the embedded objects in the document looking for text files that have been copied and pasted in from the file system (as objects not as text), it then needs to open them, edit the contents, save the changes back and change the display name.
I k
-
- Assembly Office Version 11.0 Redistributable Setup File Required
by Lokesh Ravindran
- 1 Replies
- Last post
by Mohit Gupta - MSFT
- Hi,
I've developed a application in Visual Basic 2005 Proffessional Edition, and I'm able to install the application in my system. But when I tried to install the same in another computer , I got the below error message,
"The application requires that assembly office Version 11.0.0.0 be installed in the Global Assembly Cache (GAC) first......"
So can anyone send
-
- Populate word doc contents with XML (using COM from Word 2007)
by Patrick Ip
- 2 Replies
- Last post
by Patrick Ip
- Based on the tech article,
http://msdn2.microsoft.com/en-us/library/aa203689(office.11).aspx
I am trying to create an application using techniques similar to the ones mentioned in the article. I am using VS C# 2005 with Word 2007 (using word v.12 COM). I have encountered some problems, could you please help
Here is the code I used,
...
Microsoft.Office.Interop.Word.
-
- Deploy VSTO SE add-in for all users
by dophu
- 3 Replies
- Last post
by TheSyn3rgist
- Hello, I have been scrambling through the threads to figure out the solution for our deployment need. In our case, we deploy components that are designed to work for "all users", for "all users only" and for "current user only". VSTO SE add-ins to office application are among the components that work for "current user only". Unfortunately, VSTO SE is designe
-
- Override the VISIO menu
by Sunil kumar verma
- 4 Replies
- Last post
by Sunil Verma
- Hello,
i want to overload the VISIO File>Open menu so that i can show my custom open dialog when user click it. Please let me know how i can implement it using C#.
Thanks and Regards,
Sunil
-
- VSTO 2005 SE Installaion issues
by NemanjaTheLost
- 13 Replies
- Last post
by Amol Gholap
- hi,
i'm having problems with the installation of the vsto. i run the vsto 2005 se installation package and the PIA install for office 2003 but when i try to run code samples i get the following error:
Error: The operation could not be completed. No such interface supported
this also happens when i try and build my soulution. am i doing something wrong or are there any known conflicts wit
-
- Word 2007 Addin Deployment Problem...
by Syed Raza
- 5 Replies
- Last post
by Syed Raza
- I successfully build setup for Word 2007 Addin and installed on a test machine. Problem is when i opne Word it didnt show me the addin either not in the Add-Ins available list. Works fine on my dev machine.
Any idea what i am missing!!! ... Thanks in advance.
-
- How to control the scrollbar of Excel WorkSheet
by Chu Qiu
- 3 Replies
- Last post
by Cindy Meister
- I using c# to display so many columns in a workseet , so I want to scroll the workseet to right , How to do this Are there any examples Thank you very much!
-
- 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
-
- Automating Speech to Text feature of word from C# .net
by Anurag-Mehrotra
- 2 Replies
- Last post
by Cindy Meister
- hi...
i am trying to call speech to text feature provided by microsoft word from C # but i am not able to find any method that can do so. I know how to open a new document from .net. Can someone please give me any link or any method that helps me in automationg 'Speech' feature of microsoft word from C# .net its urgent
Thank you,
Anurag
-
- Menu changes in 2007
by Steve Loper
- 3 Replies
- Last post
by Cindy Meister
- I know it is possible to create an office plug-in that creates additional menu options. Does anyone know what happens when you take a plug-in created for Office 2003 and run it in Office 2007 Does it crash Does the menu option not show up Does it get translated to something else
Thanks in advance.
Steve
-
- Missing Object on Worbook-Properties
by volker.katz
- 3 Replies
- Last post
by volker.katz
- Hi, I've a problem using a workbook object in my Excel Add-In. On the WorkbookOpen event, I create an object which holds a reference to the opened workbook - I get this reference from the event-listener's argument. When I try to use this workbook later, I get an COMException with the HRESUT 0x800A01A8. As far as I've read, this means "Missing Object". This happens when I try to access
-
- Word 2007 Addin Deployment Problem...
by Syed Raza
- 5 Replies
- Last post
by Syed Raza
- I successfully build setup for Word 2007 Addin and installed on a test machine. Problem is when i opne Word it didnt show me the addin either not in the Add-Ins available list. Works fine on my dev machine.
Any idea what i am missing!!! ... Thanks in advance.
-
- Outlook Automation
by Kulvinder
- 13 Replies
- Last post
by Ji Zhou ¨C MSFT
- Hi, I want to know that if i create an Outlook Addin, how do i make sure that it is loaded eveytime i open Outlook Lets assume that i have PIAs and eveything required installed. The problem occurs when the Outlook object is opened by an Outlook Automation e.g. Active Sync. In that case, no toolbar is loaded. Is there any way i can make sure that my toolbar is always there
Regards
Kulvi
-
- VSTO 2005 with Visual Studio Pro 2003 and Visual Studio Pro 2005
by youngloc
- 9 Replies
- Last post
by youngloc
- I have been running the following for a while before I installed VSTO 2005 recently:
Office Professional 2003 SP2
Visual Studio Professional 2003
Visual Studio Professional 2005 SP1
I have just installed VSTO 2005, but I cannot find its project templates in Visual Studio 2005's menu: File > New > Project.
In Visual Studio 2005's Help > About..., I can see ' Micr