473,569 Members | 3,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add in for MS office

I would like to create addIn for outlook,word and excel.

That is a new button on menu bar. When user open a new mail message or word
document or excell document, the button shows on menu bar, and when user
clicks this button, I read the projects of the current user from the
database and when user select the project,
the opened document (which is a mail message, word file or excell file) is
saved to the database with the selected project ID.

How can I do that in VB.net. What kind of project I should create?
Any example or ideas?

Thank you,
Simon
Nov 21 '05 #1
4 1170
Hi,

There is wizard for creating office add ins. Create a new project,
Other projects, extensibility projects, and select shared add in.

Ken
----------------------
"simon" <si*********@st ud-moderna.si> wrote in message
news:eO******** *****@TK2MSFTNG P12.phx.gbl...
I would like to create addIn for outlook,word and excel.

That is a new button on menu bar. When user open a new mail message or word
document or excell document, the button shows on menu bar, and when user
clicks this button, I read the projects of the current user from the
database and when user select the project,
the opened document (which is a mail message, word file or excell file) is
saved to the database with the selected project ID.

How can I do that in VB.net. What kind of project I should create?
Any example or ideas?

Thank you,
Simon

Nov 21 '05 #2
Thank you very much, taht is what I need.

Do you have some simple example for start, maybe link to it or some
recommended book?
Or can you give me some instruction to achive the required functionallity?

Thank you,
Simon

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:ei******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

There is wizard for creating office add ins. Create a new project, Other projects, extensibility projects, and select shared add in.

Ken
----------------------
"simon" <si*********@st ud-moderna.si> wrote in message
news:eO******** *****@TK2MSFTNG P12.phx.gbl...
I would like to create addIn for outlook,word and excel.

That is a new button on menu bar. When user open a new mail message or word document or excell document, the button shows on menu bar, and when user
clicks this button, I read the projects of the current user from the
database and when user select the project,
the opened document (which is a mail message, word file or excell file) is
saved to the database with the selected project ID.

How can I do that in VB.net. What kind of project I should create?
Any example or ideas?

Thank you,
Simon

Nov 21 '05 #3
Hi,

http://msdn.microsoft.com/library/de...ce06062002.asp

http://support.microsoft.com/default...;en-us;Q302896

Ken
------------------
"simon" <si*********@st ud-moderna.si> wrote in message
news:OK******** *****@tk2msftng p13.phx.gbl...
Thank you very much, taht is what I need.

Do you have some simple example for start, maybe link to it or some
recommended book?
Or can you give me some instruction to achive the required functionallity?

Thank you,
Simon

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:ei******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

There is wizard for creating office add ins. Create a new project, Other projects, extensibility projects, and select shared add in.

Ken
----------------------
"simon" <si*********@st ud-moderna.si> wrote in message
news:eO******** *****@TK2MSFTNG P12.phx.gbl...
I would like to create addIn for outlook,word and excel.

That is a new button on menu bar. When user open a new mail message or word document or excell document, the button shows on menu bar, and when user
clicks this button, I read the projects of the current user from the
database and when user select the project,
the opened document (which is a mail message, word file or excell file) is
saved to the database with the selected project ID.

How can I do that in VB.net. What kind of project I should create?
Any example or ideas?

Thank you,
Simon


Nov 21 '05 #4
thank you, I belive it will be enough to finish my job in VB.NET.
I have one simple question:

I created before this add in in VB6. It works perfect only problem is, that
the button is added in all office programs, but I would like, that it's
added only to Outlook menu bar.

I use this sintaks to create button:

