I an using Open SmartModule V2.0PA for DNN 4.0.3 and developing under Visual Studio VB.Net 2005.
1) I created ASCX file with Button click event:
Call Microsoft.VisualBasic.Interaction.Shell("explorer e:\temp\temp.txt")
Call Microsoft.VisualBasic.Interaction.Shell
("explorer e:\temp\temp.pdf")
Call Microsoft.VisualBasic.Interaction.Shell
("explorer e:\temp\temp.txt")
No screen appears. In VS2005, I create a native website - this code works and displays the files in separate windows.
2) I created a DNN site using Shaunalker's Starter Kit template and the add ASCX and ASCX.VB files. DNN runs fine but I can not stop in the ACX.VB code. When I set a breakpoint and "Start Debugging", the breakpoint states "The breakpoint will not be hit. No symbols have been loaded for this document." If I create a native website in Visual Studio with the same code, I can stop in the ACX.VB code.
Thanks for your help.