Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Apr 24, 2014 5:13 am

Have created references to Spire.Doc and Spire.Licence in my VB project but the 'Imports Spire.Doc' & 'Imports Spire.Doc.Documents', however both have warning that they don't contain and public member or cannot be found. However, when I open the demo apps, all is fine and it works. The use the same DLLs. What am I doing wrong?

cbmarsh
 
Posts: 2
Joined: Thu Apr 24, 2014 3:50 am

Thu Apr 24, 2014 6:49 am

Hello,

Thanks for considering our Spire.Doc component.
If you are creating a new VB project, please add Spire.Doc.dll as reference to your project, such as the attached DLL.png.
And please ensure that the dlls and the target framework of your project are matched, for example, if the target framework of your project is .net4.0, all dlls you will use must be in the folder BIN\ NET4.0.

Best wishes,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Fri Apr 25, 2014 4:55 am

Thanks! That was what I had wrong. Using .NET 3.5 and 4.0 DLLs...

cbmarsh
 
Posts: 2
Joined: Thu Apr 24, 2014 3:50 am

Fri Apr 25, 2014 7:59 am

Hello,

Thanks for your feedback.
Feel free to contact us if you have any problems.

Best wishes,
Amy
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc