by Lassalle Technologies - Product Type: Component / ActiveX OCX
Hi
i am working with Addflow control and i have few problems/Questions using this control
Question 1
I have a property used in VB called LastUserAction.
Can i know the equivalent of this using in .net
Question 2
In VB Addflow Constants(afLinkStretching,afLinkCreation...etc) from AddFlow.Lib are used. How do we use this in .Net or any equivalent of this?
Question 3
i have few node properties like UserData,Key in VB. In dotnet i dont have the equivalent of these properties. if i have to create one how do i do it or do we have the equivalent of these properties ?
Can any body help me in this matter
Regards
Sunil
Reply
Hi
I want to use saved addflow diagram to be read by Visial Basic Program and then to perform some operations according to the flow designed.
How can I read .FLW files ???
I want to buy this ActiveX to use in my aplication if i can do the above opration.
Please help
Thanks
Reply
I have noticed that the x and y values for the position of the mouse click in the mousedown event gives the relative position, not the position in the event you have scrolled. Is there a way to get either the scroll amount or the absolute position (lik the top and left properties of a node) in the addflow control?
Sincerely,
Sean M.Severson
Reply
I'm using addflow 4.2 and i want to save the diagram to an array of bytes, i use the save memory function an it returns an ole_handle pointer, i doing this with the next code
Dim DWord As Long, Glblhnd As Long, GlblAddr As Long, R As Long, i As Long
Dim VarAddr As Long, out_Data() As Byte
Glblhnd = FrmTXT.Af.SaveMemory(afAllItems)
GlblAddr = GlobalLock(Glblhnd)
VarAddr = VarPtr(DWord)
Call CopyMemory(ByVal VarAddr, ByVal GlblAddr, 4)
DWord = DWord + 4
ReDim out_Data(DWord)
VarAddr = 0
VarAddr = VarPtr(out_Data(0))
Call CopyMemory(ByVal VarAddr, ByVal GlblAddr, DWord)
it works for an small diagram, but for the big ones it does not work, i think i not getting the right len of the array
Thanks
Reply
i need a serial number of Addflow4 ,who can help me ?
my Email:huangb_99@yahoo.com
Reply
Need help ???:
I'm using AddFlow under C# and try to add pictures to picture collection,i got an error message
"error a generic GDI++ (out of memory)" with a snippet code below:
void TestAddPicture()
{
for (int k=0;k<3;k++)
{
for(int i=0; i< 100;i++;)
{
MyAddFlow.Pictures.Add( (stdole.StdPicture)Microsoft.VisualBasic.Compatibility.VB6.Support.ImageToIPicture (pictureBox1.Image));
}
MyAddFlow.Pictures.Clear(); // clear all pictures in picture collection in very iteration.
}
}
Thanks
Reply
RE: AddFlow plassalle [France] 08-Aug-2003 17:37:58
The fact that you can reproduce the problem with the dummy.ocx control I have sent to you proves that it is not a problem in AddFlow. The problem comes from the fact you use an ActiveX control under .NET and this does not allways work in evry case, especially when dealing with many pictures.
Of course, in the .NET environment, I think that it would be better to use the .NET version of AddFlow.
Reply
Need help ???:
I'm using AddFlow under C# and try to add pictures to picture collection,i got an error message
"eror a generic GDI++ (out of memory)" with a snippet code below:
void TestAddPicture()
{
for (int k=0;k<3;k++)
{
for(int i=0; i< 100;i++;)
{
MyAddFlow.Pictures.Add( (stdole.StdPicture)Microsoft.VisualBasic.Compatibility.VB6.Support.ImageToIPicture (pictureBox1.Image));
}
MyAddFlow.Pictures.Clear(); // clear all pictures in picture collection in very iteration.
}
}
Thanks
Reply
Dose someone know how to make link extrapoints like this. ?
[Node 0 ]------\
\
|
|
|
[Node 1]
Reply
It's not 100% .NET, Picture converter error on C#.NET, VB.NET
Reply
RE: AddFlow lassalle_patrick [France] 02-Sep-2002 13:57:16
You can associate a picture to a node. As indicated in the help file (the FAQ "How to associate a picture to a node under .NET?"), you can write, for instance:
node.Picture = Microsoft.VisualBasic.Compatibility.VB6.Support.ImageToIPicture(PictureBox1.Image)
Patrick
ReplyRE: AddFlow suwit_artnmanee [Thailand] 03-Sep-2002 03:55:55
Thanks, Usefull trick but undocumented, Please post more sample in C# and VB.NET,
I have plan to order this component. When you will release real .NET version ?
Thanks,
Suwit A.
Notes:
I have tryed this it's OK.
node.Picture = (stdole.StdPicture)Microsoft.VisualBasic.Compatibility.VB6.Support.ImageToIPicture(pictureBox1.Image);
Reply
Hi!!!
I am using AddFlow component in .NET. Has anybody done DragDrop of nodes. I have a ListView with COM Component name as ListViewItems. What I have to do is - when the user drags and drops the ListViewItem to the AddFlow control area - A node is to created at the drop position programmatically.
Documentation says that the DragOver and DragDrop events (which are necessary to do the above) are automatically added by Visual Basic. I am using C#.NET. C# provides only the DoDragDrop method. Could somebody please let me know how to work around this problem.
Thanks
Pushpa
Reply
Hi
I have recently come across AddFlow and it is really great
I would like to know wether there is a way of adding a connection point inside/outside
the node with a label for the connection point
Thanks in advance
Mohammed
Reply
RE: AddFlow frank_vasq [Venezuela] 28-Dec-2006 14:33:44
Hola, deseo trabajar Visual Basic 6.0 con Addflow 4.2 de lassalles, lo que quiero hacer es que cuando presione un botón Command me salga un Nodo pero relacionado con el nodo que seleccione posteriormente, también me gustaría saber cual es el comando para saber si un nodo tiene relación con otro y si son de salida o de entradas, a lo que yo llamo relación son las flechas de unión del diagrama.
Le agradecería que me ayudaran, por favor, o enviaran un ejemplo resolviendo estos problemas, que me hacen tanta falta…
Agradeciendo de antemano franklyn………….(Venezuela)
saber
***************************Traducido***************************
Hello, I want to work Visual Basic 6.0 with Addflow 4.2 of lassalles, what I want to make is that when it presses a button Command it leaves me a Node but related with the node that selects later on, I would also like to know which is the command to know if a node has relationship with other and if they are of exit or of entrances, to what I call relationship they are the arrows of union of the diagram.
He/she would thank him that they helped me, please, or they sent an example solving these problems that are necessary me so much…
Thanking franklyn ahead of time…………. (Venezuela)
Reply
Has anyone come across a way of using say TX TExt control within the node label?
Reply
I'd like to know how can I change the position and font format of link lables?
If you know, send me an email: ricardolucio@hotmail.com
Reply
I want to know how I could create an Organization chart using Addflow I have seen all the examples Addflow bring with it but none of them helped me on that so I would like if you could help me, sending me a code in which I could do that.
Atte. Washington
Reply
RE: AddFlow bhafner [USA] 19-Sep-2001 18:23:52
send me an email. If I cans share some thoughts with you bhafner@siliconmindset.com. I extensivly work with addflow and have found it to be point blank the best activeX control I have ever used (compared against, database, charting, rtf, AI and many others controls). Graph layout is a very tricky area and tree diagrams is just one type of graph that can be done. We have to date created Circle, Orthagonal, semi- orthagonal, hierarchical, symetrical, tree (as in Org charts), Visibility representation and planar algorithms. While we are not ready to part with these (very expensive to develop) I can point you in the correct direction to get going with your project.
Sincerly - bhafner@siliconmindset.com
PS We use component source almost exclusively. If you are new to the service than let me add - it can't be beat.
Reply