|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Article Discussion: Writing an MS Word Addin
Writing an MS Word Addin If you have any questions or comments about this article please post them here.
You can read the article here . |
|
#2
|
|||
|
|||
|
Hello there,
Quote:
Question is: will be faster if I do it in C++ instead of VBA? |
|
#3
|
|||
|
|||
|
I've succesfully completed the previous article on an Outlook add-in with no problems. However, at the early stage of writing this add-in, where i check whether Word can see my addin, it can't. I've checked the registry using regedit, and the correct details for this add-in are there, right next to an add-in that *does* show up in word (a default one, something todo with web pages). even when i point word straight to the .dll in my vc++6 project folder, it won't see it.
any ideas? the code is as per the article, without filling in any member functions for the add-in, or putting in any buttons etc. I'm using word 2000. thanks for any help! |
|
#4
|
|||
|
|||
|
Same problem and more
I tryed to use Microsoft's comaddin.exe, but it works for first document in Word but doesn't work with new windows opened. I hoped that it is no problem for sample in this article. But have same problem as in post above it doesn't work at all. Can anybody help?
|
|
#5
|
|||
|
|||
|
my code looks like that:
CComQIPtr<_Document> test; m_spApp->get_ActiveDocument(&test); struct MSWORD::Shapes *shapetest; test->get_Shapes(&shapetest); this works fine. but when i try to take a single shape nothing happens. struct MSWORD::Shape *myshape; struct tagVARIANT tagv; VariantInit(&tagv); tagv.dblVal = 1; shapetest->Item(&tagv, &myshape); does anyone can explain me, how i can do this? i have seen an example in VBA with doc.Shapes[1], to access the first shape. but this doesn't work in visual c++. |
|
#6
|
|||
|
|||
|
Quote:
Hi I am currently working on a Word add-in but I haven't any C++ compiler so I would be very interested if someone can send me the compiled universal add-in from this article with the sample .dot where I could build my code from VBA. My email is herve.cadieu@noos.fr thanks much in advance see my work on http://mapage.noos.fr/grapho-lock/index_fichiers/frame.htm if any one wants to join / team u^p for devloppement you are more than welcome ! Best regards Herve Cadieu Paris France |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Article Discussion: Writing an MS Word Addin |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|