S
shailendrasingh823
Hi There,
I am trying to drop shapes on page randomly & after connected
them.Please see this link which I am trying to follow. just try to
implement this if u r getting same problem.
http://msdn2.microsoft.com/en-us/library/aa722522.aspx
Here the code line
int databaseKeyValue =
newShape.get_Cells(_VisioPropCellPrefix +
_IDColumn).get_ResultInt((short)Visio.VisUnitCodes.visNumber, 0);
in addItemsToDrawing Function
I am getting Unexpected end of file error.
I have added method public static void ReadANamedCustomProperty(
Microsoft.Office.Interop.Visio.Shape customPropertyShape,
string cellName, bool isLocalName)
which used to check existing of CELL.
but it's showing me customPropertShape is null not found
Can anybody try the same example if u can because today another new
message is coming ,"The Server threw an exception (Exception from
HResult:0X80010105(RPC_E_SERVERFAULT).It will not get much time just
u
have to add Microsoft.Office.Interop.Visio Refference . & use the
same
code.
When I try to get the array of shape IDs from the method
Array dataRowIDs = itemsRecordset.GetDataRowIDs(string.Empty); in
addShapesToDrawing function so it's giving me 1,2,3,4,5 But in Items
table ID has 2,3,4,5,6 just same like microsoft example.I think Some
problem is there .
if anybody can tell me how to read the DATARECORDSETS value,
Can anybody help me out for this.
Shail
I am trying to drop shapes on page randomly & after connected
them.Please see this link which I am trying to follow. just try to
implement this if u r getting same problem.
http://msdn2.microsoft.com/en-us/library/aa722522.aspx
Here the code line
int databaseKeyValue =
newShape.get_Cells(_VisioPropCellPrefix +
_IDColumn).get_ResultInt((short)Visio.VisUnitCodes.visNumber, 0);
in addItemsToDrawing Function
I am getting Unexpected end of file error.
I have added method public static void ReadANamedCustomProperty(
Microsoft.Office.Interop.Visio.Shape customPropertyShape,
string cellName, bool isLocalName)
which used to check existing of CELL.
but it's showing me customPropertShape is null not found
Can anybody try the same example if u can because today another new
message is coming ,"The Server threw an exception (Exception from
HResult:0X80010105(RPC_E_SERVERFAULT).It will not get much time just
u
have to add Microsoft.Office.Interop.Visio Refference . & use the
same
code.
When I try to get the array of shape IDs from the method
Array dataRowIDs = itemsRecordset.GetDataRowIDs(string.Empty); in
addShapesToDrawing function so it's giving me 1,2,3,4,5 But in Items
table ID has 2,3,4,5,6 just same like microsoft example.I think Some
problem is there .
if anybody can tell me how to read the DATARECORDSETS value,
Can anybody help me out for this.
Shail