If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
connect two shape objects
Hi,
what code do we use if we want to connect to shape objects.i.e. connect (shape1,shape2) |
#2
|
|||
|
|||
connect two shape objects
It's all in the visio sdk. There are also numerous examples over on Chris
Roth's site (www.visguy.com) al "layla" wrote in message ... Hi, what code do we use if we want to connect to shape objects.i.e. connect (shape1,shape2) |
#3
|
|||
|
|||
connect two shape objects
Hi,
I looked at the stuff ,but still I do not know how to connect a line.I guess the links is useful for someone who try to draw them manulally not for VBA. Any suggestion how I could write such a code Thanks! |
#4
|
|||
|
|||
connect two shape objects
try this
http://msdn.microsoft.com/en-us/libr...ffice.10).aspx al "layla" wrote in message ... Hi, I looked at the stuff ,but still I do not know how to connect a line.I guess the links is useful for someone who try to draw them manulally not for VBA. Any suggestion how I could write such a code Thanks! |
#5
|
|||
|
|||
connect two shape objects
On Oct 2, 12:13*pm, "AlEdlund" wrote:
try thishttp://msdn.microsoft.com/en-us/library/aa201778(office.10).aspx al "layla" wrote in message ... Hi, I looked at the stuff ,but still I do not know how to connect a line.I guess the links is useful for someone who try to draw them manulally not for VBA. Any suggestion how I could write such a code Thanks!- Hide quoted text - - Show quoted text - Hi,again, I wrote this code to connect two shapes ,but I keep gettiing error messages ,do you see what I am doing wrong Set celObj1 = ashp(1).Cells(" AlignBottom") Set celObj2 = ashp(2).Cells(" AlignTop") celObj1.GlueTo celObj2 Thanks! |
#6
|
|||
|
|||
connect two shape objects
layla,
without the error information and where it is failing, you haven't given enough to work with al "layla" wrote in message ... On Oct 2, 12:13 pm, "AlEdlund" wrote: try thishttp://msdn.microsoft.com/en-us/library/aa201778(office.10).aspx al "layla" wrote in message ... Hi, I looked at the stuff ,but still I do not know how to connect a line.I guess the links is useful for someone who try to draw them manulally not for VBA. Any suggestion how I could write such a code Thanks!- Hide quoted text - - Show quoted text - Hi,again, I wrote this code to connect two shapes ,but I keep gettiing error messages ,do you see what I am doing wrong Set celObj1 = ashp(1).Cells(" AlignBottom") Set celObj2 = ashp(2).Cells(" AlignTop") celObj1.GlueTo celObj2 Thanks! |
#7
|
|||
|
|||
connect two shape objects
I don't think you can glue two Alignment cells together like that
The Alignment section is transient. "layla" wrote in message ... On Oct 2, 12:13 pm, "AlEdlund" wrote: try thishttp://msdn.microsoft.com/en-us/library/aa201778(office.10).aspx al "layla" wrote in message ... Hi, I looked at the stuff ,but still I do not know how to connect a line.I guess the links is useful for someone who try to draw them manulally not for VBA. Any suggestion how I could write such a code Thanks!- Hide quoted text - - Show quoted text - Hi,again, I wrote this code to connect two shapes ,but I keep gettiing error messages ,do you see what I am doing wrong Set celObj1 = ashp(1).Cells(" AlignBottom") Set celObj2 = ashp(2).Cells(" AlignTop") celObj1.GlueTo celObj2 Thanks! |
#8
|
|||
|
|||
connect two shape objects
On Oct 7, 10:09*am, "David J Parker [MVP Visio]"
wrote: I don't think you can glue two Alignment cells together like that The Alignment section is transient. "layla" wrote in message ... On Oct 2, 12:13 pm, "AlEdlund" wrote: try thishttp://msdn.microsoft.com/en-us/library/aa201778(office.10).aspx al "layla" wrote in message .... Hi, I looked at the stuff ,but still I do not know how to connect a line..I guess the links is useful for someone who try to draw them manulally not for VBA. Any suggestion how I could write such a code Thanks!- Hide quoted text - - Show quoted text - Hi,again, I wrote this code to connect two shapes ,but I keep gettiing error messages ,do you see what I am doing wrong Set celObj1 = ashp(1).Cells(" AlignBottom") Set celObj2 = ashp(2).Cells(" AlignTop") celObj1.GlueTo celObj2 Thanks!- Hide quoted text - - Show quoted text - Hi, The error message is" inappropriate source object" |
#9
|
|||
|
|||
connect two shape objects
The cells that you attach to should eventually point to a place on a page.
You might check this out... http://msdn.microsoft.com/en-us/library/ms367543.aspx al "layla" wrote in message ... On Oct 7, 10:09 am, "David J Parker [MVP Visio]" wrote: I don't think you can glue two Alignment cells together like that The Alignment section is transient. "layla" wrote in message ... On Oct 2, 12:13 pm, "AlEdlund" wrote: try thishttp://msdn.microsoft.com/en-us/library/aa201778(office.10).aspx al "layla" wrote in message ... Hi, I looked at the stuff ,but still I do not know how to connect a line.I guess the links is useful for someone who try to draw them manulally not for VBA. Any suggestion how I could write such a code Thanks!- Hide quoted text - - Show quoted text - Hi,again, I wrote this code to connect two shapes ,but I keep gettiing error messages ,do you see what I am doing wrong Set celObj1 = ashp(1).Cells(" AlignBottom") Set celObj2 = ashp(2).Cells(" AlignTop") celObj1.GlueTo celObj2 Thanks!- Hide quoted text - - Show quoted text - Hi, The error message is" inappropriate source object" |
Thread Tools | |
Display Modes | |
|
|