Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedVB Module Development in DNN6VB Module Development in DNN6
Previous
 
Next
New Post
10/10/2012 2:49 AM
 

I followed the DotNetNuke Explained: Basic Module Development vid (youtube.com/watch?v=AKCYRPuoXF4).  Using DNN CE v6.2.3 & Visual Studio 2012, I'm able to follow the tut and create/compile a C# module (2.0 framework).  However, I mainly need to create modules in VB.  When I release build the VB project, I consistently get around 27 build errors (see below).  Are there components missing from the VB portion of the template download (http://christoctemplate.codeplex.com) or does the VB portion require additional tweaks to make it work?  Please advise.

Errors:

Type 'PortalModuleBase' is not defined. (MyTestModuleBase.vb)

Type 'ModuleSettingsBase' is not defined. (MyTestModuleSettingsBase.vb)

'Framework' is not declared. It may be inaccessible due to its protection level. (Data\DataProvider.vb)

Event 'Load' cannot be found. (Edit.ascx.vb)

'Exceptions' is not declared. It may be inaccessible due to its protection level. (Edit.ascx.vb)

Type 'ProviderConfiguration' is not defined.  (Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb)

Type expected. (Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb)

'Config' is not declared. It may be inaccessible due to its protection level.  (Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb)

'DotNetNuke' is not declared. It may be inaccessible due to its protection level. 
(Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb)

sub 'LoadSettings' cannot be declared 'Overrides' because it does not override a sub in a base class. (Settings.ascx.vb)

Reference to a non-shared member requires an object reference. (Settings.ascx.vb)

'ProcessModuleLoadException' is not declared. It may be inaccessible due to its protection level. (Settings.ascx.vb)

sub 'UpdateSettings' cannot be declared 'Overrides' because it does not override a sub in a base class. (Settings.ascx.vb)

Type 'Entities.Modules.ModuleController' is not defined. (Settings.ascx.vb)

'ProcessModuleLoadException' is not declared. It may be inaccessible due to its protection level. (Settings.ascx.vb)

Type 'IActionable' is not defined. (View.ascx.vb)

Event 'Load' cannot be found. (View.ascx.vb)

'Exceptions' is not declared. It may be inaccessible due to its protection level. (View.ascx.vb)

Type 'ModuleActionCollection' is not defined. (View.ascx.vb)

Type 'IActionable' is not defined. (View.ascx.vb)

Type 'ModuleActionCollection' is not defined. (View.ascx.vb)

'GetNextActionID' is not declared. It may be inaccessible due to its protection level. (View.ascx.vb)

'Localization' is not declared. It may be inaccessible due to its protection level. (View.ascx.vb)

'LocalResourceFile' is not declared. It may be inaccessible due to its protection level. (View.ascx.vb)

'Entities' is not declared. It may be inaccessible due to its protection level. (View.ascx.vb)

'EditUrl' is not declared. It may be inaccessible due to its protection level. (View.ascx.vb)

'DotNetNuke' is not declared. It may be inaccessible due to its protection level. (View.ascx.vb)
 
New Post
10/10/2012 5:41 AM
 
Sounds like missing references...

Best wishes
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
10/10/2012 1:30 PM
 
Update... the VB portion of the template DOES INDEED work. Somewhere along the way, things went awry for me (much to my own demise I'm certain). I started this time from scratch using baby steps, making sure to stay on course (use the same IIS path, framework, UNBLOCK the zips, etc etc). Right off the bat I was trying to customize the whole process (environment & custom template) to my liking which resulted in getting lost in the wind.

Best regards.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedVB Module Development in DNN6VB Module Development in DNN6


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out