User 2db0d566ee
13-07-2016 07:52:55
I tryed to open a sdf file with a MarvinViewControl1 with the following code:
MarvinViewControl1.MoleculeData = New ChemAxon.NET.Base.Chemistry.Data.MoleculeData("C:/Data/molecule_1.sdf", ChemAxon.NET.Base.Chemistry.Formats.MoleculeFormat.SDF)
and we have no results.
ChemAxon 2e7d8629fa
13-07-2016 08:17:49
Dear Alfonso,
Please put the content of the DSF file to the MoleculeData constructor. Like this:
molString as String = System.IO.File.ReadAllText("C:/Data/molecule_1.sdf")
MarvinViewControl1.MoleculeData = New
ChemAxon.NET.Base.Chemistry.Data.MoleculeData(molString,
ChemAxon.NET.Base.Chemistry.Formats.MoleculeFormat.SDF)
I hope it helps.
Regards,
Gergely