PC Review


Reply
Thread Tools Rate Thread

Custom Document Prporties

 
 
Suresh Reddy
Guest
Posts: n/a
 
      3rd Sep 2003
Hi,
Please help me in resolving the problem with Custom
Document Prporties. I have developed one Dll to print the
word documents in VB5 by using AutoTexe Entries. Created
the component and deployed its working fine. Due to some
issues I need to change the same DLL, so when I am trying
to debug the same I am getting the error called Variable
not defined : msoPropertyTypeString. The following is the
code.

docWord.CustomDocumentProperties.Add _
Name:=msEUCPREF & msSTART, _
LinkToContent:=False, _
Value:=masLetters(0, iLetters), _
Type:=msoPropertyTypeString

Please help me in correcting the same.

Regards,
Suresh
 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      3rd Sep 2003
Hello,

"Suresh Reddy" <(E-Mail Removed)> schrieb:
> Please help me in resolving the problem with Custom
> Document Prporties. I have developed one Dll to print the
> word documents in VB5 by using AutoTexe Entries. Created
> the component and deployed its working fine. Due to some
> issues I need to change the same DLL, so when I am trying
> to debug the same I am getting the error called Variable
> not defined : msoPropertyTypeString. The following is the
> code.


This is a VB.NET language ng. Please turn to one of the
microsoft.public.vb.* groups.

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


 
Reply With Quote
 
Cindy Meister -WordMVP-
Guest
Posts: n/a
 
      5th Sep 2003
Hi Suresh,

I'd say you don't have a Reference to the MSOffice object
library. Either set a reference, or use the value 4 instead.

> I am getting the error called Variable
> not defined : msoPropertyTypeString. The following is the
> code.
>
> docWord.CustomDocumentProperties.Add _
> Name:=msEUCPREF & msSTART, _
> LinkToContent:=False, _
> Value:=masLetters(0, iLetters), _
> Type:=msoPropertyTypeString
>


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)

 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Document Properties JAC Microsoft Excel Programming 3 23rd Oct 2008 12:25 AM
Re: Custom Document Properties grammatim Microsoft Word Document Management 0 23rd Jul 2008 05:04 AM
Re: Document Properties Custom Tab Jezebel Microsoft Word Document Management 1 20th Jan 2007 01:23 PM
Insert custom document properties into document =?Utf-8?B?UGF1bA==?= Microsoft Word Document Management 1 31st Mar 2006 05:04 PM
Custom Document Menu =?Utf-8?B?S2FyZW4gQQ==?= Microsoft Word Document Management 4 20th Feb 2004 02:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:59 AM.