aDEFWEBSERVER
Los Angeles, CA *  Webmaster@ADefWebserver.com

 

Creating a DotNetNuke® Module using notepad -
For absolute beginners! (Page 3) page 2

 

Changing the module:

 

  You are now ready to make a change to the module and view the change.  In the file "ImportantMessages.vb" find the line:
 
Message_Label.Text = CType(Settings("Message"), String)

and change it to:

Message_Label.Text = CType(Settings("Message"), String) & "<i> - The time is now " & DateTime.Now.ToString() & "</i>"

Save the file and click the TEST tab in DNN in your web browser. You will now see the current time appended to the message.

       
 

You can continue to make changes to the module and view the changes through the web browser. The downside to this method of module development is that when there is an error you do not get good error messages.

It is best to develop your program using controls placed on pages and only use this method for the final integration into DNN.

 
       
 

We are now ready to compile and package the DNN module.

   
 

 

   

Next... compile the module

3 of 5

(C) by Michael Washington - ADefWebserver.com - Webmaster@ADefWebserver.com

DotNetNuke® is a registered trademark of Perpetual Motion Interactive Systems Inc.