-
- smarttaglib: assembly binding to different office versions
by dhoelzl
- 1 Replies
- Last post
by Misha Shneerson - MSFT
- hello,
i am currently working on a new smarttag-addin for both office 2003 and office 2007, and so i included a COMReference to my project:
<COMReference Include="Microsoft.Office.Interop.SmartTag"> <Guid>{9B92EB61-CBC1-11D3-8C2D-00A0CC37B591}</Guid> <VersionMajor>1</VersionMajor> <VersionMinor>2</VersionMinor> <Lcid>0<
-
- gridlines in excel
by JohnnyRo
- 4 Replies
- Last post
by Ji Zhou ¨C MSFT
- what is the command to hide gridlines on an excel spreadsheet I've looked and can't find it. Thanks
-
- Form Region display issue
by Rafael1119
- 14 Replies
- Last post
by Rafael1119
- All,
Is it a known issue that the Form Region text boxes and labels cut off the text and change the font size automatically
Has anyone figured out a way to make the form regions look exactly as they did when you designed them
Thanks,
Rafael
-
- How to know the current hight of the cell in a Microsoft document via c# program.
by vincent90152900
- 3 Replies
- Last post
by vincent90152900
- I use Word Application object to operate a Microsoft Word file.
I would like to know the current the hight of a specific cell in the table.
When the HeightRule is wdRowHeighAuto and the Height propertys always be 9999999.0.
How to do get the current Height of the cell
Code Snippet
// Declaring the object variables we will need later object varFileName
-
- Difference VSTO 2005 SE and VSTO in Orcas
by __Christian_Bitter__
- 1 Replies
- Last post
by Dennis Wallentin
- The subject says it all ...
Will there be any difference between what is available (features, runtime/deployment) now in the VSTO 2005 SE compared what will be available with Orcas
Christian
-
- Converting Interoped Code to Managed Code
by PaulNations
- 9 Replies
- Last post
by Sue Mosher - Outlook MVP
- I have an old VB6 program that uses Word automation to fill in a bunch of bookmarks with text from the database. I urgently need to rewrite it, as it only works on a few relic machines now. When I started the conversion I see that the Bookmark.Range object has been deleted from the .NET object model. I'm trying to download the new definition from http://www.microsoft.com/downloads/details.aspx fam
-
- 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;
-
- Emulate document-customization with VSTO SE using templates.
by spano
- 2 Replies
- Last post
by spano
- I'm trying to emulate a document-customization add-in from within an application level addin for Excel 2007 using VSTO SE. I was thinking of loading an Excel template or workbook when a custom button of my addin is pressed. Is it possible to apply an Excel template to the active workbook How can I do that
-
- How to add pages to a word document
by Parus2
- 1 Replies
- Last post
by Cindy Meister
- I have a .dot file from which I create a word document where I fill in the bookmarks from the .dot file
Now I want to add multiple pages in the same document, created from the same .dot file.
How do I program this
-
- CAS Policy Issue in Oulook add-in? WebBrowser Control not allowing active content w/out approval each time
by Tadwick
- 3 Replies
- Last post
by Tadwick
- In my Outlook add-in I have a windows form with a webbrowser control that loads an html page with an embedded activex control. On both my development machine and client test machine I am running XP SP2 w/IE7 and I have the IE7 advanced options set to allow active content to run in files on my computer.
On the development machine I get no information bar warning in IE7 or my webbrowser control.
-
- Can't install VSTO 2005 SE on Office 2007
by Fraser Drysdale
- 5 Replies
- Last post
by JimCrist
- What this doesn't address is that one can't install the VSTO SE package without already having the first version installed. This requires an Office 2003 SP1 product. The only Office 2003 item we used was Outlook, but since that was part of our Exchange 2003 license (even though it included all the secondary office appliations - ie - scanning, etc.), it won't allow us to install the original VSTO 2
-
- KB928365 as an installer prerequisite?
by BenDowling
- 3 Replies
- Last post
by BenDowling
- The problem KB928365 (.NET update) causees is well documented on these forums: It removes security settings, preventing VSTO addins from running. My problem is that I have an installer for a VSTO2005SE addin. The installer installs .NET and the addin run fine, until Windows Update automatically installs KB928365, and the addin no longer runs, until the user does a repair using the addin installer
-
- [C#] [VSTO Word] File in use
by IgorP
- 2 Replies
- Last post
by Phil Hoff - MSFT
- Hello, I am trying to open a word document, using the following code: Word.Application app = new Word.Application(); Word.Document doc = new Word.Document(); doc = app.Documents.Open(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref miss
-
- MSI and EXE files created using VSTO SE Template and VS2005 do nont install correctly.
by Ayush Shrestha
- 1 Replies
- Last post
by Ji Zhou ¨C MSFT
- I've created an add-in for Outlook 2003. When I run it from Visual Studio it runs and loads quickly and correctly. However when I try and install it using either the MSI/EXE it doesn't seem to work. There is no notification as to why it did not work. However with a little snooping I have managed to find out that there is an error during loading at the begining. Now my question is how do I get more
-
- How to make sure I selected the correct emial in the mail list?
by VSFW3
- 2 Replies
- Last post
by VSFW3
- Hi,
How am i able to select the particular mail from the inbox default folder so that i need not need to open up the mailitem in order to do my work.
e.g
i select a mailItem from the inbox and i click on the delete button to delete the mail. I wanted something like that so i do not need to open up the mailItem.
Thank you
VSFW3
-
- Application.OnKey
by Marius.Cotor
- 1 Replies
- Last post
by Cindy Meister
- I want to disable short-cut "ctrl+s" in excel.. I use: Application.OnKey("^s", ""); But I want to activate again this chort cut. Application.OnKey have 2 parameters, string key and object procedure.. For reactivate short cut must second parameter to be omissed. Parameter is optional but in C# not exist overload of this method and must specified both parameters. I try
-
- Excel: Dynamically creating controls + refresh problem
by Michael Jensen.
- 5 Replies
- Last post
by Michael Jensen.
- Hey.
I am creating a certain number of checkboxes dynamically. My problem is that if user moves cursor or press a mousebutton while checkboxes are being generated then the checkboxes aren't painted onto the screen. Basically they aren't visible. Its only if user moves cursor over them they become visible. I know I can remove ScreenUpdating but I would like it if all the ch
-
- 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
-
- hebrew date in outlook
by amosexy
- 5 Replies
- Last post
by Ji Zhou ¨C MSFT
- hey
i try to get a hebrew daye from the putlook object and i dont know the function
how can i get with vb the hebrew date and the holiday from outlook
tnx
-
- appending data to an excel sheet
by sounddoc
- 3 Replies
- Last post
by Cindy Meister
- Hi all,
After searching around for a couple hours i'm finding it hard to believe that there's not a lot more info on what would seem like a simple thing: appending data (row) to an existing excel sheet in vb.net
Basically I have an excel sheet that I want to add a row of data (with about 6 cells) from my app each time it's run. is there a method built in to append to existing rows, o
-
- Outlook 2003 Stationary and font color
by Don3335
- 1 Replies
- Last post
by John R. Durant - MSFT
- When using a stationary background my signature font color changes from what my settings are set at. But if I remove the stationary background all is well. Is this normal
-
- Cannot cast interface: 0002096B-0000-0000-C000-000000000046
by mareich555
- 3 Replies
- Last post
by Ji Zhou ¨C MSFT
- I have an application that needs to extracted emvedded office files from Word and Excel files. I have the extraction working for Word documents with the current code snippet: private int extractFromWord(string fileName, DataTable docTable, string explodedDirectory) { FileInfo fi = new FileInfo(fileName); int fileID = Utilities.GetIDFromFileName(fi.Name); object verbIndex
-
- Email Address of the Current User
by Andy Ho
- 20 Replies
- Last post
by Andy Ho
- Hi,
How can I get the Email Address of the Login User from Outlook.
The Me.Session.CurrentUser.address return a lot of additional data, what I want is just the Email Address.
Thanks.
Andy Ho
-
- Word Add-in not available while opening documents
by kcthota
- 7 Replies
- Last post
by Cindy Meister
- Hi, I have written a word add-in which consists of a command bar button. My add-in is available if I launch Word 2007 program. However, if I open an existing document the add-in is unavailable.
Please let me know what should be done for my add-in to be available while opening an existing document also.
Thanks
-
- Seeking opinions on the structure of a new VSTO book
by Bill Sempf
- 5 Replies
- Last post
by Cindy Meister
- So, I am writing VSTO for Dummies. I wrote VB for Dummies, so it makes sense - VB type programmers will make really good use of VSTO I think.
My initial concept for the book was three parts.
Part 1: Concepts and design Part 2: Addins Part 3: Smart Documents
In part two and three, I was planning on having a chapter on each Office platform that supports that feature.
Well, now that I