Profile Picture

Database Table Shapes and Mapping

Posted By Montford Chelliah 14 Years Ago
Author
Message
Pavel Vladov
Posted 14 Years Ago
View Quick Profile
Forum Member

Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 33, Visits: 2
Hi Montford,
I'm not familiar with the Microsoft Smart Client Factory and as it has nothing to do with our components I cannot provide any support for it. Please, explain in more details only the problem that you have with our component and I'll help you solve it.

Best Regards,
Pavel Vladov



Montford Chelliah
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 12, Visits: 1

Hi Pavel,

Thanks for the reply. I could manage to solve the problem. I have manually registered the event at the load method now the event is raising.

I am facing a problem to save and loading the Nevron diagram. here is my implementation.

Saving Procedure

string fileFullPath = "C:\Test\f6ece328-8157-412c-9c41-95aade80c1fe.ndb"

NPersistencyManager persistManager = new NPersistencyManager();

persistManager.SaveDrawingToFile(document, fileFullPath);

Loading Procedure

string filePath = "C:\Test\f6ece328-8157-412c-9c41-95aade80c1fe.ndb"

NPersistencyManager persistencyManager = new NPersistencyManager();

NDrawingDocument tempDocument = persistencyManager.LoadDrawingFromFile(filePath);   

if (tempDocument != null) {

    view.Document = tempDocument;

    this.document = tempDocument;

}

Code is running without exception, but the object "tempDocument " is getting null value when I load the diagram (which is highlighted with green). I checked the file in the file system, the file is there. What could be the reason?

Thanks

Best Regards

Montford Anslum



Pavel Vladov
Posted 14 Years Ago
View Quick Profile
Forum Member

Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 33, Visits: 2
Hi Montford,
if the document after loading is null this means that the drawing document was not loaded successfully. Take a look at the trace in debug mode to see what causes the problem. You can also try saving in XML or Custom XML format.

Best Regards,
Pavel Vladov



Similar Topics


Reading This Topic