Article View: adobe.scripting.indesign
Article #21012Re: missing ID classes in Visual Studio.Net
From: Greg Brunet
Date: Wed, 15 May 2002 23:01
Date: Wed, 15 May 2002 23:01
7 lines
1659 bytes
1659 bytes
That behavior happens to me too (enumerations only), but then again, that's what happens in VB6 as well. However when I'm entering stuff in the code window, intellisense does display the classes as well as properties, methods, etc. The other thing that is strange is the following:
Dim myInDesign As InDesign.Application ' Set myInDesign = New InDesign.Application.2.0 '** should work but doesn't Set myInDesign = CreateObject("InDesign.Application.2.0") '** have to do it this way
It seems like the library isn't quite built right. Even worse is that VB.NET considers some properties to be r/o when the documentation and behavior in VB6 is that they are r/w. (See my comments in the "ID Windows scripting w/ VB.NET" thread). Hopefully this is stuff that can be addressed in the relatively near future.
-- Greg
Technical Details
Message-ID:
<ef88b89.1@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news.maxwell.syr.edu!newsfeed.rt.ru!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef88b89.-1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,debfaeb8d03c1cd X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-05-15 16:37:34 PST From: "Greg Brunet" <gbrunet@sempersoft.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news.maxwell.syr.edu!newsfeed.rt.ru!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: missing ID classes in Visual Studio.Net Message-ID: <ef88b89.1@WebX.aaQKaf7vad4> Date: Wed, 15 May 2002 16:01:04 -0700 References: <ef88b89.-1@WebX.aaQKaf7vad4> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit