Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 17th, 2003, 03:32 AM
benos benos is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 233 benos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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 .

Reply With Quote
  #2  
Old July 21st, 2003, 06:18 AM
MadMax MadMax is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 MadMax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello there,

Quote:
whatever you can do with VBA, you can do from C++ and viceversa - the magic is in OLEAutomation


Question is: will be faster if I do it in C++ instead of VBA?

Reply With Quote
  #3  
Old April 28th, 2004, 02:59 PM
cokebaby cokebaby is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 2 cokebaby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 17 sec
Reputation Power: 0
Question Word doesn't recognise my add-in

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!

Reply With Quote
  #4  
Old April 30th, 2004, 08:18 AM
Sorvik Sorvik is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 Sorvik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #5  
Old August 18th, 2004, 07:52 AM
cosmocon cosmocon is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 cosmocon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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++.

Reply With Quote
  #6  
Old April 3rd, 2005, 03:09 AM
hcadieu hcadieu is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 hcadieu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 29 sec
Reputation Power: 0
Smile who can send me the compiled universal add-in ?

Quote:
Originally Posted by benos
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 .

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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Article Discussion: Writing an MS Word Addin


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT