Steps for creating COM add-in without VS.net

R

Ricky

Hi,

I have read some tutorials from MS which teach how to program COM add-in
for Word/Excel

But none of them tell how to do the same thing without VS.NET,
I would like to ask for the eact steps for doing the same thing with
VS.net...


Thanks
 
W

Wei-Dong XU [MSFT]

Hi Ricky,

From my understanding to this issue, you are going to find out the
instruction regarding how to develop one COM add-in in VS.net with .Net
framework, isn't it?

I'd suggest the two kb articles will introduce some information for you.
840585 Information about designing Office XP add-ins and Office 2003
add-ins by
http://support.microsoft.com/?id=840585

311452 INFO: Develop Microsoft Office Solutions with Visual Studio .NET
http://support.microsoft.com/?id=311452

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Ricky

Hi,

Thanks for your reply.

In fact, I am going to develop a COM add-in WITHOUT VS.NET (only with
the C# compiler)

I would like to know what does the "shared-add-in wizard in VS.NET" do
for me in background ?

Thanks again

Ricky
 
R

Ricky

Hi

Thanks so much for your reply.

Okay, now, given that I have the connect.cs as in your package.

What are the exact steps needed to compile (without VS.NET) and
link(i.e. run) it with Office 2003?

Thanks


Ricky
 
W

Wei-Dong XU [MSFT]

Hi Ricky,

You can use the build command below to compile the add-in.
csc /baseaddress:285212672 /checked /define:DEBUG;TRACE /debug:Full
/out:myaddin1.dll /target:library Connect.cs AssemblyInfo.cs
/reference:System.dll;System.Data.dll;System.XML.dll;Office.dll;<Office
Install>\common7\ide\publicassemblies\extensibility.dll

remove the /define:DEBUG:TRACE and /debug:FULL to build the release
version.

Furthermore, I'd strongly recommand you use the VS.net to develop the COM
addin, which will help you a lot

Have a nice day!

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei-Dong XU [MSFT]

You are very welcome! :)

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top