Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to pass array of doubles to VBA
Message
 
À
25/02/2002 10:04:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00624443
Message ID:
00624558
Vues:
19
It really bites,

I wrote a custom app for a company and had to scrap VFP because of that, and you can't show a form from a VFP DLL. My app is started from Acad and uses a vb dll to show the forms and manipulate the drawing based on data the user enters.


>I've actually been trying this for a couple of years too.
>
>I am not a VB programmer so I have been using AutoCAD VBA SetCommand(), which is similar to KEYBOARD in vfp. But this is very slow. This has not been a problem since most of what I have been doing so far is batch type work. However I am now facing interactive work and feel the need for speed.
>
>Thanks
>
>>Hi Don,
>>
>>I've never been able to get that to work and I've tried many, many different ways. Acad just doesn't like the way vfp passes arrays to COM Objects.
>>
>>The only work around that I've seen is to create a vb dll to do what you want and call that. Sorry.
>>
>>>To All,
>>>
>>>I am attempting to pass an array of doubles to a VBA method in AutoCAD.
>>>
>>>The documentation says the array is :
>>>
>>>"Variant (three-element array of doubles); input-only
>>>The 3D WCS coordinates specifying the line start point."
>>>
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform