Hi, This is a tough one to help with since I don't know Visual Basic and don't have a copy installed/available to play with The .Net package does require some DLLs, but they are all included as part of the nuget package (at least I see them when I download the package and look at its contents): [image: image.png]
You might want to check to see if Visual Basic somehow isn't finding these. On Sat, Jan 12, 2019 at 7:24 AM Good Eats <goodeat...@gmail.com> wrote: > Hi, > I want to use RDKit within a Visual Basic program I have written. A bit of > searching showed that a .NET wrapper for RDKit is available through the > VisualBasic NuGet package manager. I was able to use NuGet to add the > RDKit2DotNet package to my project. In the code I add the following and get > a successful compile: > > Imports GraphMolWrap > ... > RDKit.Initialize() 'Line 1 > myMol = RDKFuncs.MolBlockToMol(myString) 'Line 2 > > However, when run, I get a "NullObject" runtime error at Line 1 with no > other descriptive message. > If I comment out Line 1 and run again, I get a "dll could not be loaded > runtime error at line 2. Seems like I am missing a step somewhere. Am I > supposed to download and register any other .dlls to use these wrappers? > > Thank you. > _______________________________________________ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss >
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss