Thanks Sam. After reading the thread you sent me to I realized that I did not make any changes to the Module Configuration or to the Local Resource Files when I created my second ascx file in the module.
The problem is I don't know what changes I need to make. I tried looking at some of the resource files, and I tried adding the control to the page content (modifying code from the other post) but neither solution worked for me.
Here's the code I added to the 2nd ascx file.
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
Dim TempControl As DotNetNuke.Entities.Modules.PortalModuleBase
TempControl = CType(LoadControl("~/DesktopModules/PPYourClasses/PPYourClassesReceipt.ascx"), DotNetNuke.Entities.Modules.PortalModuleBase)
TempControl.ModuleConfiguration = Me.ModuleConfiguration
TempControl.LocalResourceFile = Me.TemplateSourceDirectory & "/" & DotNetNuke.Services.Localization.Localization.LocalResourceDirectory & "/<Usercontrol>.ascx.resx"
If Not TempControl Is Nothing Then
TempControl.ModuleConfiguration = Me.ModuleConfiguration
Controls.Add(TempControl)
End If
End Sub
What am I doing wrong???
Thanks again for your help Sam.
Mark