<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Custom Modules</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Developing custom modules for DotNetNuke.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1278542.aspx</link><pubDate>Sun, 07 May 2006 14:08:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1278542</guid><dc:creator>adefwebserver</dc:creator><author>adefwebserver</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1278542.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1278542</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;jstawski:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;&amp;nbsp;How can I create an installation package for my custom module?&lt;/p&gt;
&lt;p&gt;Thanks in advanced...&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;see the bottom of this post:&lt;/p&gt;
&lt;p&gt;&lt;a HREF="/thread/1114393.aspx"&gt;http://forums.asp.net/thread/1114393.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1274459.aspx</link><pubDate>Wed, 03 May 2006 02:22:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1274459</guid><dc:creator>eqx</dc:creator><author>eqx</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1274459.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1274459</wfw:commentRss><description>&lt;p&gt;I'm coming from a VS2005 VB.Net windows background; ASP.Net for only 1 week. Thanks to all the info and tutorials on this post, I have successfully created a new module.&amp;nbsp; My question is created child window(s) from the main module window.&lt;/p&gt;
&lt;p&gt;From the&amp;nbsp;module's form, there are 2 buttons.&amp;nbsp;&amp;nbsp;When I click on each button1 and button2, I would like 2 new web forms to appear and all 3 viewable.&amp;nbsp; In VB.Net terms non-modal.&amp;nbsp; The child screens should have the same skin as the parent/DNN site to maintain a consistent look.&lt;/p&gt;
&lt;p&gt;With my limited knowledge, I created 2 new forms, child1.aspx and child2.aspx, under the DNN root.&amp;nbsp; The button1 and button2 click event does:&lt;/p&gt;
&lt;p&gt;Response.redirect("child1.aspx") &amp;amp; Response.redirect("chidl2.aspx")&lt;/p&gt;
&lt;p&gt;Does not work because the child web form is not "skinned" and replaces the parent web form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I do not want to add new modules within the same page (or create new pages) and then create the child forms within them.&amp;nbsp; I require the windows to be simultaneously viewable.&amp;nbsp;&amp;nbsp;Also,&amp;nbsp; adding a new page would add them to the DNN menu; not what I want.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for any ideas.&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1268967.aspx</link><pubDate>Wed, 26 Apr 2006 16:15:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1268967</guid><dc:creator>jstawski</dc:creator><author>jstawski</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1268967.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1268967</wfw:commentRss><description>&lt;p&gt;Michael, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;First of all, thanks for the &lt;a href="http://adefwebserver.com/DotNetNukeHELP/DNN_Module4/Default.htm"&gt;tutorial. &lt;/a&gt;It was helpfull to have a better understanding on the overall architecture of DNN V4 and also on custom modules. I do have one request/question. In my experience with DNN and installing modules, you can install a module by uploading a zip file and will do everything for you. I also seen you can create the module in a seperate project and therefore it won't affect the main portal's DLL. By following your step by step tutorial we're creating all the files within the main portal's website. Doesn't this affect the DLL? How can I create an installation package for my custom module?&lt;/p&gt;
&lt;p&gt;Thanks in advanced...&lt;/p&gt;
&lt;p&gt;Jonas&lt;/p&gt;
&lt;p&gt;PS: you can now get the Spanish - Argentina language pack from &lt;a href="http://www.dotnetnuke.com/default.aspx?tabid=785&amp;amp;type=art&amp;amp;site=533&amp;amp;parentid=167"&gt;here&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1263381.aspx</link><pubDate>Thu, 20 Apr 2006 16:30:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1263381</guid><dc:creator>fjreinders</dc:creator><author>fjreinders</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1263381.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1263381</wfw:commentRss><description>&lt;p&gt;Hai,&lt;/p&gt;
&lt;p&gt;It is maybe a help to you that we have a program that creates your modules complete with source code. They can be used ready out of the box in your portal. &lt;/p&gt;
&lt;p&gt;The source code of your module is generated by this program. Saves you a lot of time!&lt;/p&gt;
&lt;p&gt;you can try it for free on &lt;a href="http://www.dnnkickstart.com"&gt;http://www.dnnkickstart.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fokko Jan&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1240115.aspx</link><pubDate>Tue, 28 Mar 2006 13:17:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1240115</guid><dc:creator>emaynard</dc:creator><author>emaynard</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1240115.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1240115</wfw:commentRss><description>Sure, no problem.&lt;br /&gt;&lt;br /&gt;Here is a very specific post relating to the 2 products I mention, but I am sure there are probably more out there as well.&lt;br /&gt;&lt;br /&gt;http://forums.asp.net/thread/1057614.aspx&lt;br /&gt;&lt;br /&gt;And here are their respective links on Snowcovered.&amp;nbsp; I am not endorsing either product in particular, just the method as a valid alternative to creating a DNN without the need for wide-spread distribution.&lt;br /&gt;&lt;br /&gt;http://www.snowcovered.com/snowcovered2/Default.aspx?tabid=166&amp;amp;CatalogItemID=2180&lt;br /&gt;http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&amp;amp;PackageID=3501&lt;br /&gt;&lt;br /&gt;If you have any questions about the products specifically you should probably contact the developers as I have not used either personally.&lt;br /&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1239579.aspx</link><pubDate>Tue, 28 Mar 2006 00:41:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1239579</guid><dc:creator>TAGrove</dc:creator><author>TAGrove</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1239579.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1239579</wfw:commentRss><description>&lt;p&gt;&lt;font face=Tahoma size=2&gt;Eric, &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;You stated the following:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;font face=Tahoma size=2&gt;Basically, the idea is that if you don't need to distribute these apps to more than a single portal, your time and experience might be better spent "plugging-in" your own user controls into DNN and forgoing the DAL's structure and complexities altogether.&amp;nbsp; Just do a search for "OpenSmart Module" or&amp;nbsp; "OpenDNNSmartModule."&lt;/font&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I did search, but came up empty.&amp;nbsp; Could you post a link to OpenSmartModule and OpenDNNSmartModule?&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1234579.aspx</link><pubDate>Wed, 22 Mar 2006 19:36:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1234579</guid><dc:creator>emaynard</dc:creator><author>emaynard</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1234579.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1234579</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;aviens wrote:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Hello everyone,&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;In evaluating portal solutions for our intranet, I&amp;nbsp;decided to go with DNN. Since this is brand new, (no previous intranet portal exists), the sky is the limit for me. I figure starting with DNN4 is a good idea, as it is fresh new code utilizing the new ASP.NET 2.0 platform.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Aviens, I think many of us share this same thought as well.&amp;nbsp; Allow me to share some of my&amp;nbsp; DNN module development "journey" with you.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I have seen different tutorials out there... and it is helping me learn this, but it seems I keep hitting walls, which is getting a little frustrating.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;So far I have looked at the following tutorials:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;1. Shaun Walker's &lt;a href="/1114393/ShowPost.aspx"&gt;DotNetNuke 4.0.0 Starter Kit and Templates&lt;/a&gt; post:&lt;/font&gt;&lt;/p&gt;
&lt;blockquote dir="ltr"&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;It is a great tutorial, however it currently stops short of what I really want to know... extending the module provided in the Starter Kit. Hopefully the next post will be posted soon. &lt;img src="/emoticons/emotion-1.gif" alt="Smile [:)]" /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;No doubt he is a very busy person these days... but I to am hopeful it will be posted soon...&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;BLOCKQUOTE&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;2. Todd Davis' &lt;a href="http://www.dotnetnuke.com/Default.aspx?tabid=810"&gt;video tutorials&lt;/a&gt; on module creation for DNN 3.x:&lt;/font&gt;&lt;/p&gt;
&lt;blockquote dir="ltr"&gt;
&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;Great videos of the step by step procedure... but unfortunately, it is geared toward DNN 3.x development, and as I have read, DNN4 and DNN3 is structured quite differently... not to mention the inclusion of the Starter Kit for DNN4.&lt;/font&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/font&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;Don't let the difference in development structure deter you from watching as there is still much of the "internal" workings that remains the same and Todd is a great resource to see some in-the-trenches development work that will apply to either &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;&lt;BLOCKQUOTE&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;3. Michael Washington's &lt;a href="http://www.adefwebserver.com/DotNetNukeHELP/DNN_Module4/"&gt;step-by-step tutorial&lt;/a&gt; on module creation for DNN4:&lt;/font&gt;&lt;/p&gt;
&lt;blockquote dir="ltr"&gt;
&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;Once again, great tutorial... but where this one becomes hazy for me is on page four and on.&amp;nbsp;The tutorial becomes a copy and paste operation for the Guestbook module tutorial, and I do not clearly understand what is occuring at that point. Why were the template sprocs from the starter kit created only to delete them? Should I not use a code generator like CodeSmith to create my Insert/Update/Delete procedures? And, why is a ModuleID being created but no PortalID is being created in the table? Wouldn't this break if the module were to be used in two different portals hosted in the same database?&lt;/font&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/font&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;Michael's understanding and teaching interpretations of the DAL really shine in his tutorials which he even admits are cut-n-paste for a reason.&amp;nbsp; That is more to teach the structure and flow of a basic module design. &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;All in all, I think you would be hard pressed to find a more generous and caring community in terms of passing of knowledge and dedication to a project in the open source Dot NET community.&lt;/font&gt;&lt;/p&gt;&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;&lt;BLOCKQUOTE&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p dir="ltr"&gt;&lt;font face="Tahoma" size="2"&gt;I guess I have a few questions in utilizing the DNN4 Starter Kit:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;1. The namespace defaults to "YourCompany". Is there any way to specify that so a&amp;nbsp;find and replace is not necessary each time I create a module?&amp;nbsp;I am assuming the way to fix this is to open the ZIP file for the Module Starter Kit and do a find and replace once in there on this, and my problem would be solved.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;2. Would it not make sense to utilize CodeSmith to assist in the creation of the stored procedures necessary to add/update/delete items from the database as well as the creation of the various methods needed in Visual Studio? I am not familar with using code generators, but I would definitely begin to use it if it made my job in creating those rudimentary methods in VS and sprocs in SQL. Does the latest CodeSmith version have DNN4 templates already created for the DNN community?&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I can't speak for CodeSmith, but I have been working at customizing a set of MyGeneration templates created by grandOpus for DNN3 to work with DNN 4 the starter kit and Michael Washington's module  design tutorial. &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I think any project, even ones with a single table and small number of fields still could still make use of a generator, but I think Michael's take on this is that by keeping that stuff out of the picture as you learn the basics of framework, you will have a better understanding of how to use these for bigger projects.&amp;nbsp; That has been my experience as well to date.&amp;nbsp; I feel so much more comfortable tweaking and using the above mentinoned templates because of working through Michael's barebones module tuutorial.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;BLOCKQUOTE&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;4. Books. I currently own &lt;a href="http://www.amazon.com/gp/product/0764595636/102-3773518-6929767?%5Fencoding=UTF8&amp;amp;v=glance&amp;amp;n=283155"&gt;Professional DotNetNuke ASP.NET Portals&lt;/a&gt; and &lt;a href="http://www.amazon.com/gp/product/1904811272/102-3773518-6929767?%5Fencoding=UTF8&amp;amp;v=glance&amp;amp;n=283155"&gt;Building Websites with VB.NET and DotNetNuke 3.0&lt;/a&gt;. Unfortunately, all the books that deal with DNN4 are still not out yet:&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Again, don't under-estimate what can be learned from DNN 3.x programming.&amp;nbsp; Aside from the structure changes and streamlining of areas like Michaels's DAL+ it is still pretty much the same "beast" and you will extend modules and program the "internals" in much the same fashion.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;BLOCKQUOTE&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I have many ideas to start developing custom modules for our intranet portal, but right now I am still trying to understand the concepts of putting together the modules.&lt;/font&gt;&lt;/p&gt;&lt;font face="Tahoma" size="2"&gt;I plan to create some general reusable modules that I can release to the community at no charge, but also create modules specific to applications needed internally (small database trackers, calendaring tools, etc.)&lt;/font&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I am eager to jump into the DNN fray, but am still searching for the most efficient way to create my many modules to come!&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Also, note that as an experienced NET developer in need of more intranet like apps, you might find the dynamically loaded user control work-arounds that have been created to be of some use.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Basically, the idea is that if you don't need to distribute these apps to more than a single portal, your time and experience might be better spent "plugging-in" your own user controls into DNN and forgoing the DAL's structure and complexities altogether.&amp;nbsp; Just do a search for "OpenSmart Module" or&amp;nbsp; "OpenDNNSmartModule."&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;One final note, again from my own journey down the road of learning to program DNN, you will find that subscribing and/or purchsing the source code from a "professional" DNN developer to be one of the best learning tools.&amp;nbsp; I personally recommend Scott McColluch and Onyak Technologies because the do offer subscriptions and source code, but of course any of the core modules would also fall under this category as well.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Hope this helps someone else out there on the same journey.&lt;br /&gt;&lt;br /&gt;-eric&lt;br /&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1233819.aspx</link><pubDate>Wed, 22 Mar 2006 09:49:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1233819</guid><dc:creator>pchan</dc:creator><author>pchan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1233819.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1233819</wfw:commentRss><description>&lt;p&gt;&amp;gt;Thanks for your reply. Do you mean that I should select the webproject or the solution? The first &amp;gt;line in the solution window is usually the solution itself. I assume you mean the web project, as that is &amp;gt;probably the whole idea of this faulty DTE.ActivateWindows statement...&lt;/p&gt;
&lt;p&gt;Just to be precise: we're on DNN4, using Starter Kit. Although the sln file still exists, it is no longer obligatory in .NET 2.0; I always start my VS2005, pointing the directory. There is still a webproj file here but it is only 1 octet long; it can't be what you are referring to, unless things changed.&lt;/p&gt;
&lt;p&gt;For me, the first line is simply the repertoire of the web site. Using the default web server&amp;nbsp;of VS2005, this is my hard-disk repertoire. Using IIS, it would be&amp;nbsp;a virtual directory.&amp;nbsp;Selecting the first line&amp;nbsp;is what the faulty instruction was expected to do. So do it with the mouse for her!&lt;/p&gt;
&lt;p&gt;FYI: the various test_XXX macros are part of the tutorial, useful if you read the tutorial. Otherwise, ignore them. Dnn_Module_Step_001 is the one we are all interested in.&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1233383.aspx</link><pubDate>Tue, 21 Mar 2006 21:51:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1233383</guid><dc:creator>improwise</dc:creator><author>improwise</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1233383.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1233383</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;pchan wrote:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;Having downloaded the macros of Power House Data,&amp;nbsp;I have fiddled much on them by my own.&lt;/p&gt;
&lt;p&gt;Yes, the following code throws the error Incorrect parameter type:&lt;/p&gt;
&lt;p&gt;DTE.ActiveWindow.Object.GetItem(myprojectname).Select(vsUISelectionType.vsUISelectionTypeSelect)&lt;/p&gt;
&lt;p&gt;I have a &lt;strong&gt;workaround&lt;/strong&gt; for this: comment out this code (There are 3 such calls). Float the macro explorer so you see it beside the solutions explorer. In the latter, selection the first line (the project itself); right click the DNN_Module_Step_001 macro and select "Run" in the popup!&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply. Do you mean that I should select the webproject or the solution? The first line in the solution window is usually the solution itself. I assume you mean the web project, as that is probably the whole idea of this faulty DTE.ActivateWindows statement...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;/pJ&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1232748.aspx</link><pubDate>Tue, 21 Mar 2006 13:47:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1232748</guid><dc:creator>DougV</dc:creator><author>DougV</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1232748.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1232748</wfw:commentRss><description>&lt;p&gt;Sorry I wasn't able to get back in time to be of more help - I was out of town on really short notice the past three days.&amp;nbsp; Then I get back and my site was down because my host changed the server address on me!&amp;nbsp; Thankfully I have things going again now.&lt;/p&gt;
&lt;p&gt;Meanwhile, thanks for posting your experiences, I'm sure this will be of help to others. &lt;img src="/emoticons/emotion-1.gif" alt="Smile [:)]" /&gt;&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1231520.aspx</link><pubDate>Mon, 20 Mar 2006 14:40:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1231520</guid><dc:creator>pchan</dc:creator><author>pchan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1231520.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1231520</wfw:commentRss><description>&lt;p&gt;Having downloaded the macros of Power House Data,&amp;nbsp;I have fiddled much on them by my own.&lt;/p&gt;
&lt;p&gt;Yes, the following code throws the error Incorrect parameter type:&lt;/p&gt;
&lt;p&gt;DTE.ActiveWindow.Object.GetItem(myprojectname).Select(vsUISelectionType.vsUISelectionTypeSelect)&lt;/p&gt;
&lt;p&gt;I have a &lt;strong&gt;workaround&lt;/strong&gt; for this: comment out this code (There are 3 such calls). Float the macro explorer so you see it beside the solutions explorer. In the latter, selection the first line (the project itself); right click the DNN_Module_Step_001 macro and select "Run" in the popup!&lt;/p&gt;
&lt;p&gt;It now goes further and gets stuck in the connection string "c:\inetpub\wwwroot\PHDnet1\App_Data\Database.mdf" which is hard coded; I have&amp;nbsp;the DB&amp;nbsp;elsewhere ! &lt;br /&gt;I corrected that in the routine GetMyConnectionString()&lt;/p&gt;
&lt;p&gt;Just a tip before testing on your own: &lt;br /&gt;1° ensure you run the site before running these macros, to set up the database&lt;br /&gt;2° backup the directory so that you can "rollback" to before you ran the macros !&lt;br /&gt;3° the 3rd call is after the SQL transaction is commited, so it's ok if you got the HRESULT error again, just do Ctl-F5 &lt;/p&gt;
&lt;p&gt;It really works! A thousand Thanks to Doug !&amp;nbsp;&lt;br /&gt;Now that&amp;nbsp;there is interest in his work, hopefully he would update it. &lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1230442.aspx</link><pubDate>Sat, 18 Mar 2006 21:16:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1230442</guid><dc:creator>improwise</dc:creator><author>improwise</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1230442.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1230442</wfw:commentRss><description>&lt;div&gt;Which is really the macro that you are supposed to use? Why are there so many of them in the download file? I am confused :-)&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;I have assumed that the one which does not have "test" in its name is the final work and the macro that should be used, am I wrong?&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;/pJ&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;PS To the moderators: I've been a member for several years and used to be unmoderated but now that seems to have changed for some strange reason, would apprechiate if you could change it back so my posts dont end up in a queue every time. Thanks.&lt;/div&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1229715.aspx</link><pubDate>Fri, 17 Mar 2006 17:39:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1229715</guid><dc:creator>DougV</dc:creator><author>DougV</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1229715.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1229715</wfw:commentRss><description>&lt;p&gt;Try running the &lt;strong&gt;Test_001&lt;/strong&gt; macro.&amp;nbsp; It should certainly run without problem - just about no matter what.&lt;/p&gt;
&lt;p&gt;Next try running the &lt;strong&gt;Test_002&lt;/strong&gt; macro.&amp;nbsp; It should also run without problem, but I&amp;nbsp;don't know&amp;nbsp;given the error you are seeing.&lt;/p&gt;
&lt;p&gt;If you let me know what happens I'll see if I can help again (Monday?).&amp;nbsp; Also, did you have a beta version of Visual Studio 2005 previously installed?&lt;/p&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1229445.aspx</link><pubDate>Fri, 17 Mar 2006 13:44:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1229445</guid><dc:creator>improwise</dc:creator><author>improwise</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1229445.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1229445</wfw:commentRss><description>&lt;div&gt;I downloaded your code and I am trying to run the DNN_Module_Step001 (which I assume is the macro I am to run, not the test ones?) but it gives me an error:&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;"The parameter is incorrect. (Exception from HRESULT 0x80070057 (E_INVALIDARG))"&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;This occurs at this line (the first of them):&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;
&lt;p&gt;DTE.ActiveWindow.Object.GetItem(myprojectname).Select(vsUISelectionType.vsUISelectionTypeSelect)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And I have so far found no way of getting past this? Any ideas? Would be really helpfull and much apprechiated!&lt;/p&gt;
&lt;p&gt;/pJ&lt;/p&gt;&lt;/font&gt;&lt;/div&gt;</description></item><item><title>Re: DNN 4 Newbie: Creating a custom module</title><link>http://forums.asp.net/thread/1213996.aspx</link><pubDate>Wed, 01 Mar 2006 18:45:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1213996</guid><dc:creator>DougV</dc:creator><author>DougV</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1213996.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1213996</wfw:commentRss><description>&lt;p&gt;Also this will rename your folders and run the SQL for you.&lt;/p&gt;</description></item></channel></rss>