🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18883

Re: Fumbling first steps (VB)

#18883
From: maxdunn
Date: Sun, 16 Feb 2003 18:14
8 lines
1235 bytes
Sounds like you probably don't have a reference to InDesign in your VB project (a very easy thing to forget). What you want to do (in VB6 anyway, I assume it's the same in your version) is select Project\References, and scroll down and check "Adobe InDesign 2.0 Type Library".

This needs to be done for any VB project for which you want to script InDesign.

Then VB will recognize objects such as "InDesign.Application" and won't assume they're your own "user-defined types".

Max
www.siliconpublishing.com
Technical Details
Message-ID: <1de7dfc5.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de7dfc5.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4b69acda5083344f
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-16 10:37:38 PST
From: maxdunn <maxdunn@siliconpublishing.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Fumbling first steps (VB)
Message-ID: <1de7dfc5.0@WebX.la2eafNXanI>
Date: Sun, 16 Feb 2003 10:14:37 -0800
References: <1de7dfc5.-1@WebX.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit