User Profile

Collapse

Profile Sidebar

Collapse
JoeGilligan
JoeGilligan
Last Activity: Dec 28 '07, 05:03 PM
Joined: Nov 9 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JoeGilligan
    started a topic Need Perl OLE help
    in Perl

    Need Perl OLE help

    Hey Everyone,
    I am really stuck...possibl y more stuck than almost anyone has ever been in his/her entire life. I am trying to write a Perl script that uses Visio to draw a 'connector' that is attached to two rectangles, however, I am having trouble getting the connector object to draw.
    I have:

    [CODE=perl]
    our $Visio = Win32::OLE->new('Visio.App lication') or die "Cannot locate Visio.\n";
    $Visio->{'Visible'}...
    See more | Go to post
    Last edited by miller; Nov 14 '07, 12:10 AM. Reason: Code tag

  • JoeGilligan
    replied to Draw Spline With Perl and Visio
    in Perl
    Thanks Kevin,
    That helped, but I still have a question. I saw the section on how to make a 2 dimensional array, but I'm having trouble understanding the syntax. Do you know how to go about creating a one-dimensional safearray as opposed to the 2 dimensional?...
    See more | Go to post

    Leave a comment:


  • JoeGilligan
    started a topic Draw Spline With Perl and Visio
    in Perl

    Draw Spline With Perl and Visio

    Hi. I am trying to run a Visio macro from Perl using the Win32::OLE library. For my program I need to draw a spline. The argument it requires to create this must be an xyarray.

    the VBA command to make this is...

    ThisDocument.Dr awSpline(xyarra y, Tolerance, Flag)

    I know the VBA array is different than a perl array so I havn't been able to send it directly. I also read online that you just had to pass the...
    See more | Go to post
    Last edited by numberwhun; Nov 9 '07, 07:33 PM. Reason: add code tags
No activity results to display
Show More
Working...