-
- Read only protection of VSTO document crashes Word when reloaded.
by Adrian Leeming
- 12 Replies
- Last post
by Adrian Leeming
- I have a document Template project in VSTO 2005 SE using Word 2003 SP2 11.8125.8122 and Visual Studio 2005 Professional with SP1 installed.
The document template has some cached data and code for a task pane connected to it.
Basically when the user creates or edits a document from the template I need the document to be read only and when items are picked from the task pane I then add new sec
-
- Trapping Excel Window Scroll Events dosn't work
by ilhamik
- 2 Replies
- Last post
by ilhamik
- Hi,
I want to trap Excel Window Scroll Events so i have a subclass of NativeWindow and it overrides the WndProc method. It receives some messages but none of them is scrolling message. What should i do to get scrolling messages
My code:
Code Snippet
private const int WM_HSCROLL = 0x114;
private const int WM_VSCROLL = 0x115;
protected override void WndP
-
- MS Word COM object problem
by Utku Selamoğlu
- 2 Replies
- Last post
by Ji Zhou ¨C MSFT
- hi,
i used the Com object of (MS Office word 11) i added as a reference changed the web config and dcomcnfg i did everything and i used it. but suddenly my application started not to work. Can anybody help me about this issue
i think the changes that i have made could affect the application start up. My application start after i get login it locks.
thanks so much
utku selamoglu
-
- VSTO 2005 and VS 2005 Pro - how to get all features of both
by markco2
- 1 Replies
- Last post
by Robert Green
- Sorry if the answer is already out there and obvious but I can't find it and need to make a purchasing decision:
I'm using VS 2005 Team Suite Trial Edition. I don't need all that this version has to offer. Basically I want VS 2005 Pro with full VSTO capabilities. I understand that VSTO SE will help but doesn't offer full capabilities. I also need the capabilities in VS 2005 Pro that aren't in t
-
- Predictive Text in Word 2007
by dirty-shirt
- 3 Replies
- Last post
by dirty-shirt
- Hi all, I was just wondering if it was to possible to use predictive text in Word. What I had in mind was something like in Visual Studio where it would give you a menu with the possible options.
Cheers,
Tim.
-
- VSTO Outlook 2007 Add-In Install Error
by E K R
- 7 Replies
- Last post
by The Rizzle
- I have an Add-In that I created that adds a new menu item in the Outlook 2007 menu toolbar. Everything works fine when I run the debugger. When I try to install the Add-In on my machine I get an error stating: Cannot set the security policy: The specified solution code group name is not valid.
I have verified that in Custom Actions the install, rollback, and uninstall solution code group
-
- AppCheck.exe fails to find Office 2003 installed
by AndyJump
- 3 Replies
- Last post
by AndyJump
- I have an outlook addin that I have created using the VSTO.
It works on my machine but when I try and install it on anoher machine (I've only tried the one) for testing it fails saying it can't find a compatable version of Excel. Looking at the installation log (see below) it seems that it only mentions Excel as it's the first list and in fact it can't find Outlook or Word either. Off
-
- <path> is not a valid office add-in vs2005 and outlook 2003
by Mark Henneman
- 14 Replies
- Last post
by AlanW2
- Hi, i'm using vs2005 and the outlook add in to build an add-in for outlook 2003. But when I want to debug the add-in, it is not loaded by outlook. I can see the dll when i go to the com add-ins. When I want to activate it, outlook just clear the checkbox. When I want to add it manualy I get the exeption "<path> is not a valid office add-in." The frustrating part is that it was working
-
- creating an xll
by A7Zulu
- 6 Replies
- Last post
by A7Zulu
- I created an XLL that has 3 functions, each one depending on the one called in front of it.
I have a function that initializes all the data variables in the XLL (data is all static). I have a function that feeds updated variables to the XLL. Then I finally have one last function that just returns an array (FPARRAY) from the XLL to be displayed in Excel. My problem is if any of the functions
-
- Convert word doc to pdf
by mrleokarthik
- 14 Replies
- Last post
by imatworknow
- Hi,
I need to convert word document to pdf file using C#.2
Iam having
MS visual studio 2005 professional (and also MS VS.2003 enterprise ed)
MS Office 2007
I have downloaded SaveAsPDFandXPS (used to convert doc to pdf)
Microsoft Visual Studio 2005 Tools for Office Second Edition Runtime (VSTO 2005 SE)
My question is
Do i need "MS visual studio 2005 for o
-
- Where is the SmartArt object model?
by globesoftware
- 2 Replies
- Last post
by globesoftware
- Microsoft...please don't tell me there is no way to change smartart text using code (C#, VBA...anything will do!).
I can't seem to find an object model for this.
Any ideas
Thanks
S
-
- outlook button not opening anything
by Bear23
- 5 Replies
- Last post
by Andrew Cherry [MSFT]
- I have posted a question in reguards to creating a button in the new mail form. the button is created and looks great. however no matter what code I place in the click even nothing works.
I tried having the button open a form, I tried using the outlook snippets from Microsoft to insert an attachment and nothing seems to work. the only thing i can get it to do is open a messagebox.
Al
-
- Why Don't Excel Objects Have Collections?
by _Raeldor_
- 2 Replies
- Last post
by Cindy Meister
- It seems I cannot do... Excel.Workbook book = xl.Workbooks[DestinationWorkbookCombo.Text]; foreach (Office.DocumentProperty property in book.CustomDocumentProperties) I have to do... Excel.Workbook book = xl.Workbooks[DestinationWorkbookCombo.Text]; Office.DocumentProperties props = book.CustomDocumentProperties; foreach (Office.DocumentProperty property in props) Wha
-
- Outlook 2003 Add-In being disabled
by Large_Goose
- 2 Replies
- Last post
by Large_Goose
- I have seen several posts on this subject but I have yet to find one that answers the question about what is really going on.
What I have found my my Add-In is that there are two scenarios that VSTO doesn't seem to be able to deal with.
1. Sending a file to a Mail Recipient using right click in explorer
I really would have expected this to work and the Add-In would just have to catch that
-
- Extending form region's control properties
by Rama Krishna rao
- 6 Replies
- Last post
by Rama Krishna rao
- Hi, Is there any way to add custom properties to the the controls which are drag and dropped to a form region when we right click on the control and select properties., we should be able to see and edit these custom properties along with default properties Thanks, Rama
-
- How to combine two ranges?
by Dmitriy Ovdienko
- 12 Replies
- Last post
by Cindy Meister
- Hi All
Do you know any method that can combine two ranges
Using following code I can't achieve this because COMException is raised with HRESULT 0x800A03EC:
using Microsoft.Office.Interop.Excel;
Range r = sht.get_Range( "B2,C3" , missing ); // faires COMException with HRESULT = 0x800A03EC:
-
- Get The text of Words from a word document
by Corby111
- 14 Replies
- Last post
by Pweeks
- This may be a topic for some other group, but this group gets replies faster then then Automation or some other Word groups, so maybe someone here knows this.
I really want to thank Cindy for pointing me in the right direction for what I wanted to do. I ended up using the DsoFramer control to host my word doc, and now I have the document loaded, when I first saw the Word.Document.Words collecti
-
- Retrieving data from SQL Server to Excel
by Everardo Gentil
- 3 Replies
- Last post
by Christa Carpentiere - MSFT
- I'm developing a solution to creat pivot tables in a Excel's workbook from data in Sql Server 2005. When I run the project in my local machine (Windows XP Pro Portuguese with Office 2007 English) it returns the workbook with the pivot table desired. However, in the development machine (Windows Server 2003 English with Office 2007 Portuguese) the program returns the follow message: "Erro de si
-
- Problem deploying Excel 2003 add-in
by RichardHamel
- 7 Replies
- Last post
by RichardHamel
- Hello, I successfully created an Excel 2003 add-in using VSTO SE on VS2k5. When I run the app in debug mode, the add-in displays properly within Excel. When I run the installer, the add-in does not appear (even on the same machine as the development environment. I ran the client troubleshooter tool and everything seems to be there. For some reason I can only get the add-in to activate when run in
-
- C# Outlook 2003 add-in accessing the sender address when using Microsoft Exchange
by CoreyOg
- 3 Replies
- Last post
by CoreyOg
- I've added a button to the "Compose Message" window and what I'm having troubles doing is when the button is clicked, I want to assign whoever is sending the email (the "from" address) to a String variable so I can use it. I have it working correctly for people using your regular SMTP server but when somebody is using a Microsoft Exchange server, all I get is "\o=organizat
-
- error while creating object for outlook
by Gnana
- 22 Replies
- Last post
by Gnana
- Hi,
I am trying to open addressbook from my C#.Net web application
i am successful in opening addressbook through my code.
my application is not giving any errors when i am running on my machine.
but
when i hosted my application in windows server 2003 and trying to access that same applications from other machines it is throughing an error at..
Outlook.Application oAp
-
- Reading pane previewer in Outlook 2007
by Jan Ku&#269;era
- 14 Replies
- Last post
by miloush
- Hi,
how can I write (and register) my own previewer for attachments Any tutorials available
Thanks
-
- Why FolderSwitch event doesn't rise up sometimes?
by Freeson Lee
- 2 Replies
- Last post
by Freeson Lee
- Hi
The code is
Code Block
private void ThisAddIn_Startup(object sender, System.EventArgs e) {
this.Application.ActiveExplorer().FolderSwitch += new Microsoft.Office.Interop.Outlook.ExplorerEvents_10_FolderSwitchEventHandler(ThisAddIn_FolderSwitch); }
If I switch folder to Inbox, the ThisAddIn_FolderSwitch method is invoked. Then later, it won't be
-
- Delete selected word content
by Whisky Fudge
- 3 Replies
- Last post
by Cindy Meister
- I'm wanting to know how to delete existing selected content in word using VSTO 2005 SE. The specific problem I'm having is when the user selects some text including existing content controls and chooses to replace it with another content control my solution throws an error. Thus it seams to me I need to delete the existing selected range, however I'm finding the delete method is not working as exp
-
- Installing word 2007 add-in
by radiorus
- 3 Replies
- Last post
by Darryn Lavery -- MSFT
- I write word 2007 add-in.Then I create installation package.Then I install this add-in on other PC. Then try to add add-in in word settings(select dll or manifest) them I have error = not valid word add-in! How I can install add-in in client PC