-
- Email Address of the Current User
by Andy Ho
- 10 Replies
- Last post
by 007DeeJay
- 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
-
- does visual studio tools for Microsoft Office......
by srichand
- 7 Replies
- Last post
by Peter Jausovec
- hi, this is srichand. does Visual Studio Tools for Microsoft Office provides add-in plugins for outlook.... i have VSTO(SE) up on installing it i got an error regarding the registry key where can i find solution for that.. thanx one and all... srichand
-
- Word Addin - file path is not getting highlighted.
by Jahid
- 2 Replies
- Last post
by Cindy Meister
- I have developed an addin in C# .Net 2003 and using framework 1.1. After installing this custom addin I am facing a problem while inserting the path of the file in a word document.
Steps to reproduce the issue.
1. Put your cursor at the point in the document where you'd like the path and filename to appear (header or footer, etc.) 2. Click the Insert menu 3. Choose Field... 4. Sel
-
- AddPicture Method Fails with a .docx Document in Word 2007
by Marcus_dotnet_programmer
- 7 Replies
- Last post
by Cindy Meister
- Here is a snipet of the code that fails:
(This is a Visual Basic.net addin for Microsoft Word)
Dim TextBox As Word.Shape
TextBox = app.Selection.HeaderFooter.Shapes.AddPicture(sLogo, False, True, nHPos, nVPos, nWidth, nHeight)
This line of code consistently fails and returns an "Unspecified Error" (ErrorCode -2147467259)
This error happens consistently when trying to
-
- 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
-
- Hide and show a OlkTextBox control in a formregion
by Raul Rosenloecher
- 4 Replies
- Last post
by Raul Rosenloecher
- Hi all, how can I hide and show again a OlkTextBox control in a formregion (VSTO 2005 SE) There is no function or property like "show", "hide", "visible".. Thanks, Raul
-
- Access microsoft excel from different thread.
by calo_
- 2 Replies
- Last post
by Geoff Darst - MSFT
- Hi,
I have a c# applcation that creates an excel application object, open a workbook and read/write data from/to an an active sheet. All works fine as long as I use the same thread for all accesses to the excel application object.
Now, in my application, I acquired data in real time and store them inside two buffers that I use in a ping-pong manner. Once a buffer is full, I raise an event th
-
- How to process a Office document which is encrypted by RMS
by sharpMoon
- 4 Replies
- Last post
by sharpMoon
- PS: i programme it with C#
-
- Displaying Excel Chart In Windows Forms
by armand149825
- 2 Replies
- Last post
by Anonymous12321232
- Hi,
I am using VSTO to get access to excel charts. It there anyway to have the created charts be displayed in windows form rather than within Excel
When I run my application Excel starts up and my chart is displayed there in a worksheet, but I want the chart to be displayed in a form. And I don't want Excel to be openned at all.
Best Regards,
Armand
-
- VSTO Add-in for Word 2003
by Jonathan566279
- 5 Replies
- Last post
by Cindy Meister
- Hi, I want to develop an application-level customization for Word 2003. So I installed :
Office Pro 2003
VS Pro 2005
VSTO 2005 SE But, in the project types tree, I can only choose between a document-level customization and a shared add-in. Can you help me
-
- How to convert active document of type Microsoft.Office.Interop.Word.Document to Microsoft.Office.Tools.Word.Document ?
by Anita H Punjabi
- 3 Replies
- Last post
by satpp
- Hi,
I have an Word application object. From that we have access ActiveDocument which is of type
Microsoft.Office.Interop.Word .
But we want to convert it to Microsoft.Office.Tools.Word. Document so that we can access the property AttachedTemplate.
Trying to type-cast, throws an exception...
Microsoft.Office.Tools.Word. Document activeDocument = (Microsoft.Of
-
- how to change the string colour
by ramsudheer
- 2 Replies
- Last post
by ramsudheer
- how i able to change the string colour in c#
suppose i have String str="ram sudheer";
so for this string there no option to change the colour. so that i should not use of any controls like textboxes,etc..
so can u please tell me..
-
- getting a HRESULT = 0x800A03EC error when using get_Item
by ExcelToXML
- 3 Replies
- Last post
by ExcelToXML
- Hi, I discovered VSTO a week ago, so it might be a beginner error . My program is quite simple. I created a custom task pane with one button. When the button is clicked, the following method is called :
Code Snippet
public void CallTest() { oWorksheet = (Excel.Worksheet)Application.Worksheets.get_Item(1); Excel.Range myRange = (Excel.Range)oWorksheet.Rows.get_Item(1, System
-
- CustomTaskPane BackColor
by Thierry Nenin
- 14 Replies
- Last post
by tomdeloford
- Hello,
Anyone of you have an idee on how to retrieve the BackColor a CustomTaskPane should have
In other words, in a Docmuent solution for excel 2003, before or after adding a user control to the ActionsPane, i just had to do
_myUserControl.BackColor = ActionsPane.BackColor in order to match current excel color scheme...
How can i do this with a CustomTaskPane created in an excel 2007
-
- Deploying a VSTO 2005 document
by JocularJoe
- 4 Replies
- Last post
by Misha Shneerson - MSFT
- I understand that a document (in this case an Excel 2003 Workbook) developed using VSTO 2005 requires the VSTO 2005 runtime to be installed on target users' machines.
Is it sufficient to copy the referenced VSTO 2005 assemblies to the private bin folder used by the workbook, or do I need to install the runtime in the gac using VSTOR.EXE
NB the users' machines already have Office 2003
-
- How to Import a .msg and .pst file into Outlook 2007 with C# code?
by TestCaseTim
- 6 Replies
- Last post
by TestCaseTim
- I need to import .msg and .pst containers into Outlook 2007 using c#. I am aware of the CreateFromTemplate method, but this alters the message by saving it as an unsent email. I want to import the message items into Outlook without modifying them, just like if I imported them manually through the UI. I don't know Extended MAPI and was trying to avoid using Redemption if possible. If these are my o
-
- Add Image to Outlook ToolBarButton w/VSTO 2005 SE for OL2003+
by Tadwick
- 2 Replies
- Last post
by Tadwick
- Hi,
I've googled and searched MSDN including this forum and there seem to be a myriad ways of adding images to Office command bar buttons. One article
http://msdn2.microsoft.com/en-gb/library/ms268864(VS.80).aspx
points out that the technique therein does not apply to VSTO 2005 SE. Can anyone suggest a straightforward method of doing this with VSTO 2005 SE and not using the ribbon since I
-
- Problem Reading Excel Dates. Excel date gets converted to Double value in DotNet
by Darshan Parekh
- 2 Replies
- Last post
by Darshan Parekh
- Hi,
I need to upload the data in excel in to MSCRM. I am using ExcelSnapIn for this.
While reading cell by cell data, i am facing very wiered problem.
The Date value in Excel is getting converted as double in the dot net code.
My code looks like this.
Dim Sheet1 As Excel.Worksheet = DirectCast (Application.ActiveSheet, Excel.Worksheet)
Dim rng1 As Excel.Range = D
-
- OUTLOOK 2003 Resource Booking ?????? Using VSTO 2005
by BillyDvd
- 8 Replies
- Last post
by BillyD
- So, my is ... At what point is the Resource Booked
I have code that I would like to "hold" from processing until I know for sure that the resource has been booked!
Is there anyway to do something like this
Thnks
Bill
-
- Serious Outlook Issue
by Uifz
- 3 Replies
- Last post
by Sue Mosher - Outlook MVP
- Good Afternoon folks, Several weeks ago after obtaining Office 2007 Pro, installed all programs successfully. So I proceeded to go to Outlook and configure my accounts. Well, I tried configuring a Microsoft Exchange Server and it failed because my corporate does not allow outside access to our emails. Well, I didn't know that at the time, so I received a message saying 'could not connect to MS Exc
-
- Cache data in workbook created from addin
by Johan Nordberg
- 4 Replies
- Last post
by Cindy Meister
- For VSTO documents and templates there's a really nice feature that allows you to cache data in the document. Is this functionality available when you create a new workbook from an addin
-
- Can VS 2005 professional and VSTO 2005 co-exist??
by Christian Sánchez
- 5 Replies
- Last post
by Cindy Meister
- I have both but I can't get them to work together as one product... Is it possible to install both products and work with them together I wanted to make a Word Document but I don't have the option to do so in my VS 2005 Professional :( Any Help
-
- Calling .Net Class Library
by Charles Tam
- 1 Replies
- Last post
by Cindy Meister
- Is there a version of MS Access which support calls to .Net Class Library
For example, would MS Access 2007 be able to call .Net Class Library written in C++/CLI (vs2005).
-
- Post It Note Type Comments Control In Word Document
by Corby111
- 8 Replies
- Last post
by Cindy Meister
- I knew there was a reason I was looking at VSTO, I have a C# Windows App, and I am showing the user a Word doc using the DsoFramer control for viewing and editing.
All this works fine, what I would like to know how to do (and I do not know if an AddIn or a WordProject is my best bet) is how do you create a "Post It Note" type control allowing the editor of the document to "Add Po
-
- Security issue accessing outlook from a Word Add-in
by Mikkel Skovby
- 7 Replies
- Last post
by Sue Mosher - Outlook MVP
- Hello
I am currently developing a Word 2007 add-in (C# VSTO) that access some contact information in outlook (2007). I get the "A program is trying to access e-mail address info... etc." warning. How can this be avoided and is there any possiblity of deploying it automatically
I read a lot about group policy, and trusting COM add-ins, but the addin should be able to run on a standa