ALL EXPERTS - RE: Student Assignments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #16
    Originally posted by yoda
    i would like to have an opinion, i like the new rule is great but wat do we do if its not an assignment but if it's just a question about the code that a person as writen.

    example
    Code:
     Option Explicit
    
    Public LoginSucceeded As Boolean
    
    Private Sub cmdCancel_Click()
        'set the global var to false
        'to denote a failed login
        LoginSucceeded = False
        Me.Hide
    End Sub
    
    Private Sub cmdOK_Click()
        Dim FH As Long
    FH = FreeFile()
    
    Open "H:\_Common\Work2\Stuff for Mr.goss\a.txt" For Append As #FH
    'check for correct password
        If txtPassword = txtPassword Then
            'place code to here to pass the
            'success to the calling sub
            'setting a global var is the easiest
            LoginSucceeded = True
            Me.Hide
        Else
            MsgBox "Invalid Password, try again!", , "Login Failed"
            txtPassword.SetFocus
            SendKeys "{Home}+{End}"
        End If
    End Sub
    if i use this it's not all right but, if i asked a question like how would i use a loop in this code.

    just a question by Yoda
    Hi Yoda

    The rule only pertains to Assignments.

    Mary

    Comment

    • MMcCarthy
      Recognized Expert MVP
      • Aug 2006
      • 14387

      #17
      Originally posted by pallenzine12
      *quote snipped*
      If you want your question answered you will have to post a new thread for it using the Start a Discussion button in the C++ forum.

      ADMIN
      Last edited by RedSon; Mar 20 '07, 11:12 PM. Reason: Deleted original post.

      Comment

      • yoda
        Contributor
        • Dec 2006
        • 291

        #18
        Originally posted by mmccarthy
        Hi Yoda

        The rule only pertains to Assignments.

        Mary
        thanks mary

        Comment

        • yoda
          Contributor
          • Dec 2006
          • 291

          #19
          Originally posted by mmccarthy
          Hi Yoda

          The rule only pertains to Assignments.

          Mary
          mary u should make a rule making state wether there question is for anisgnment or just a general question.

          Yoda

          Just an idea

          Comment

          • MMcCarthy
            Recognized Expert MVP
            • Aug 2006
            • 14387

            #20
            Originally posted by yoda
            mary u should make a rule making state wether there question is for anisgnment or just a general question.

            Yoda

            Just an idea
            I think it would be too hard to enforce Yoda.

            Most of them are obvious anyway.

            Mary

            Comment

            • yoda
              Contributor
              • Dec 2006
              • 291

              #21
              Originally posted by mmccarthy
              I think it would be too hard to enforce Yoda.

              Most of them are obvious anyway.

              Mary

              thats fine just want to make a suggestion to help people and TSDN

              Comment

              • MMcCarthy
                Recognized Expert MVP
                • Aug 2006
                • 14387

                #22
                Originally posted by yoda
                thats fine just want to make a suggestion to help people and TSDN
                And it's appreciated.

                Mary

                Comment

                • MMcCarthy
                  Recognized Expert MVP
                  • Aug 2006
                  • 14387

                  #23
                  Originally posted by Christiansita
                  *quote snipped*
                  Please read Post# 18
                  Last edited by RedSon; Mar 20 '07, 11:13 PM. Reason: Original post deleted.

                  Comment

                  • Ganon11
                    Recognized Expert Specialist
                    • Oct 2006
                    • 3651

                    #24
                    Please see Post #18, as well as #25.

                    Comment

                    • yoda
                      Contributor
                      • Dec 2006
                      • 291

                      #25
                      dude we said all ready don't post questions in this forum about C++. see post number 18 and 25

                      Comment

                      • RedSon
                        Recognized Expert Expert
                        • Jan 2007
                        • 4980

                        #26
                        /me slaps forehead!

                        Comment

                        • Roonie
                          New Member
                          • Mar 2007
                          • 99

                          #27
                          Originally posted by RedSon
                          /me slaps forehead!
                          yeah, right?

                          these people are obviously not even bothering to check out the structure of the site before asking for help.

                          Comment

                          • yoda
                            Contributor
                            • Dec 2006
                            • 291

                            #28
                            Originally posted by Roonie
                            yeah, right?

                            these people are obviously not even bothering to check out the structure of the site before asking for help.
                            yep as u can see most newbies don't look before asking and where to post.

                            Comment

                            • RedSon
                              Recognized Expert Expert
                              • Jan 2007
                              • 4980

                              #29
                              Can someone close this thread please?

                              Oh...wait, I can.

                              Comment

                              Working...