Word Addin not work!

  • Thread starter Ahmad Jalil Qarshi
  • Start date
A

Ahmad Jalil Qarshi

Hi
i m going to develop a MS word 2003 addin tht will manipulate Word documents
and im using VC6/ATL. i made a simple test addin tht do nothing but just
display a message box on OnConnection event. but when i compiled it. it
couldn't be loaded into the word. i checked the registry entries and they
are all correct. here are the registry entries.


HKCR
{
MyTestAddin.ajkAddin.1 = s 'ajkAddin Class'
{
CLSID = s '{2D7751BC-E6D9-4E88-A9AE-010F53E64273}'
}
MyTestAddin.ajkAddin = s 'ajkAddin Class'
{
CLSID = s '{2D7751BC-E6D9-4E88-A9AE-010F53E64273}'
CurVer = s 'MyTestAddin.ajkAddin.1'
}
NoRemove CLSID
{
ForceRemove {2D7751BC-E6D9-4E88-A9AE-010F53E64273} = s 'ajkAddin Class'
{
ProgID = s 'MyTestAddin.ajkAddin.1'
VersionIndependentProgID = s 'MyTestAddin.ajkAddin'
ForceRemove 'Programmable'
InprocServer32 = s '%MODULE%'
{
val ThreadingModel = s 'Apartment'
}
'TypeLib' = s '{2EC08ECA-B5C4-42F6-87DE-F177D3ED3EB9}'
}
}
}

HKCU
{
Software
{
Microsoft
{
Office
{
Word
{
Addins
{
'WordAddin.Addin'
{
val FriendlyName = s 'WORD Custom Addin'
val Description = s 'Word Custom Addin'
val LoadBehavior = d '00000003'
val CommandLineSafe = d '00000001'
}
}
}
}
}
}
}

i dont know y its not loaded into the Word. i tried to add it by using Com
Addin Dialog box in Word. but i couldn't. and its also not listed in the
disabled Addins.
plz help me. i will be very thnkful to you.

bye.

Ahmad Jalil Qarshi
 

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