-
- Trying to create Excel 2007 doc using Asp.Net and C#
by Rocco Mastrangelo
- 6 Replies
- Last post
by Petro Protsyk
- Hi,
I am trying to learn how to create Excel spreadsheets programmatically and I believe this is the place to get help. I have been able to create an actual file, but when I try to open it with Excel 2007, a message box is displayed with "Cannot use object linking and embedding". When I click OK, I get another message box with "Microsoft Office Excel has encountered a problem...&
-
- Setup file problem(update manifest)
by Malleswar
- 4 Replies
- Last post
by Lubo Birov - MSFT
- Hi, I am developing the Installer by following this link http://msdn2.microsoft.com/en-us/library/bb332052.aspx Actually I am getting small problem. In updatemanifest.cs and in UpdateApplicationManifest() // Get the application manifest from the document. string documentPath = Path.Combine(targetDir, documentName); System.Windows.Forms.MessageBox.Show(documentPath); Server
-
- Setup Project Custom Action to set CasPol
by Denis Pitcher
- 6 Replies
- Last post
by Bhupathi Venkatesh
- Ok, final piece to my project. I need to be able to set the CasPol settings as part of a script run in my setup project.
The wonderfully clear MS documentation sugggests that it should be easy to create a custom action to do so, yet all the wizard allows you to do is add files, not add a custom script to run the caspol settings.
Can someone point me to a good resource for doing this I need
-
- some questions about word 2003 document development
by Noah1212
- 1 Replies
- Last post
by Cindy Meister
- 1. can the windows form controls (just like picturebox) in the document be moved at runtime
2. can the windows form controls (just like picturebox) in the document be resized at runtime
3. once after print preview, the images in the picturebox controls which are in the document disappeared, it is a bug or just me missed something
4. is it possible doing some word 2007 document-level devel
-
- Stroing additional data along with a cell
by sameera
- 18 Replies
- Last post
by sameera
- Hi,
I need to store some additional data along with a cell in a VSTO app. This could for example, include an internal ID; data that the user need not see or edit. I would want to save this data along with the worksheet as well.
What we've done so far is to use Comments with the required cells. Comments however can easily be messed up by the user. Is there a more "elegant" way to ac
-
- Hide Inspector
by thehin
- 9 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hello Everyone, I am trying to follow the example shown here: http://www.outlookcode.com/codedetail.aspx id=616 . This example is a work around which allows one to get the start date and end date of a selected calendar range. I am using VSTO 2005 SE and Outlook 2007. Everything works great, however there are a few problems. The following code is what I would like to do:
Code Block
-
- Word Addin: Event for new Document object
by vitich
- 4 Replies
- Last post
by vitich
- I want to get event when new Document object is added into Application.Documents collection. I was looking for this event for a while and was unable to find it. I found Application.NewDocument event, but it's fired only if you click on New... button in Word (it isn't fired if you just run Word.exe). Am I missing something
I know that in Oulook Addin there is an event ExplorersClass.New for new
-
- Custom Deployment MSI cannot find files
by IanMadz
- 2 Replies
- Last post
by IanMadz
- Hi all,
I've created my addin and for the most part all is working great, however when it comes to distributing the app, i'm having a few problems on certain machines.
The issue is when i run the installer it complains that it can't find my custom dll which is included in the msi. More specifically: Could not load file or assembly 'MyDll.dll, version 1.0.0.0, culture=neutral or one o
-
- Ribbon button getimage callback ok,but image is not displayed,why?
by febwave
- 7 Replies
- Last post
by febwave
- I have a button that has a GetImage callback. outlook may call GetImage function ,and ppdispImage has been set. But image has not displayed always.
This is my code.could anyone tell me where code is incorrect (hr is s_ok) thanks
extern "C" HINSTANCE g_hInst; STDMETHODIMP COLAd::OnGetImage(IDispatch* pControl, IPictureDisp** ppdispImage)
{
HRESULT hr;
HANDLE hIco;
PICTDE
-
- document level add-inn
by mahavir patil
- 2 Replies
- Last post
by mahavir patil
- Hi all,
I am new to vsto and dont know much about.
I want ot delvelop an add-in forMS word, and that i want to show to the user for only some specific word documents and not for all word document i open.
I mean i want to have document level add-in and not application level.
So how and want change i need to make to the document meta data to catogorise it for having this add-in to displa
-
- Digital signature
by user11
- 7 Replies
- Last post
by Shiamak
- How can I digitally sign a document either a Word or a PDF file using Visual Studio 2005 How do I assure it's integrity
Thanks.
-
- VSTO as COM?
by Andrew Crawshaw
- 5 Replies
- Last post
by Andrew Crawshaw
- Hello Everyone,
Is it possible to allow a VSTO .dll to be used as a COM object in the same was as a Class Library project
I'm able to create a standard Class Library to expose to Visual FoxPro as I'm able to use ProgId to expose the object as a given name, but I don't seem to be able to do the same with a VSTO project.
The main difference seems to be the "Output typ
-
- 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
-
- Export dataset to excel running forever.
by macupryk
- 3 Replies
- Last post
by Cindy Meister
- Public Class ExportExcel Export dataset to excel running forever. I know there are more than 65000 rows. I need to fix this function. Any help would be great. Public Function DataSetToExcel(ByVal dtSource As System.Data.DataSet, ByVal sFileName As String) Dim iRowCount As Integer = dtSource.Tables(0).Rows.Count Dim iColCount As Integer = dtSource.Tables(0).Columns.Count Dim oDat
-
- Ribbon control is not showing up
by Jian Zhang
- 2 Replies
- Last post
by Rachel Schaw - MSFT
- z
Hi all,
I am trying to use VSTO SE to develop a ribbon button on my Outlook 2007 client. I understand that the ribbon , after developed, will only show on the mail read & new email Window unlike its other office 2007 counterparts. But after I developed the ribbon and install it using the setup project provided, I still can't find the ribbon on Outlook. Is there anything else I
-
- CustomUI + Clone/Move the office menu to tab button
by Leung
- 2 Replies
- Last post
by Leung
- Hi,
I hope this is the right forum to post my question (because I couldn't find a msdn forum dedicated to RibbonX).
Is there a way to make those office menu button (e.g. the Print button) available as well on the tab group I know this can be clone to the quick access tool bar, how about the tab group area
Thanks,
Jane
-
- outlook add-in deployment on network
by smanky
- 3 Replies
- Last post
by smanky
- hello everyone,
i am trying to install my solution on a network and get the installer right.
i followed the walk-through on:
http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx
this brings me to a point were i get a local install working. however, i would like the manifest to point to a network drive so that updates are delivered from a central point. i found two ways to
-
- Print Word Document with c#
by Anpiro
- 3 Replies
- Last post
by eibonscroll
- Well
I am coding an application using C# for my company which requires
multiple printing Word Docs, at a specific Printer of the installed
Printers, and at a specific tray. So, i used word object ( Microsoft.Office.Interop.Word) for print the document but i cant see any tool that indicate how to print to specific tray in my printer. There any way to do that or still stay with the same way (wor
-
- Excel 2003 -The XML Maps in this workbook are not exportable
by Stephen S.
- 2 Replies
- Last post
by MingZhao
- Hi, I just started using Excel 2003 XML Map functionality. I queried a table in the SQL server database, loaded the dataset in a VSTO document action pane, and saved the schema file. The XSD looks fine. I then added the XSD to the map and mapped every field to a column in the spreadsheet. So far, everything looks great. I then make a web service call that returns a dataset. I use this code to loa
-
- Populate dateset from created in code excel range
by Ivo Atansov
- 1 Replies
- Last post
by Norm Estabrook - MSFT
- Hi ,
I wonder how to populate dataset with excel Range,but I don't want to set the name range in excel file.I created range with
the help of Microsoft.Office.Interop namespace .
Thanks for any advice.
-
- How to deploy office2007 add-in?
by StevenL123
- 5 Replies
- Last post
by X4U
- Dear all,
We developed a powerpint add in in powerpoint2007 with vsto2005! We already studyed " Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer: Walkthroughs " document, but it deployed for office2003 version, I want to know how to deploy vsto installer in office2007 I find it must deploy strong name signed for solution project! I wan
-
- Resolution
by Greg M
- 11 Replies
- Last post
by Cindy Meister
- Hope I'm nearing the end of questions here, and thanks again for reading.
I have a Excel2003 Applcation Level Add-In made using VSTO with SE download.
Deployment package is made, I can see that registry entries are being made, that CAS policy has full trust and that prereqs are loaded.
I have set the suppressdisplayalerts environ variable =0 to see why the add-in is not loadin
-
- 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
-
- How to duplicate a RichTextContentControl
by mathmax
- 10 Replies
- Last post
by dhysong
- Hello,
I try to duplicate a RichTextContentControl from a word 2007 document. I would like to insert the duplicated RichTextContentControl just under the original one. How can I do that
Thank you in advance for your help,
mathmax
-
- Outlook Explorer Close event
by EB78
- 14 Replies
- Last post
by EB78
- Hi All,
I have Outtlook Addin (C# 2.0, VSTO 2005, Outlook 2003),
i subscribed to close event:
explorerEvents.Close += new Outlook.ExplorerEvents_10_CloseEventHandler(OnExplorerClose);
but i never get there, why
Only if i open another explorer (right click on folder--> Open in new folder), and close it , then i get the close
event fired, but when i have only one explorer (ma