473,409 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

Custom Document Prporties

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
Nov 20 '05 #1
2 2986
Hello,

"Suresh Reddy" <ls***********@yahoo.com> 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
Nov 20 '05 #2
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
:-)

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: E J | last post by:
Does anyone know of a way to wrap custom tags around selected text using execCommand or otherwise? I am developing a rich text editor for use in a web site and while there are a few decent ones...
2
by: Chris | last post by:
Im hoping someone can help me understand why this works? Requirement: Navigate DOM through javascript to perform DHTML actions. Issue: GIANT html document, up to 4MB in size, thousands and...
7
by: Phl | last post by:
hi, I can use the following code to set focus to standard html elements but if I try to do the same for a custom element, it seems to complain that it does not support a focus method. Does...
5
by: Jason Butera | last post by:
I know that I can read/write custom properties of an object by using the following: Setting: document.all.customProp = "this"; Getting: document.all.customProp; Is there a way I can run...
0
by: Henri | last post by:
Hi, this is what I'd like to do : - Build a XML document at user's first visit of the page from a DB's data - Cache this document so that there's no need to buit it again. The document would stay...
0
by: Henri | last post by:
Hi, this is what I'd like to do : - Build a XML document at user's first visit of the page from a DB's data - Cache this document so that there's no need to buit it again. The document would stay...
7
by: Flashster | last post by:
My program writes text to a file. Currently the files have a suffix of '.log' . I want to make sure that the user does not attempt to open a file that was not originally created by my program. ...
3
by: useenmelately | last post by:
Hello, I am working with asp.net 2.0 and have run into a problem with the custom validators. The client validation functions were originally written in vbscript, but as this is not compatible...
1
by: SachinSachin | last post by:
Hi All, I am implementing a custom gridview control, that emits some javascript to blink a row whenever a new row is added in gridview. The gridview is inside the <asp:updatepanel> for...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.