Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Empty diagram on another computer? (Read 3724 times)
moelski
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Feb 28th, 2011
Empty diagram on another computer?
Jul 6th, 2011 at 4:16pm
Print Post  
Hi !

Today I copied my project to my old win XP machine. It started fine but if I try to add some (composite-) Nodes I see nothing.
The diagramView remains empty  ???

It runs perfect on my developement machine.

I tried it on another win7 machine and again ... No compositeNodes in the diagramView.

I copied these dllīs on the other computer:
MindFusion.Common.dll
MindFusion.Diagramming.dll
MindFusion.Diagramming.WinForms.dll

Did I miss something? As far as I know there is no restriction for the trial version, isnīt it?

Greetz Dominik
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Empty diagram on another computer?
Reply #1 - Jul 6th, 2011 at 4:39pm
Print Post  
Are you adding them from code or drawing with the mouse?
  
Back to top
 
IP Logged
 
moelski
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Feb 28th, 2011
Re: Empty diagram on another computer?
Reply #2 - Jul 6th, 2011 at 5:07pm
Print Post  
Hi !

I add the CompositeNodes from code.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Empty diagram on another computer?
Reply #3 - Jul 6th, 2011 at 5:12pm
Print Post  
Are you creating the diagram from data in a file or database? If so, are you sure the application successfully reads from the file or database when running on the other systems?
  
Back to top
 
IP Logged
 
moelski
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Feb 28th, 2011
Re: Empty diagram on another computer?
Reply #4 - Jul 6th, 2011 at 5:20pm
Print Post  
No I create the Nodes from XML strings.

And actually the XML strings are hardcoded within my classes - like in your CompositeNode demo.
  
Back to top
 
IP Logged
 
moelski
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Feb 28th, 2011
Re: Empty diagram on another computer?
Reply #5 - Jul 6th, 2011 at 5:31pm
Print Post  
I use code which is very similar to your Scripting example. And that works on another computer Tongue

So maybe I miss a redraw or something like that ?

And this is how I add a Node:

Creation ....
               Entity = new Node_In(proj.Diagram, x, y);
               Entity.Id = EntityGuid;
               Entity.Icon.Image = proj.Images.Images[14];
               Entity.Text = "TCP";
               proj.Diagram.Nodes.Add(Entity);

And the Code for the Node is here:
https://www.logview.info/Downloads/Nodes.zip

Greetz
   Dominik
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Empty diagram on another computer?
Reply #6 - Jul 6th, 2011 at 5:36pm
Print Post  
Suppose the code did not run for some reason. If you display diagram.Nodes.Count from some menu command, is the value greater than 0?
  
Back to top
 
IP Logged
 
moelski
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Feb 28th, 2011
Re: Empty diagram on another computer?
Reply #7 - Jul 6th, 2011 at 5:42pm
Print Post  
No it is still 0 after I add the node  Embarrassed

Damn ... What the hell is going on there  ???
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Empty diagram on another computer?
Reply #8 - Jul 6th, 2011 at 5:45pm
Print Post  
If you call MessageBox.Show just before or after Nodes.Add, does it show anything?
  
Back to top
 
IP Logged
 
moelski
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Feb 28th, 2011
Re: Empty diagram on another computer?
Reply #9 - Jul 6th, 2011 at 6:07pm
Print Post  
Shame on me Embarrassed Lips Sealed
Code
Select All
                                <Image.Image>
                                        <Bitmap>D:\Dev Priv\LogView V3 .net\LogView V3\_Icons\_Found\missing.gif</Bitmap>
                                </Image.Image> 


This is part of my node creation.



Sorry for that mistake. And thx for your support.

Dominik
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint