Bertcord wrote
I had to add a few DLL references and add some import statements
Hi, also trying my first steps with the discussed proposals, I wonder why you (and I) have to add those 'imports' statements. I am rather new to VB.net, but as far as I understand, using any class or module-method somewhere down in a namespace hierarchy needs to have declared that hierarchy by the imports statement.
So, when you install the DNN-Starterkit and the sample widget module, there is the ProcessModuleLoadException-Statement in the Page_Load event of the controls, but no 'imports DotNetNuke.Services.Exceptions'.
When you convert that widget-module to WAP, this part does not compile, unless you add the imports statement (ProcessModuleLoadException is a public method of the public module Exceptions).
Why?
Not that I am not able to add those statements (there are more of them), I just would like to understand it. What is the difference to the Standard-DNN-Installation in the WebSite Project to the WAP so I do have to delcare imports...?
Does anybody have an idea?
Thank you, Wolfgang