Hi Peter,
I have implemented an Office COM Add-in.
Now the message box is displayed and Excel's main window repaints when the
message box is moved.
The last point to fix is that the new menu item has to be visible only if
the Excel is opened from within the Windows app
by pressing the button on the form.
I think that it will work if the Windows app will set the loadbehavior key
to 0 within the registry.
One more question: I want to extend the windows form with a textbox control.
The text entered by user must be displayed by the Add-in's message box. How
could I send the text to the add-in? I'd like to avoid using the registry.
Thank you for your helpful support,
Mircea
""Peter Huang" [MSFT]" wrote in message
...
Hi Mircea,
The COM Add-ins is available for office 2000,office XP(2002), office 2003.
The office xp is the office 2002.
There is a few difference between managed com add-in develop.
Office 2000 use the IDE generated Interop assembly.
Office XP use the Office XP PIA
http://www.microsoft.com/downloads/d...61e-3060-4f71-
a6b4-01feba508e52&displaylang=en
Offic 2003's PIA is installed with office 2003 installation program.
We need to build for every version indepently.
Also the Office load the com addins depent on the registry key, we can
change it before we start the Excel to control if we need the Excel to
load
the com addins now.
e.g. we can set the loadbehavior key to 0, so that the com addin will not
be loaded.
Add-In Registration
http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vxconadd-inregistration.asp
Also for simplification, why not print the error in certain excel cell to
notify the enduser?
Can you describe the scenario more detailed so that we may try to see if
there is other approach?
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.