Link to home
Start Free TrialLog in
Avatar of John Account
John Account

asked on

asp.net 3.5 image button WithEvents problem

I get this error "Compiler Error Message: BC30506: Handles clause requires a WithEvents variable defined in the containing type or one of its base types." on this button below:
Protected Sub imgbtnWebcast_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles imgbtnWebcast.Click

What am I missing here?
Avatar of zkeown
zkeown
Flag of United States of America image

Is your ImageButton inside of any sort of Repeater or other container?
Avatar of John Account
John Account

ASKER

It's inside a table. And anytime I click some of the things on the page that are clickable, except the actual imagebutton, I get that error message. I don't get that error when I click the imagebutton.
Try adding this line to your class.

Protected WithEvents imgbtnWebCast As ImageButton
I don't know how.
In your code behind file.  I usually put it right under the Inherits System.Web.UI.Page line.
You know...that's what I thought, which is why that's the first thing I had tried, but it doesn't work. Oddly enough, there's a squiggly line underneath imgbtnWebCast in that declaration. And, the tooltip from placing my mouse over that squiggly line reads: "'imgbtnWebCast' is already declared as 'Protected Dim WithEvents imgbtnWebCast As System.Web.UI.WebControls.ImageButton' in this class."--which doesn't make a lick of sense, because there's no other such declaration anywhere to be found!
Well, that SHOULD be what it says, oddly enough.  imgbtnWebCast is declared in the class when you add the control to your page.

Can you post the code to your page and code behind?
Sure...but it's a lot of code...anyway, here goes. Thanks.
'---------CODE BEHIND------------
Partial Class _Home
    Inherits System.Web.UI.Page
    Protected WithEvents imgbtnWebCast As ImageButton
 
    Public PgSoundSrc As String
    Public mySwf As String
    Public mySrc As String
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim playFile As Boolean
        playFile = Session.Item("PlayFile")
 
        If playFile = False Then
            mySwf = "headChurch.swf"
            Session.Item("PlayFile") = True
            Dim YourMp3 As Random = New Random
            PgSoundSrc = "AudioClips/" & YourMp3.Next(1, 12) & ".mp3"
        Else
            mySwf = "HeadChurchStatic.swf"
        End If
    End Sub
 
    Protected Sub imgbtnWebCast_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles imgbtnWebCast.Click
        'I want to do my stuff here, but having problems with the WithEvents
 
    End Sub
End Class
 
'--------------ASPX PAGE--------------------
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Home.aspx.vb" Inherits="_Home" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Fountaingate Christian Assembly - Church in Cornwall Ontario</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script language="VB" runat="server">
        Sub Date_Selected(ByVal sender As Object, ByVal e As EventArgs)
            Select Case Calendar1.SelectedDate.Year
                Case 2006
                    Select Case Calendar1.SelectedDate.Month
                        Case 1
                            Response.Redirect("PDFs\JanEvt06.pdf")
                        Case 2
                            Response.Redirect("PDFs\FebEvt06.pdf")
                        Case 3
                            Response.Redirect("PDFs\MarEvt06.pdf")
                        Case 4
                            Response.Redirect("PDFs\AprEvt06.pdf")
                        Case 5
                            Response.Redirect("PDFs\MayEvt06.pdf")
                        Case 6
                            Response.Redirect("PDFs\JunEvt06.pdf")
                        Case 7
                            Response.Redirect("PDFs\JulEvt06.pdf")
                        Case 8
                            Response.Redirect("PDFs\AugEvt06.pdf")
                        Case 9
                            Response.Redirect("PDFs\SepEvt06.pdf")
                        Case 10
                            Response.Redirect("PDFs\OctEvt06.pdf")
                        Case 11
                            Response.Redirect("PDFs\NovEvt06.pdf")
                        Case 12
                            Response.Redirect("PDFs\DecEvt06.pdf")
                    End Select
                Case 2007
                    Select Case Calendar1.SelectedDate.Month
                        Case 1
                            Response.Redirect("PDFs\JanEvt07.pdf")
                        Case 2
                            Response.Redirect("PDFs\FebEvt07.pdf")
                        Case 3
                            Response.Redirect("PDFs\MarEvt07.pdf")
                        Case 4
                            Response.Redirect("PDFs\AprEvt07.pdf")
                        Case 5
                            Response.Redirect("PDFs\MayEvt07.pdf")
                        Case 6
                            Response.Redirect("PDFs\JunEvt07.pdf")
                        Case 7
                            Response.Redirect("PDFs\JulEvt07.pdf")
                        Case 8
                            Response.Redirect("PDFs\AugEvt07.pdf")
                        Case 9
                            Response.Redirect("PDFs\SepEvt07.pdf")
                        Case 10
                            Response.Redirect("PDFs\OctEvt07.pdf")
                        Case 11
                            Response.Redirect("PDFs\NovEvt07.pdf")
                        Case 12
                            Response.Redirect("PDFs\DecEvt07.pdf")
                    End Select
                Case 2008
                    Select Case Calendar1.SelectedDate.Month
                        Case 1
                            Response.Redirect("PDFs\JanEvt08.pdf")
                        Case 2
                            Response.Redirect("PDFs\FebEvt08.pdf")
                        Case 3
                            Response.Redirect("PDFs\MarEvt08.pdf")
                        Case 4
                            Response.Redirect("PDFs\AprEvt08.pdf")
                        Case 5
                            Response.Redirect("PDFs\MayEvt08.pdf")
                        Case 6
                            Response.Redirect("PDFs\JunEvt08.pdf")
                        Case 7
                            Response.Redirect("PDFs\JulEvt08.pdf")
                        Case 8
                            Response.Redirect("PDFs\AugEvt08.pdf")
                        Case 9
                            Response.Redirect("PDFs\SepEvt08.pdf")
                        Case 10
                            Response.Redirect("PDFs\OctEvt08.pdf")
                        Case 11
                            Response.Redirect("PDFs\NovEvt08.pdf")
                        Case 12
                            Response.Redirect("PDFs\DecEvt08.pdf")
                    End Select
            End Select
        End Sub
    </script>
</head>
<body topmargin="0" background="images/bg.gif">
 
    <form id="form1" runat="server">
    <div>
<center style="margin-top: 0px; background-image: url(images/bg.gif)">    
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="766" height="291">
            <param name="allowScriptAccess" value="sameDomain" />
            <param name="movie" value="<%=mySwf %>" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#d9efee" />
            <embed src="<%=mySwf %>" width="766" height="291" name="headChurch" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
        <script type="text/javascript" src="ieupdate.js"></script>
</center>
<center style="margin-top: 0px; background-image: url(images/bg.gif)">
<table width="715" height="100%"  border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top" background="images/tit_bg.jpg" style="padding-top:15px ; height: 25px; width: 255px;" class="tit">
                &nbsp;&nbsp;&nbsp;&nbsp;Ministries</td>
            <td valign="top" background="images/tit_bg.jpg" style="padding-top:15px ; height: 25px; width: 234px;" class="tit">
                Pastor's Welcome</td>
            <td valign="top" background="images/tit_bg.jpg" style="padding-top:15px ; height: 25px;" width="255" class="tit">
                Mission Statement</td>
        </tr>
  <tr>
        <td bgcolor="#ffffff" valign="top" class="text" align="left" style="width: 255px;" rowspan="2">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<asp:XmlDataSource ID="MinistriesSource"
                runat="server" DataFile="~/App_Data/MinistriesMenu.xml"></asp:XmlDataSource>
            <asp:TreeView ID="TreeView2" runat="server" DataSourceID="MinistriesSource" ExpandDepth="1"
                MaxDataBindDepth="3" Style="z-index: 100; left: 11px; position: relative; top: -16px">
                <DataBindings>
                    <asp:TreeNodeBinding DataMember="Favorites" ImageUrl="~/images/xp/folder.gif" Text="Ministries"
                        Value="Ministries" />
                    <asp:TreeNodeBinding DataMember="category" ImageUrl="~/images/xp/folder.gif" TextField="name" SelectAction="Expand" />
                    <asp:TreeNodeBinding DataMember="group" ImageUrl="~/images/chm/closedbook.gif" NavigateUrlField="pic"
                        TextField="Title" ToolTipField="tip" />
                    <asp:TreeNodeBinding DataMember="page" ImageUrl="~/images/xp/notepad.gif" NavigateUrlField="url"
                        TextField="name" ToolTipField="tip" />
                </DataBindings>
            </asp:TreeView>             
          <img src="images/ArmsPraise.jpg" style="z-index: 107; left:14px; position: relative; top: -12px" align="bottom" /><br />
<asp:HyperLink id="HyperLink3" runat="server" NavigateUrl="http://maps.google.com/maps?q=1515+Vincent+Massey+Dr+Cornwall+Ontario" ToolTip="Click here for map and directions to our Sunday Service." ImageUrl="~/images/ViewMap.jpg"></asp:HyperLink>
<a href="http://www.adobe.com/"><img border="0" height="31" src="images/getacro.gif" style="position: relative; z-index: 108; left: 12px; top: -6px;" width="88" /></a><br />
<asp:ImageButton ID="imgbtnWebCast" runat="server" ImageUrl="~/images/btnLiveWebcast.jpg"
                Style="z-index: 100; left: 0px; position: relative; top: 0px" />
</td>
        <td bgcolor="#ffffff" valign="top" class="text" align="left" style="width: 234px;">
        <img border="0" src="Photos/PastorAndWifeFlowery167x200.jpg"></td>
      <td align="left" bgcolor="#ffffff" class="text" valign="top" width="255" style="color: #000000;">   
       <span style="color: #003333">We are devoted to leading people into a vibrant relationship
              with Jesus Christ through membership into His family by developing a Christlike
              maturity by means of equipping the saints for active ministry in the church as well
              as designing purposeful opportunities for missions in order to exalt and magnify
              God's name.</span>
          
              <br />
          <hr style="position: relative; z-index: 104;" />
          <asp:DetailsView style="Z-INDEX: 101; LEFT: 2px; POSITION: relative; TOP: -5px" id="DetailsView1" runat="server" DataSourceID="HmPgWelcomeSQL" Width="243px" GridLines="None" DataKeyNames="ID" AutoGenerateRows="False">
                <Fields>
                    <asp:BoundField DataField="Welcome" HeaderText="Welcome" ShowHeader="False" SortExpression="Welcome">
                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Top"  />
                    </asp:BoundField>
                    <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
                        SortExpression="ID" Visible="False" ></asp:BoundField>
                </Fields>  
            </asp:DetailsView><asp:SqlDataSource id="HmPgWelcomeSQL" runat="server" UpdateCommand="UPDATE [HmPg] SET [Welcome] = @Welcome WHERE [ID] = @original_ID AND [Welcome] = @original_Welcome" SelectCommand="SELECT [Welcome], [ID] FROM [HmPg]" OldValuesParameterFormatString="original_{0}" InsertCommand="INSERT INTO [HmPg] ([Welcome]) VALUES (@Welcome)" DeleteCommand="DELETE FROM [HmPg] WHERE [ID] = @original_ID AND [Welcome] = @original_Welcome" ConnectionString="<%$ ConnectionStrings:ConnectionStringWhispers %>" ConflictDetection="CompareAllValues">
                <DeleteParameters>
                    <asp:Parameter Name="original_ID" Type="Int32"  />
                    <asp:Parameter Name="original_Welcome" Type="String"  />
                </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="Welcome" Type="String"  />
                    <asp:Parameter Name="original_ID" Type="Int32"  />
                    <asp:Parameter Name="original_Welcome" Type="String"  />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="Welcome" Type="String"  />
                </InsertParameters>
            </asp:SqlDataSource>
            <br />
            <asp:HyperLink style="Z-INDEX: 100; LEFT: 12px; POSITION: relative" id="lnkMissionStatement" runat="server" NavigateUrl="~/PDFs/Mission Statement.pdf" Font-Size="12pt">View: Mission Statement Page</asp:HyperLink>
          </td>
  </tr>
    <tr>
        <td align="left" bgcolor="#ffffff" class="text" colspan="2" style="height: 229px" valign="top">
           <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="460" height="220" id="VideosBanner" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="VideosBanner.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="VideosBanner.swf" width="460" height="220" name="VideosBanner" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
         <script type="text/javascript" src="ieupdate.js"></script>
            <br />
            <br />
If you don't have the Adobe Acrobat software, you may download the Abode Acrobat Reader software here. This 
            
            will allow you to read documents that you download or view on our website.
        </td>
    </tr>
    <tr>
        <td align="center" background="images/tit_bg.jpg" bgcolor="#ffffff" class="tit" colspan="3"
            style="padding-top: 15px; text-align: center;" valign="top">
          <asp:Menu ID="Menu2" runat="server" Style="z-index: 100; left: 0px; position: relative;
              top: -11px" BackColor="#B5C7DE" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="Small" ForeColor="#284E98" Orientation="Horizontal" StaticSubMenuIndent="10px" Width="247px" BorderWidth="3px">
              <StaticMenuItemStyle HorizontalPadding="2px" VerticalPadding="2px" BorderStyle="Ridge" />
              <DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
              <DynamicMenuStyle BackColor="#B5C7DE" BorderStyle="Groove" />
              <StaticSelectedStyle BackColor="#507CD1" />
              <DynamicSelectedStyle BackColor="#507CD1" BorderStyle="None" />
              <DynamicMenuItemStyle HorizontalPadding="1px" VerticalPadding="2px" BorderStyle="Double" BorderWidth="2px" />
              <Items>
                  <asp:MenuItem Text="Webcast" Value="Webcast" Selectable="False" ToolTip="View Live Webcast of Sunday's Service">
                      <asp:MenuItem Text="Open Live Sermon Broadcast Page" Value="View Live Sermon Broadcast" NavigateUrl="~/LiveSermon.aspx"></asp:MenuItem>
                  </asp:MenuItem>
                  <asp:MenuItem Text="Presentations" Value="Presentations" Selectable="False">
                      <asp:MenuItem Text="FCA Convention 2008" ToolTip="Video Presentation: for the FCA Convention 2008 coming to Cornwall"
                          Value="FCA Convention 2008">
                          <asp:MenuItem NavigateUrl="~/FCAconvention.aspx" Text="Highspeed Broadband" ToolTip="Video for people with super fast Highspeed internet connection"
                              Value="Highspeed Broadband"></asp:MenuItem>
                          <asp:MenuItem Text="Lowspeed Connection" ToolTip="Video for people with slow internet connection"
                              Value="Lowspeed Connection" NavigateUrl="~/FCAconventionSlow.aspx"></asp:MenuItem>
                      </asp:MenuItem>
                      <asp:MenuItem NavigateUrl="~/CareyGrant.aspx" Text="Videos: Carey B. Grant CD Release"
                          ToolTip="View videos from the Live Performance of Carey's Free To Fly CD-Release Party"
                          Value="Free2FlyVideos"></asp:MenuItem>
                  </asp:MenuItem>
                  <asp:MenuItem Text="Photo Gallery" ToolTip="View photos of our fellowship." Value="Photo Gallery" Selectable="False">
                      <asp:MenuItem NavigateUrl="http://www.christian-experts.com/" Text="Enter Photo Gallery"
                          ToolTip="Click here to enter our photo gallery." Value="Enter Photo Gallery"></asp:MenuItem>
                  </asp:MenuItem>   
                  <asp:MenuItem Text="Announcements" Value="Announcements" Selectable="False" ToolTip="View Announcements">
                      <asp:MenuItem Text="View Sunday Announcements" Value="View Sunday Announcements" NavigateUrl="~/PDFs/Sunday Announcements.pdf"></asp:MenuItem>
                  </asp:MenuItem>
                  <asp:MenuItem Text="Involvement" Value="Service Involvment" Selectable="False" ToolTip="View Service Involment Sheet">
                      <asp:MenuItem Text="View Service Involvment " Value="View Service Involvment " NavigateUrl="~/PDFs/Service Involvement Sheet.pdf"></asp:MenuItem>
                  </asp:MenuItem>
              </Items>
              <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
          </asp:Menu>
          </td>
    </tr>
    <tr>
        <td align="left" bgcolor="#ffffff" class="text" colspan="2" valign="top" style="padding-top: 3px; height: 264px;">
            <span style="font-weight: bold; font-size: 13pt; color: #cc3300">
        Sunday Service<span
                style="font-size: 11px">...</span></span><asp:DetailsView ID="DetailsView2" runat="server" AutoGenerateRows="False" DataKeyNames="ID" DataSourceID="HmPgSundaySQL" Height="115px" Style="position: relative; left: 2px; top: 5px;"
                Width="441px" GridLines="None">
                <Fields>
                    <asp:BoundField DataField="SunService" HeaderText="SunService" ShowHeader="False"
                        SortExpression="SunService">
                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
                        SortExpression="ID" Visible="False" />
                </Fields>
            </asp:DetailsView>
            &nbsp;
            <asp:Image ID="Image1" runat="server" BorderColor="Black" ImageUrl="~/images/HandicapSymbol.gif" Style="left: 586px; position: absolute; top: 963px" ToolTip="Our Sunday Service is Handicap Wheelchair Accessible." />
            <asp:SqlDataSource ID="HmPgSundaySQL" runat="server" ConflictDetection="CompareAllValues"
                ConnectionString="<%$ ConnectionStrings:ConnectionStringWhispers %>" DeleteCommand="DELETE FROM [HmPg] WHERE [ID] = @original_ID AND [SunService] = @original_SunService"
                InsertCommand="INSERT INTO [HmPg] ([SunService]) VALUES (@SunService)" OldValuesParameterFormatString="original_{0}"
                SelectCommand="SELECT [SunService], [ID] FROM [HmPg]" UpdateCommand="UPDATE [HmPg] SET [SunService] = @SunService WHERE [ID] = @original_ID AND [SunService] = @original_SunService">
                <DeleteParameters>
                    <asp:Parameter Name="original_ID" Type="Int32" />
                    <asp:Parameter Name="original_SunService" Type="String" />
                </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="SunService" Type="String" />
                    <asp:Parameter Name="original_ID" Type="Int32" />
                    <asp:Parameter Name="original_SunService" Type="String" />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="SunService" Type="String" />
                </InsertParameters>
            </asp:SqlDataSource>
            <center>
            <table border="1" cellpadding="2" cellspacing="1" style="width: 92%; position: relative; z-index: 105; font-size: 11px; left: -3px; top: -27px;">
                <tr>
                    <td align="left" style="background-color: #D9EFEE; height: 20px;">
                    <script language="Javascript" src="http://www.worthynews.com/javascript/verses.js"></script>                   
                    </td>
                </tr>
                <tr>
                <td align="CENTER" style="background-color: #ccccff; height: 30px;">
                    <span style="color: #333399">
                Thank you for visiting Fountaingate Christian Assembly online. See you at Sunday's Service!</span></td>
                </tr>
            </table>
            </center>            
            </td>
      <td align="center" bgcolor="#ffffff" class="text" colspan="2" valign="top" style="width: 255px; height: 264px;">
          Click day to view monthly calendar<asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#999999"
              CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
              ForeColor="Black" Height="180px" OnSelectionChanged="Date_Selected" Style="z-index: 100; left: 8px; position: relative; top: 0px" >
              <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
              <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
              <SelectorStyle BackColor="#CCCCCC" />
              <WeekendDayStyle BackColor="#FFFFCC" />
              <OtherMonthDayStyle ForeColor="#808080" />
              <NextPrevStyle VerticalAlign="Bottom" />
              <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
              <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
          </asp:Calendar>          
          </td>          
    </tr>
    <tr>
        <td align="left" bgcolor="#ffffff" class="text" colspan="4" valign="top">
        <asp:Label ID="Label1" runat="server" Style="position: relative; left: 5px; top: -15px;" Text="Our church is a part of the Fellowship of Christian Assemblies which is an international fellowship with churches, ministers and missionaries in a variety of countries of the world. We are a fellowship of autonomous, evangelical churches with historical roots within the Pentecostal movement.  We view ourselves as called of God to share in mutual Christian care and practical cooperation in carrying out the Great Commission of our Lord Jesus Christ. We affirm our commitment to both local church autonomy and inter-church cooperation as biblical norms for our life and ministry. We also affirm our call to work in the spirit of love and unity with all true believers in our common ministry within the Kingdom of God."></asp:Label>
      </td>
    </tr>
    <tr>
        <td align="left" bgcolor="#ffffff" class="text" colspan="3" valign="top" style="height: 18px; text-align: center">
        <table border="0" cellpadding="0" cellspacing="0" height="27" style="position: relative; left: 0px; top: 0px; z-index: 106;" width="708">
                    <tr>
                        <td align="center" background="images/bot_link.jpg" style="height: 27px">
                            <a href="Home.aspx" class="limks">Home &nbsp;:: &nbsp;</a>
                            <a href="believe.aspx" class="limks">We Believe</a> &nbsp;:: &nbsp;
                            <a href="sermons.aspx" class="limks">Sermons</a> &nbsp;:: &nbsp; 
                            <a href="biblestudies.aspx" class="limks">Bible Studies</a> &nbsp;:: &nbsp;
                            <a href="addinfo.aspx" class="limks">Additional Info</a> &nbsp;:: &nbsp;
                            <a href="sugglinks.aspx" class="limks">Suggested Links</a> &nbsp;:: &nbsp;
                            <a href="contact.aspx" class="limks">Contact us</a>
                        </td>
                    </tr>
                </table>
            </td>
    </tr>
</table>
        
    <asp:HyperLink ID="HyperLink2" runat="server" ImageUrl="~/images/FCAOC-Banner.gif"
        NavigateUrl="http://www.fcaoc.org"
        Style="left: -11px; position: relative; top: 2; z-index: 101;">HyperLink</asp:HyperLink><br />
 
            <asp:Button ID="Button1" runat="server" Text="Administative Login" PostBackUrl="Login.aspx" style="position: relative; z-index: 102;" /><br />
Copyright &copy; 2007, Fountaingate Christian Assembly. All rights reserved.
</center>        
        <center>
            &nbsp;
            &nbsp;
            &nbsp;
            <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="DarkGreen" Style="position: relative; left: -8px; top: 11px; z-index: 103;" Width="477px" NavigateUrl="http://www.versacore.info">Web Design by: VersaCore web and software development</asp:HyperLink><P><br /><br /></P>
            </center>
<OBJECT ID="PageSounds" width="0" height="0" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
 <PARAM name="url" value="<%=PgSoundSrc %>">
 <PARAM name="src" value="<%=PgSoundSrc %>">
 <PARAM NAME="animationatStart" VALUE="true">
 <PARAM NAME="uiMode" value="Invisible">
 <PARAM NAME="transparentatStart" VALUE="true">
 <PARAM NAME="autoStart" VALUE="true">
 <PARAM NAME="showControls" VALUE="False">
</OBJECT>
    </div>
    </form>
<font color=D9EFEE size=1><h1>Church in Cornwall Ontario</h1> Canada.  Pentecostal <b>church in Cornwall, Ontario</b>. Fountaingate Christian Assembly is a <b>church located in Cornwall, Ontario</b>.  Of all churches in Cornwall, Ontario, Fountaingate is the one you want to attend.Fountaingate Christian Assembly has been tending to people in Cornwall Ontario for over 15 years.  Pastor Brad Montsion is the Pastor at Fountaingate Christian Assembly, a church in Cornwall Ontario Canada.
If you are looking to attend a <B>Good church in Cornwall Ontario</b> Fountaingat Christian Assembly is the one to go to.  Visit our church in Cornwall Ontario and visit our website.  Pastor Brad Montsion of the churc in Cornwall Onatrio name Fountaingate Christian Assembly welcomes you to his site.</font>
</body>
</html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of zkeown
zkeown
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well, your solution didn't work in my case, but perhaps it can in another person's; hence the "Good" grade. Thanks for trying to help me out, but there are many fish to fry and many different ways to skin a cat...so, I've moved on from this.