Private Sub myOlInspectors_ NewInspector(By Val Inspector As
Outlook.Inspect or)
'button will show when user open the email message
If Inspector.Curre ntItem.MessageC lass = "IPM.Note" Then
'should I check here if application is outlook than create button
Set MyButton = Inspector.Comma ndBars.Item("Me nu
Bar").Controls. Add(msoControlB utton, , , , True)
With MyButton
.Caption = "CPU"
.OnAction = "!<myaddin.conn ect>"
End With
End If

End Sub

Why this button is shown on my menu bar also when I open word application?
If it helps, I can send all sintkas of my program.
maybe I should remove button on disconection or something similar?

Private Sub AddinInstance_O nDisconnection( ByVal RemoveMode As
AddInDesignerOb jects.ext_Disco nnectMode, custom() As Variant)
'I should put some remove function here?
Set myOlApp = Nothing
Set myOlInspectors = Nothing
Set MyButton = Nothing
End Sub

Thank you,
Simon

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi,

http://msdn.microsoft.com/library/de...ce06062002.asp
http://support.microsoft.com/default...;en-us;Q302896

Ken
------------------
"simon" <si*********@st ud-moderna.si> wrote in message
news:OK******** *****@tk2msftng p13.phx.gbl...
Thank you very much, taht is what I need.

Do you have some simple example for start, maybe link to it or some
recommended book?
Or can you give me some instruction to achive the required functionallity?

Thank you,
Simon

"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:ei******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

There is wizard for creating office add ins. Create a new

project,
Other projects, extensibility projects, and select shared add in.

Ken
----------------------
"simon" <si*********@st ud-moderna.si> wrote in message
news:eO******** *****@TK2MSFTNG P12.phx.gbl...
I would like to create addIn for outlook,word and excel.

That is a new button on menu bar. When user open a new mail message or

word
document or excell document, the button shows on menu bar, and when user
clicks this button, I read the projects of the current user from the
database and when user select the project,
the opened document (which is a mail message, word file or excell file) is saved to the database with the selected project ID.

How can I do that in VB.net. What kind of project I should create?
Any example or ideas?

Thank you,
Simon


Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
646
by: Chuck Arney | last post by:
After installing Office 2003 PRO and attempting to run SETUP to install the Visual Studio Tools for Office version 2003, I get the error message "Your computer must have Microsoft Office Professional Edition 2003 installed before you can install Microsoft Visual Studio Tools for the Microsoft Office System.". SETUP terminates after clicking...
1
503
by: zfeld | last post by:
1. Where do I get the Office 2003 PIAs? On the MSDN download site there are only downloads for XP office PIAs. Do they automatically get installed to the GAC with the installation of office 2003? 2. My problem is that I am developing an application in C# that does office automation using Word & Excel that needs to work for Office XP and...
0
1689
by: Yeongja_Choi | last post by:
How Dare Could America Industrial Property Office Be In Conspiracy With Jungang International Patent Office To Make An Extravagant International Crime ? Currently a Korean party now holds the American patent 4919933, the Taiwanese patent 37414, the Japanese patent 2733523 and a Korean patent 044435 through The Korean Jungang International...
4
4060
by: J-T | last post by:
I'm trying to read an excell file in my .Net application using Office XP Primary Interop Assemblies (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_oxppias.asp). I have installed Office 2003 on my developemnt box.Will my application be able to read all kinds of Excell file (97-2000-2003)? Dose the wrapper...
2
11447
by: William LaMartin | last post by:
I have created a program that allows for the automation of things in Word documents, like changing the values of DocVariables and the links to Excel Sheets. I did it using interoperoperatability, where, after adding a reference to Microsoft.Office.Core and a reference to Microsoft Word I declare objects as follows: Dim oWordApp As New...
6
1861
by: Luke Vogel | last post by:
Hi all ... could someone point me in the right direction for programming office applications (specifically excel) using vb.net? Can vb.net replace or enhance VBA that comes with the office suite? cheers... have a great Christmas all! -- Regards Luke. ----- There are 10 types of people in this world
5
49789
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. To do this, I created a reference to "Microsoft Excel 11.0 Object Library", and have a "using Excel;" directive. I decided to add a method for...
2
7287
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a "Array index out of bounds". Microsoft.Office.Interop.Outlook._Application olApp = new Microsoft.Office.Interop.Outlook.ApplicationClass();...
11
20191
by: Don | last post by:
QUESTIONS: 1. Has anyone figured out how to successfully install the Office 97 Pro Service Release 2 patch in Vista? 2. Has anyone successfully installed an Office 97 Pro CD (SR2 version) in Vista? DETAILS: My setup: Dell Inspiron notebook with Vista Business edition My CD: Office 97 Professional (Service Release 1) Upgrade
0
4103
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista OS, but after I discovered that it won't run on a system with Office 2003, I uninstalled Office 2007 and installed Office 2003. I reset the reference...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.