-
- Extracting Data out of Excel Workbook using VSTO without Excel\Office installed.
by Saurabh.Gupta
- 4 Replies
- Last post
by Saurabh.Gupta
- weird issue.
I have a web service that extracted data to database out of uploaded Excel files.
Our IIS folks have told they cannot have Excel\Office application installed on the sever\IIS Farm.
Is there I can do this without Excel installed on the server.
Really appreciate your time folks.
my code goes something like...
Dim exc As New Excel.Application()
Dim wk
-
- How to get Associated Icon of Attachment
by eXMresearch
- 6 Replies
- Last post
by Ji Zhou ¨C MSFT
- I'm working on an Outlook add-in, and I'm hoping to be able to extract the icon that's automatically associated with a file that's attached to a MailItem. I know that I could save it as a file and then look up the icon, but that seems slow and inelegant. Is there any way to get at it while it remains an Attachment
-
- Accessing Selected Email
by SirBob
- 7 Replies
- Last post
by SirBob
- I am trying to write a Outlook 2003 add-in that saves information from the currently selected email (sender, date body etc..) to a database, and saves the attachments to the file system. The idea is that the user is looking at a email, and clicks a toolbar button. They are promped for extra info like a ref number in a popup form.
I have created the toolbar and the popup form, and I can read
-
- Unable to cast object of type 'System.__ComObject' to type 'Microsoft.Office.Interop.Outlook.ApplicationClass'.
by AndersL
- 4 Replies
- Last post
by AndersL
- Hi,
I am trying to create an add-in for Outlook 2003, using VS2005, C#2.0, O2003PIA and VSTO. Outlook SP2 is installed.
I have created an Outlook add-in project, but get a cast exception when I am trying to create the application object - which I need to be able to add a button in UI.
I have been searching forever, but the only thing I find are people having trouble accessing AppointmentI
-
- How can I get position and size of all cell borders in MS Word table?
by Eugene S.B.
- 1 Replies
- Last post
by Cindy Meister
- I tryed something like this:
foreach (Cell cell in table.Range.Cells) { cell.Select(); x = (float)_application.Selection.get_Information(WdInformation.wdHorizontalPositionRelativeToPage); y = (float)_application.Selection.get_Information(WdInformation.wdVerticalPositionRelativeToPage);
width = cell.Width;
height = cell.Height; }
But this code returns correct X position only f
-
- Developing for both 2003 & 2007 with VSTO 2005 SE
by Brad Smith
- 9 Replies
- Last post
by Andrew Whitechapel - MSFT
- Okay, maybe this is a stunned question, but I want to make sure I'm crystal clear before I head too far down the wrong path. I did a search, and I understand all but one thing... I want to make an add-in for both Outlook 2003 and Outlook 2007. I *do* understand that the best (only ) approach is to make a "stub" add-in for 2003 and another "stub" for 2007, and have them each cal
-
- VSTO & Outlook custom regions
by Jan Kučera
- 6 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hi,
Is there any support for Outlook Custom Regions in VSTO 2005 SE I mean sample FormRegionStartup class like with Ribbon.... (and perhaps without needing to modify registry manually)
I have tried to follow a couple of walkthroughs (both MSDN and from Outlook blogs) but I have a little successs.
System.ArgumentException: The value entered for the DesignMode property is not valid. En
-
- Determine Color Scheme in Word 2007
by serora
- 2 Replies
- Last post
by Cindy Meister
- In Word 2007, how do I determine the currently active color scheme (blue, silver, black) from a VSTO c# add-in
-
- Console.WriteLine() - Visual Studio 2005 - VSTO SE
by Apuhjee
- 6 Replies
- Last post
by Mike Morton - MSFT
- I'm attempting some low-tech debugging in an Outlook 2003 Add-in, but Console.WriteLine() does not result in any 'Output' window results... Could this simply be a Visual Studio setting A known problem Not possible Me just being retarded
Thanks much ~ jp
-
- What's this multiple windows, xml expansion error all about? I keep getting it!
by W.Lau
- 1 Replies
- Last post
by Andrew Whitechapel - MSFT
- Hi, I've been trying for the longest time to figure this out. Through some magic, I got it to work once, but I guess the magic is gone. I have no idea what is wrong. I keep getting this error message saying: You are currently viewing this document in multiple windows. To attach an XML expansion pack, you must first close all additional windows so that you are viewing the document in only one wind
-
- ListBox does not appear on my Form Region
by Romain Vailleux
- 14 Replies
- Last post
by Graphtyrael
- Hello there !
I am building an application based on Outlook 2007 and VSTO 2005 SE and I encounter an unexpected problem : an Office Listbox control placed manually on a outlook custom form through the Outlook 2007 form editor doesn't appear when the form render during the application running. But, it seems to be instanciated and to be contained correctly in the form : I can use it, add som
-
- Adding a macro to excel using C# in asp.net
by becklighter
- 12 Replies
- Last post
by Denis BDA
- I am creating a customized excel report for my company using a webpage. Part of the excel file is a macro to handle printing though, and I can't seem to get it to work correctly. The code works... The page building the report impersonates a user that has access to Excel. Excel files can be created but, when I attempt to add the print macro I recieve this error: Programmatic access to Visual
-
- visual studio tools for office
by Kithsiri1
- 3 Replies
- Last post
by Kithsiri1
- I want to call a print dialog box from a command button in an excel sheet. I cant see the common dialog control in the control tool box. How can I add a custom control to my work sheet
-
- VBA to SQL Server database
by FKruger
- 2 Replies
- Last post
by FKruger
- Hi
Appologies up front if the terminology in this question is not correct - I am very much a VB beginner - with grandious ideas.
I am floundering around trying to figure out how to run a parameter query using VBA.
I have already defined the query in Excel - Data > Import External Data > New Database Query) from Excel VBA
The query accesses a SQL Server database
It is working u
-
- 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
-
- Hello, can i protect parts of Word 2003 using C#
by nickylba
- 2 Replies
- Last post
by nickylba
- Hello, can anyone help me to solve the folloing question Thanks in advance! I prepared to protect some parts of Word document such that it is not editable for everyone. I find that there is a article saying that one can first protect the whole docment, make it uneditable, and then unlock the the bookmark that you want to edit. The uri is http://msdn2.microsoft.com/en-us/library/ms178793(VS.80).as
-
- New button in Navigation pane in Outlook 2007
by dyowee
- 1 Replies
- Last post
by Sue Mosher - Outlook MVP
- Good day!
Is it possible to add a new button in the navigation pane of Outlook 2007 using VSTO Then show a web page when the button is selected
Thank you very much.
-
- Getting an handler on a Word.ApplicationClass or his System.Diagnostics.Process
by TSalm
- 1 Replies
- Last post
by Geoff Darst - MSFT
- hi all, I'm searching for a way to get an handler the Word.ApplicationClass process or his System.Diagnostics.Process. Thanks in advance for your help, TSalm
-
- Error on Auto Update
by Michael Gump
- 1 Replies
- Last post
by McLean Schofield - MSFT
- I have installed my add-in locally to setup all the registery entries and also published it out to a server. I copied over the AddIn .dll.manifest file from the published location under the version 1.0.0.0 directory. I then create another version of the add-in and deploy it to the server under 1.0.0.1. However, when I go back into Outlook add-in is not loaded. I set the VSTO_LOGALERTS=1 to get any
-
- Properties on outlook2003 folders
by RuneG
- 1 Replies
- Last post
by Andrew Whitechapel - MSFT
- Hello I have a question regarding user properties and MAPIFolder object. In the Outlook 2007 object model I can do something like this: Outlook.MAPIFolder folder = explorer.CurrentFolder; folder.UserDefinedProperties.Add("myUP",Microsoft.Office.Interop.Outlook.OlUserPropertyType.olNumber, missing, missing); In the Outlook 2003 object model I do not have that possibility, (no fol
-
- Avoid Duplicates Contacts in Outlook programmatically
by manjunath cv
- 5 Replies
- Last post
by Sue Mosher - Outlook MVP
- I am writing a app in C# which sync Contacts from web and outlook the problem is i maintain a hash value to check whether the contact is modified or not......... and corresponding UID in changelog to keep track of contacts......... if in case if change log is accidentally deleted for some reason or if user syncs from different Computer i get duplicates as references is lost......... Is there any s
-
- class libraries
by Nick230782
- 1 Replies
- Last post
by X4U
- ok this will probably make me look really stupid but...
I am a student who is doing a project using vsto and excel. I have never used c#/vsto/vs/.net before, all my previous experience is in java.
I'm getting really frustrated because I'm finding the .net class library really confusing - I can't find the class libs for the VSTO stuff - i can get to this page:
http://msdn2.micr
-
- Collect information using the EntryId ?
by Monico
- 4 Replies
- Last post
by Monico
- Hello, I would like to know if it's possible to collect appointment's information just using the EntryId. In fact, I can collect all information in the addin, but I would like to open a winform for the user choose other information, and in this form I pass in paramater the EntryId. So in this form, I would like to collect again the appointment's information with this EntryId (or other) like the su
-
- Failure installing 2007PIA¡¯s for a VSTO Outlook Add In
by David Ghikas
- 5 Replies
- Last post
by Levanter
- Hi,
I have a VSTO Outlook Add In application. I have installed and tested the application on a number of PCs with Outlook 2003 no problem.
The installation package was created by following the guidelines in Microsoft's Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer document (part 1& 2). See http://msdn2.microsoft.com/en-us/li
-
- Problem with Normal Template.
by eCNINDIA
- 4 Replies
- Last post
by eCNINDIA
- Hello
I am using VSTO for open my own Template. As my requirement I want only Save and Print button when document is open. I have disabled the all other button programmatically but when I am closing document it give me message that ¡°Normal.dot has changed¡±. Now my problem is that I don¡¯t want to change normal template.
Code is like below.
Code Snippet
object miss