Tuesday, February 07, 2012
Creating StructuralFrame - SE20, VB6
Last Post 07 Sep 2010 09:27 AM by NV. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
NVUser is Offline
New Member
New Member
Posts:5

--
07 Sep 2010 09:27 AM  

I have following code:

    Set structFrames = asmDoc.StructuralFrames
    
    Dim reqPaths(1 To 2) As Object
   
    Set reqPaths(1) = linSeg1
   
    Set reqPaths(2) = linSeg2
   
    Dim noOfPaths As Long
   
    noOfPaths = 2
    
    Set structFrame = structFrames.Add("c:\x.par", noOfPaths, reqPaths) ' Error here

I have been struggling more than 6 hours to overcome the error 'Run Time error '5' - Invalid Procedure call or atgument'. Tried every variation. Searched help. Searched internet. But without success.

Please help me.

You are not authorized to post a reply.

Active Forums 4.2
Copyright © 2011 JasonNewell.NET