How to manually regist the com add-in for excel2007

J

Jason

I just use the follow way. I set the information in HKLM.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins\My2007Addin]
"CommandLineSafe"=dword:00000001
"Description"="My2007Addin by"
"FriendlyName"="My2007Addin"
"LoadBehavior"=dword:00000003
"Manifest"="C:\\bin\\My2007Addin.dll.manifest"

After it.
I open Excel, I find it can be shown in add-in, but it no use at all.

Does this way OK?

Thanks
 
J

Jialiang Ge [MSFT]

Hello Jason,

From your post, my understanding on this issue is: you wonder how to
manually register a Office COM Add-in in regedit. If I'm off base, please
feel free to let me know.

I suggest that you should read this article from Managed newsgroup support
team blog:
http://blogs.msdn.com/msdnts/archive/2006/12/28/how-to-troubleshoot-the-com-
add-ins-loading-issues.aspx
It talks about how to register the unmanaged COM Add-ins and managed ones,
also, it provides some general suggestions for trouble-shooting the COM
add-ins loading issues. You may also check if the add-in fails in
OnConnection or OnStartupComplete. Office may disable the add-in when a
failure in the events occurs.

Sincerely,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jason

Thanks for your reply.

I think it has some different from my case.

Now I set the reg like befï½ï½’e ï½ï½Žï½„ cï½ï½Œï½Œã€€ï½’egï½ï½“ï½ã€€ï½”ï½ã€€ï½’egist ï½ï½„din.
And I see this addin in excel, but it has no affect.

I just feel that some key that I ï½ï½‰ï½“s tï½ã€€ï½“et.

Tnï½ï½Žï½‹ï½“
 
J

Jialiang Ge [MSFT]

Hello,
I think it has some different from my case.
Now I set the reg like before and call regasm to
regist addin. And I see this addin in excel, but it has no affect.
I just feel that some key that I miss to set

Do you mean that the Excel add-in still cannot work properly ("has no
effect") when you use regasm to register the add-in dll? You mentioned that
the add-in is loaded successfully, would you decribe in detail how your
add-in "has no effect"? Is that to say some events are lost for the add-in?

Thanks and I am looking forward to your reply.

Sincerely,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

Hello Jason,

If you have further questions, please feel free to let me know.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
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