GetCustomByIndex problem
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
GetCustomByIndex problem

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
Haukwa
Guest





Posted: Tue Oct 18, 2005 12:10 am    Post subject: GetCustomByIndex problem Reply with quote

Hi All,

I up against a brick wall!!

I want to use GetCustomByIndex to retrieve custom property key and
value strings, but I keep getting an error. I've studied the examples
in AutoCAD and on-line to no avail.

My Code...
ActiveDocument.SummaryInfo.GetCustomByIndex 0, x, y

The Error...
Compile Error: ByRef argument type mismatch

Things I've Tried...
- I put the x/y variables in brackets (i.e. (x), (y)) as the help
suggests, the error goes away, but the property info is blank.
- Dim x/y variables as Strings.
- Different variables names for key and value (?).
- There is data in Custom Properties

What am I missing (besides a lot of hair, by this time)??

Thanks for your help.

Gerry

Back to top
Haukwa
Guest





Posted: Tue Oct 18, 2005 12:10 am    Post subject: Re: GetCustomByIndex problem Reply with quote

I'm so frazzled I forgot to include the word 'am' in the first sentence
of my previous post. English is my first (and only) language, please
excuse my slip.
Back to top
Haukwa
Guest





Posted: Tue Oct 18, 2005 12:10 am    Post subject: Re: GetCustomByIndex problem Reply with quote

I'm so frazzled I forgot to include the word 'am' in the first sentence
of my previous post. English is my first (and only) language, please
excuse my slip.

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB