Sign in to follow this  
Pandora_Dog

Programming Final help (VB .NET)

Recommended Posts

I am having problems with vb .net. it keeps giving me an error and i cant figure out why. pleas look at this code and figure out what is wrong. it keeps saying this is wrong Me.rchAbout = New System.Windows.Forms.RichTextBox
'Programmed By Alex and Andrew

Option Explicit On 
Public Class FrmAbout
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents rchAbout As System.Windows.Forms.RichTextBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.rchAbout = New System.Windows.Forms.RichTextBox
        Me.SuspendLayout()
        '
        'rchAbout
        '
        Me.rchAbout.Location = New System.Drawing.Point(0, 0)
        Me.rchAbout.Name = "rchAbout"
        Me.rchAbout.Size = New System.Drawing.Size(664, 352)
        Me.rchAbout.TabIndex = 0
        Me.rchAbout.Text = "Software designed and created by:" & Microsoft.VisualBasic.ChrW(10) & "Alex" & Microsoft.VisualBasic.ChrW(10) & "Andrew" & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & "By using this sof" & _
        "tware you agree to follow the Terms of Service and the License." & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & "Terms Of Se" & _
        "rvice:" & Microsoft.VisualBasic.ChrW(10) & "By using this software you agree to hold the creator(s) of this software " & _
        "from any damage or personal injury caused by the use of or association with this" & _
        " software. ""Damage"" and ""Injury"" includes but is not limited to:" & Microsoft.VisualBasic.ChrW(10) & "Personal Injury" & _
        "" & Microsoft.VisualBasic.ChrW(10) & "Death" & Microsoft.VisualBasic.ChrW(10) & "Destruction of Data" & Microsoft.VisualBasic.ChrW(10) & "Undesired operation or malfunctioning of any part of " & _
        "the software" & Microsoft.VisualBasic.ChrW(10) & "Undesired stress" & Microsoft.VisualBasic.ChrW(10) & "Failure of infastructure" & Microsoft.VisualBasic.ChrW(10) & "Data Loss" & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & "If any part of" & _
        " this license or Terms of Service is broken or violated you must delete all copi" & _
        "es of this program including the installer file in your possession. " & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & Microsoft.VisualBasic.ChrW(10) & "Released" & _
        " under the creative commons attribution share-alike 2.0 license." & Microsoft.VisualBasic.ChrW(10) & "Creative Common" & _
        "s" & Microsoft.VisualBasic.ChrW(10) & "Attribution-ShareAlike 2.0" & Microsoft.VisualBasic.ChrW(10) & "CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND " & _
        "DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN" & _
        " ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN " & _
        """AS-IS"" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PR" & _
        "OVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE." & Microsoft.VisualBasic.ChrW(10) & "License " & Microsoft.VisualBasic.ChrW(10) & "THE" & _
        " WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PU" & _
        "BLIC LICENSE (""CCPL"" OR ""LICENSE""). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OT" & _
        "HER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICE" & _
        "NSE OR COPYRIGHT LAW IS PROHIBITED. " & Microsoft.VisualBasic.ChrW(10) & "BY EXERCISING ANY RIGHTS TO THE WORK PROVID" & _
        "ED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICE" & _
        "NSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF" & _
        " SUCH TERMS AND CONDITIONS. " & Microsoft.VisualBasic.ChrW(10) & "1. Definitions " & Microsoft.VisualBasic.ChrW(10) & """Collective Work"" means a work, suc" & _
        "h as a periodical issue, anthology or encyclopedia, in which the Work in its ent" & _
        "irety in unmodified form, along with a number of other contributions, constituti" & _
        "ng separate and independent works in themselves, are assembled into a collective" & _
        " whole. A work that constitutes a Collective Work will not be considered a Deriv" & _
        "ative Work (as defined below) for the purposes of this License. " & Microsoft.VisualBasic.ChrW(10) & """Derivative Wor" & _
        "k"" means a work based upon the Work or upon the Work and other pre-existing work" & _
        "s, such as a translation, musical arrangement, dramatization, fictionalization, " & _
        "motion picture version, sound recording, art reproduction, abridgment, condensat" & _
        "ion, or any other form in which the Work may be recast, transformed, or adapted," & _
        " except that a work that constitutes a Collective Work will not be considered a " & _
        "Derivative Work for the purpose of this License. For the avoidance of doubt, whe" & _
        "re the Work is a musical composition or sound recording, the synchronization of " & _
        "the Work in timed-relation with a moving image (""synching"") will be considered a" & _
        " Derivative Work for the purpose of this License. " & Microsoft.VisualBasic.ChrW(10) & """Licensor"" means the individu" & _
        "al or entity that offers the Work under the terms of this License. " & Microsoft.VisualBasic.ChrW(10) & """Original Au" & _
        "thor"" means the individual or entity who created the Work. " & Microsoft.VisualBasic.ChrW(10) & """Work"" means the cop" & _
        "yrightable work of authorship offered under the terms of this License. " & Microsoft.VisualBasic.ChrW(10) & """You"" me" & _
        "ans an individual or entity exercising rights under this License who has not pre" & _
        "viously violated the terms of this License with respect to the Work, or who has " & _
        "received express permission from the Licensor to exercise rights under this Lice" & _
        "nse despite a previous violation. " & Microsoft.VisualBasic.ChrW(10) & """License Elements"" means the following high-l" & _
        "evel license attributes as selected by Licensor and indicated in the title of th" & _
        "is License: Attribution, ShareAlike." & Microsoft.VisualBasic.ChrW(10) & "2. Fair Use Rights. Nothing in this license" & _
        " is intended to reduce, limit, or restrict any rights arising from fair use, fir" & _
        "st sale or other limitations on the exclusive rights of the copyright owner unde" & _
        "r copyright law or other applicable laws. " & Microsoft.VisualBasic.ChrW(10) & "3. License Grant. Subject to the term" & _
        "s and conditions of this License, Licensor hereby grants You a worldwide, royalt" & _
        "y-free, non-exclusive, perpetual (for the duration of the applicable copyright) " & _
        "license to exercise the rights in the Work as stated below: " & Microsoft.VisualBasic.ChrW(10) & "to reproduce the Wo" & _
        "rk, to incorporate the Work into one or more Collective Works, and to reproduce " & _
        "the Work as incorporated in the Collective Works; " & Microsoft.VisualBasic.ChrW(10) & "to create and reproduce Deriv" & _
        "ative Works; " & Microsoft.VisualBasic.ChrW(10) & "to distribute copies or phonorecords of, display publicly, perform" & _
        " publicly, and perform publicly by means of a digital audio transmission the Wor" & _
        "k including as incorporated in Collective Works; " & Microsoft.VisualBasic.ChrW(10) & "to distribute copies or phonor" & _
        "ecords of, display publicly, perform publicly, and perform publicly by means of " & _
        "a digital audio transmission Derivative Works. " & Microsoft.VisualBasic.ChrW(10) & "For the avoidance of doubt, wher" & _
        "e the work is a musical composition:" & Microsoft.VisualBasic.ChrW(10) & "Performance Royalties Under Blanket License" & _
        "s. Licensor waives the exclusive right to collect, whether individually or via a" & _
        " performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public p" & _
        "erformance or public digital performance (e.g. webcast) of the Work. " & Microsoft.VisualBasic.ChrW(10) & "Mechanical" & _
        " Rights and Statutory Royalties. Licensor waives the exclusive right to collect," & _
        " whether individually or via a music rights society or designated agent (e.g. Ha" & _
        "rry Fox Agency), royalties for any phonorecord You create from the Work (""cover " & _
        "version"") and distribute, subject to the compulsory license created by 17 USC Se" & _
        "ction 115 of the US Copyright Act (or the equivalent in other jurisdictions). " & Microsoft.VisualBasic.ChrW(10) & "W" & _
        "ebcasting Rights and Statutory Royalties. For the avoidance of doubt, where the " & _
        "Work is a sound recording, Licensor waives the exclusive right to collect, wheth" & _
        "er individually or via a performance-rights society (e.g. SoundExchange), royalt" & _
        "ies for the public digital performance (e.g. webcast) of the Work, subject to th" & _
        "e compulsory license created by 17 USC Section 114 of the US Copyright Act (or t" & _
        "he equivalent in other jurisdictions). " & Microsoft.VisualBasic.ChrW(10) & "The above rights may be exercised in all" & _
        " media and formats whether now known or hereafter devised. The above rights incl" & _
        "ude the right to make such modifications as are technically necessary to exercis" & _
        "e the rights in other media and formats. All rights not expressly granted by Lic" & _
        "ensor are hereby reserved." & Microsoft.VisualBasic.ChrW(10) & "4. Restrictions.The license granted in Section 3 abov" & _
        "e is expressly made subject to and limited by the following restrictions: " & Microsoft.VisualBasic.ChrW(10) & "You m" & _
        "ay distribute, publicly display, publicly perform, or publicly digitally perform" & _
        " the Work only under the terms of this License, and You must include a copy of, " & _
        "or the Uniform Resource Identifier for, this License with every copy or phonorec" & _
        "ord of the Work You distribute, publicly display, publicly perform, or publicly " & _
        "digitally perform. You may not offer or impose any terms on the Work that alter " & _
        "or restrict the terms of this License or the recipients' exercise of the rights " & _
        "granted hereunder. You may not sublicense the Work. You must keep intact all not" & _
        "ices that refer to this License and to the disclaimer of warranties. You may not" & _
        " distribute, publicly display, publicly perform, or publicly digitally perform t" & _
        "he Work with any technological measures that control access or use of the Work i" & _
        "n a manner inconsistent with the terms of this License Agreement. The above appl" & _
        "ies to the Work as incorporated in a Collective Work, but this does not require " & _
        "the Collective Work apart from the Work itself to be made subject to the terms o" & _
        "f this License. If You create a Collective Work, upon notice from any Licensor Y" & _
        "ou must, to the extent practicable, remove from the Collective Work any referenc" & _
        "e to such Licensor or the Original Author, as requested. If You create a Derivat" & _
        "ive Work, upon notice from any Licensor You must, to the extent practicable, rem" & _
        "ove from the Derivative Work any reference to such Licensor or the Original Auth" & _
        "or, as requested. " & Microsoft.VisualBasic.ChrW(10) & "You may distribute, publicly display, publicly perform, or pu" & _
        "blicly digitally perform a Derivative Work only under the terms of this License," & _
        " a later version of this License with the same License Elements as this License," & _
        " or a Creative Commons iCommons license that contains the same License Elements " & _
        "as this License (e.g. Attribution-ShareAlike 2.0 Japan). You must include a copy" & _
        " of, or the Uniform Resource Identifier for, this License or other license speci" & _
        "fied in the previous sentence with every copy or phonorecord of each Derivative " & _
        "Work You distribute, publicly display, publicly perform, or publicly digitally p" & _
        "erform. You may not offer or impose any terms on the Derivative Works that alter" & _
        " or restrict the terms of this License or the recipients' exercise of the rights" & _
        " granted hereunder, and You must keep intact all notices that refer to this Lice" & _
        "nse and to the disclaimer of warranties. You may not distribute, publicly displa" & _
        "y, publicly perform, or publicly digitally perform the Derivative Work with any " & _
        "technological measures that control access or use of the Work in a manner incons" & _
        "istent with the terms of this License Agreement. The above applies to the Deriva" & _
        "tive Work as incorporated in a Collective Work, but this does not require the Co" & _
        "llective Work apart from the Derivative Work itself to be made subject to the te" & _
        "rms of this License. " & Microsoft.VisualBasic.ChrW(10) & "If you distribute, publicly display, publicly perform, or " & _
        "publicly digitally perform the Work or any Derivative Works or Collective Works," & _
        " You must keep intact all copyright notices for the Work and give the Original A" & _
        "uthor credit reasonable to the medium or means You are utilizing by conveying th" & _
        "e name (or pseudonym if applicable) of the Original Author if supplied; the titl" & _
        "e of the Work if supplied; to the extent reasonably practicable, the Uniform Res" & _
        "ource Identifier, if any, that Licensor specifies to be associated with the Work" & _
        ", unless such URI does not refer to the copyright notice or licensing informatio" & _
        "n for the Work; and in the case of a Derivative Work, a credit identifying the u" & _
        "se of the Work in the Derivative Work (e.g., ""French translation of the Work by " & _
        "Original Author,"" or ""Screenplay based on original Work by Original Author""). Su" & _
        "ch credit may be implemented in any reasonable manner; provided, however, that i" & _
        "n the case of a Derivative Work or Collective Work, at a minimum such credit wil" & _
        "l appear where any other comparable authorship credit appears and in a manner at" & _
        " least as prominent as such other comparable authorship credit. " & Microsoft.VisualBasic.ChrW(10) & "5. Representati" & _
        "ons, Warranties and Disclaimer" & Microsoft.VisualBasic.ChrW(10) & "UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRIT" & _
        "ING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES O" & _
        "F ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, I" & _
        "NCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR " & _
        "A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS" & _
        ", ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. S" & _
        "OME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCL" & _
        "USION MAY NOT APPLY TO YOU." & Microsoft.VisualBasic.ChrW(10) & "6. Limitation on Liability. EXCEPT TO THE EXTENT REQ" & _
        "UIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL" & _
        " THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGE" & _
        "S ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN " & _
        "ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. " & Microsoft.VisualBasic.ChrW(10) & "7. Termination " & Microsoft.VisualBasic.ChrW(10) & "This License and th" & _
        "e rights granted hereunder will terminate automatically upon any breach by You o" & _
        "f the terms of this License. Individuals or entities who have received Derivativ" & _
        "e Works or Collective Works from You under this License, however, will not have " & _
        "their licenses terminated provided such individuals or entities remain in full c" & _
        "ompliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any te" & _
        "rmination of this License. " & Microsoft.VisualBasic.ChrW(10) & "Subject to the above terms and conditions, the licen" & _
        "se granted here is perpetual (for the duration of the applicable copyright in th" & _
        "e Work). Notwithstanding the above, Licensor reserves the right to release the W" & _
        "ork under different license terms or to stop distributing the Work at any time; " & _
        "provided, however that any such election will not serve to withdraw this License" & _
        " (or any other license that has been, or is required to be, granted under the te" & _
        "rms of this License), and this License will continue in full force and effect un" & _
        "less terminated as stated above. " & Microsoft.VisualBasic.ChrW(10) & "8. Miscellaneous " & Microsoft.VisualBasic.ChrW(10) & "Each time You distribute or " & _
        "publicly digitally perform the Work or a Collective Work, the Licensor offers to" & _
        " the recipient a license to the Work on the same terms and conditions as the lic" & _
        "ense granted to You under this License. " & Microsoft.VisualBasic.ChrW(10) & "Each time You distribute or publicly di" & _
        "gitally perform a Derivative Work, Licensor offers to the recipient a license to" & _
        " the original Work on the same terms and conditions as the license granted to Yo" & _
        "u under this License. " & Microsoft.VisualBasic.ChrW(10) & "If any provision of this License is invalid or unenforcea" & _
        "ble under applicable law, it shall not affect the validity or enforceability of " & _
        "the remainder of the terms of this License, and without further action by the pa" & _
        "rties to this agreement, such provision shall be reformed to the minimum extent " & _
        "necessary to make such provision valid and enforceable. " & Microsoft.VisualBasic.ChrW(10) & "No term or provision of" & _
        " this License shall be deemed waived and no breach consented to unless such waiv" & _
        "er or consent shall be in writing and signed by the party to be charged with suc" & _
        "h waiver or consent. " & Microsoft.VisualBasic.ChrW(10) & "This License constitutes the entire agreement between the " & _
        "parties with respect to the Work licensed here. There are no understandings, agr" & _
        "eements or representations with respect to the Work not specified here. Licensor" & _
        " shall not be bound by any additional provisions that may appear in any communic" & _
        "ation from You. This License may not be modified without the mutual written agre" & _
        "ement of the Licensor and You. " & Microsoft.VisualBasic.ChrW(10) & "Creative Commons is not a party to this License," & _
        " and makes no warranty whatsoever in connection with the Work. Creative Commons " & _
        "will not be liable to You or any party on any legal theory for any damages whats" & _
        "oever, including without limitation any general, special, incidental or conseque" & _
        "ntial damages arising in connection to this license. Notwithstanding the foregoi" & _
        "ng two (2) sentences, if Creative Commons has expressly identified itself as the" & _
        " Licensor hereunder, it shall have all rights and obligations of Licensor. " & Microsoft.VisualBasic.ChrW(10) & "Exce" & _
        "pt for the limited purpose of indicating to the public that the Work is licensed" & _
        " under the CCPL, neither party will use the trademark ""Creative Commons"" or any " & _
        "related trademark or logo of Creative Commons without the prior written consent " & _
        "of Creative Commons. Any permitted use will be in compliance with Creative Commo" & _
        "ns' then-current trademark usage guidelines, as may be published on its website " & _
        "or otherwise made available upon request from time to time." & Microsoft.VisualBasic.ChrW(10) & "Creative Commons may" & _
        " be contacted at http://creativecommons.org/." & Microsoft.VisualBasic.ChrW(10) & "SSSS Truly Randomized Selection"
        '
        'FrmAbout
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.ClientSize = New System.Drawing.Size(664, 350)
        Me.Controls.Add(Me.rchAbout)
        Me.MaximizeBox = False
        Me.Name = "FrmAbout"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "About"
        Me.ResumeLayout(False)

    End Sub

#End Region

End Class




Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this