-
- document close event.
by mcnamaragio
- 7 Replies
- Last post
by Cindy Meister
- Hello, I want to use the close event of document object but the thing is that it is still fired even when the user clicks on the close button but then chooses cancel when the prompt is displayed. The microsoft.office.tools.document class has shutdown event that I'd like to use but it is not possible to use this class from another application. What can I do should I create a component using VSTO an
-
- Reaching a specific cell in excell.
by Elie Sidawi
- 0 Replies
- Last post
by Elie Sidawi
- Hi,
Does anybody can help in providing me the code on how to reach a cell backward in excell.
i.e if i am at cell c23 how can i reach cell A12.
thanks for your help.
Elie
-
- Embed application into Outlook 2007
by ramirogh
- 5 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi, I've an application made with VS 2003, now I would like to embed it into Outlok 2007. Is there any way to make this possible
Thanks.
-
- .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.
-
- I have Office 2003 SP2 but VSTO wants SP1
by David Marxer
- 1 Replies
- Last post
by Cindy Meister
- I recently bought a Dell computer with MS Office with SP2. I also just purchased VSTO and, while attempting to install, was given the message that VSTO requires Office with SP1. I would assume that SP2 is an upgrade to SP1. What should I do
-
- Closing Excel.exe
by rchprog
- 4 Replies
- Last post
by rchprog
- I am programming a VB app in VS 2005 that interops with Excel and I'm having the classic problem that if I create and fill in a spreadsheet from VB then close Excel (from the actual Excel window), Excel.exe keeps running until the VB app exits.
I have spent the last few days basically looking through about 3 dozen posts that all say to use ReleaseComObject on every object you touch in Excel
-
- 64 bit OS?
by Arthlan
- 0 Replies
- Last post
by Arthlan
- Hi,
I purchased VSTO 2005 shortly after it came out. It cost about $700. I think it was one of the choices for purchasing Visual Studio. As I recall, the comparison chart had Visual Studio Professional for $700 as compared with Visual Studio with VSTO also for $700. One of the key differences seemed to be that I couldn't use the VSTO product to develop for 64 bits.
Assuming that I understand
-
- Error:The customization does not have the required permissions to execute.
by mahavir patil
- 0 Replies
- Last post
by mahavir patil
- Hi,
I have created a VSTO 2005 word docment project. And deployed on a web server(IIS) in a folder of my web application. Now what i want is, to associate this costomisation to the document which is on server itself for now( whcih in fact i ma pllaning to fetch from sharepoint site) which i am showing in a frame on the web page.
For that i am using Microsoft.office.interop.word document
-
- can I create a an exe that I can copy into a folder?
by joe25
- 2 Replies
- Last post
by joe25
- Hi,
I want to create an exe from VS 2005 for Office that will run (once the user allows rights to run if necessary) without any install. I would like that whatever additional files (dll's or whatever) could be copied into a folder and the user would be able to just run the program without any installation. The app would be a standard program (no non-MS refererences/dll's/add-ins) and the user w
-
- Publishing VSTO 2005 SE addin to a network location
by Rakesh Rathod
- 14 Replies
- Last post
by techno_adi
- Hi,
I want to publish my Outlook add-in build using VSTO 2005 SE to a network location so that updates can be automatically pushed to all users later. The steps mentioned for this are as follows:
In Visual Studio, use the Publish Wizard to deploy your solution to a server.
Make changes to security policy so that each end user can run the solution.
Create the required registry entrie
-
- "Unable to cast COM object of type" when using COM Interop assembly in Outlook add-in
by dyowee
- 1 Replies
- Last post
by dyowee
- Good day!
I created an Outlook add-in that uses COM interop assemblies (interop.<COM component>.dll, etc.). When I try to manually deploy that add-in, I'm getting this error "Unable to cast COM object of type". What I need to do is add this installation procedure in InstallShield instead of using the Windows Installer that I can create in the VSTO solution in Visual Studio. Is t
-
- HRESULT 800ac472 from set operations in Excel
by Fredrik Lindqvist
- 6 Replies
- Last post
by Jeff Hillman
- Hi everyone!
I have an interesting problem that I hope someone can give me an idea on how to handle:
If I try any set operations to for example an Excel.Range when I have start to mark a range of cells and havent finished by releaseing the mouse button, I get a COMException HRESULT 800AC472. It seems that when the mouse is used to select a range, the workbook is set to some particular un
-
- Excel add-in
by crissnet
- 4 Replies
- Last post
by crissnet
- Hi all,
I have developed an Excel 2007 add-in with VSTO SE, in ThisAddIn class I implement a CustomTaskPane object that contain a WPF control. The CustomTaskPane is used to select data from the database that I display in Excel's cells.
For each worsheet I want save the object "selection", how can I do There is a Worksheet property that I can set
Thanks in advance
Cris
-
- Getting data from an Excel WorkSheet
by JuanPa_EC
- 5 Replies
- Last post
by thorkia
- Ok, I know you've read questions like this before, but I'm sure this is an special case.
I'm trying to read some data from an excel worksheet, I use the next code:
OleDbConnection cnx = new OleDbConnection ();
string cnxStr = string .Empty;
OleDbDataAdapter da;
cnxStr = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=\"" + file_name + "\"; Extended Properties=\"Exc
-
- Replacing Shape in Word 2003 using VS 2005 - C#
by Anonymous_23232333333333333
- 3 Replies
- Last post
by Cindy Meister
- I am trying to create an app. that can replace pictures in a Word 2003 doc. The document allready contains placeholder pictures in the correct resolution and place. What i want to do is to select the pictures and insert a new picture in its place (while no changes occur to text etc.).
I can do this for InlineShapes, but when i do it for Shapes sometimes the text moves. What i do is:
1 s
-
- How to print a word document?
by vincent90152900
- 3 Replies
- Last post
by vincent90152900
- How to print a word document
Many thanks for replying.
-
- Managed Add-ins for Access
by nordis_24_7&#64;yahoo.
- 3 Replies
- Last post
by nordis_24_7@yahoo.com
- I'm still a newbie to Visual Studio, and MS-Access programming. I've gone through a tutorial that I found out on the MSDN as well as the help files for creating a Managed Add-in for Access.
This tutorial is entitled Introduction to Managed Add-ins for Access.
What this is supposed to do is go from my C# project, launch MS-Access, then a form I created.
From this point I click on one
-
- Not able to assign value for MAPIFolder.WebViewURL
by prabashmi
- 7 Replies
- Last post
by prabashmi
- Hi,
when i execute the below code block, the value for webviewon or webviewurl is not assigned with the value passed.
MAPIFolder folder;
folder = parentFolder.Folders.Add(folderName, Type .Missing);
folder.WebViewOn = true ;
folder.WebViewURL = http://mywebsite/mypage.html ;
Always, webviewon is with value "False" and always webviewurl is with value "n
-
- Remove borders from Excel charts using C#
by becklighter
- 14 Replies
- Last post
by becklighter
- I am building an excel file from scratch. this includes charts of data. In this particular case I need to remove the borders from the chart, but it doesn't appear to work correctly. // The next three lines are an attempt to remove the border, the fourth shows that I am controlling the chart ((Excel.ChartObject)oSheet.ChartObjects("Chart 1")).Border.LineStyle = Excel.XlLineStyle.xlLineStyleNone;
-
- Simple find and replace in MS Word is not working, new to vsto
by eanda9000
- 6 Replies
- Last post
by Cindy Meister
- Hi,
I am very new to vsto, less then one day. Basically all I need to do is find and replace text in the word document. While my code compiles, nothing is getting replaced The select works but the Replaces execute but noting appears to happen.
Please let me know if you have any ideas as to what the issue could be.
Thanks!
Protected Sub btnWordSR_Cli
-
- 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
-
- How can i convert a document fragment into a Xml fragment?
by Wen Jin-Chao
- 0 Replies
- Last post
by Wen Jin-Chao
- Hi,
We know that the document format of MS Office is xml.
So I want to know is there a way to convert a document fragement (such as i select some text in Word) into its "original"
xml stored in document.xml
Thank you for any help!
Best Regards
Wen Jin-Chao
-
- How to transfer excel file into html file with xls' function?
by Peter Peng
- 3 Replies
- Last post
by Dennis Wallentin
- Hi:
I used the SaveAs in Excel, but only transfer the static contents to html form.
But how can I keep the function of my excel file in html file
Thx..
-
- customizing Dialog Box
by Thekkepad
- 1 Replies
- Last post
by Cindy Meister
- Hi
I want to remove few of the items from the MSWord save dialogbox filter items. I tried FileDialogFilters.Clear() method but it threw " Method Not found "exception. I am doing this in the BeforeSave Event Handler
first of all am i doing correct thing( is it possible to remove the filters from the word save dialog Box by accessing FileDialogFilters object ) !!
Seco
-
- based on parameters et by user I extract image in a binary format.
by prashanth_prolific_coder
- 3 Replies
- Last post
by Cindy Meister
- based on parameters et by user I extract image in a binary format.
extaract image out of it
now i want to add that to excel sheet.
am able to open excel write text to it etc.but how about an image
Code Block
byte [] data = null ;
byte [] data =(( Config . Enterprise . SolutionLayoutVisio ) solution . Layout ). RawFile ;
data = (( Config . Enterprise . S