Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. vb6 algorithm

vb6 algorithm

Scheduled Pinned Locked Moved Algorithms
algorithmshelpquestion
26 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    irwansmadaxip1
    wrote on last edited by
    #1

    Hi guys, I 'm a student of computer science from Indonesia and newbie in vb6 programming. please, help me to learn the algorithm of vb6. the following is algorithm question. 1) Present the prime number between 1 up to 10 that use "Mod" and "Print" function. the Object is only 1 command button. Note: forbidden use "int" function thank's for helping me. your sincerely IRWAN

    i need help in vb6 algorithm

    T A U 3 Replies Last reply
    0
    • I irwansmadaxip1

      Hi guys, I 'm a student of computer science from Indonesia and newbie in vb6 programming. please, help me to learn the algorithm of vb6. the following is algorithm question. 1) Present the prime number between 1 up to 10 that use "Mod" and "Print" function. the Object is only 1 command button. Note: forbidden use "int" function thank's for helping me. your sincerely IRWAN

      i need help in vb6 algorithm

      T Offline
      T Offline
      Tim Craig
      wrote on last edited by
      #2

      Which part don't you understand? Ask a specific question, otherwise people here aren't going to do your homework for you.

      The evolution of the human genome is too important to be left to chance.

      P L U 3 Replies Last reply
      0
      • T Tim Craig

        Which part don't you understand? Ask a specific question, otherwise people here aren't going to do your homework for you.

        The evolution of the human genome is too important to be left to chance.

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Tim Craig wrote:

        people here aren't going to do your homework for you.

        I find it amazing how many people don't seem to get the clue :sigh:

        T U 2 Replies Last reply
        0
        • P Paul Conrad

          Tim Craig wrote:

          people here aren't going to do your homework for you.

          I find it amazing how many people don't seem to get the clue :sigh:

          T Offline
          T Offline
          Tim Craig
          wrote on last edited by
          #4

          PaulC1972 wrote:

          I find it amazing how many people don't seem to get the clue

          Lately it seems like most of them come from third world countries where the powers that be want to ship US jobs. They're too lazy to even try to do their homework and they get rewarded for it.

          The evolution of the human genome is too important to be left to chance.

          C P U 3 Replies Last reply
          0
          • T Tim Craig

            PaulC1972 wrote:

            I find it amazing how many people don't seem to get the clue

            Lately it seems like most of them come from third world countries where the powers that be want to ship US jobs. They're too lazy to even try to do their homework and they get rewarded for it.

            The evolution of the human genome is too important to be left to chance.

            C Offline
            C Offline
            ChandraRam
            wrote on last edited by
            #5

            Maybe so on this site... have you recently checked Rent A Coder? I see a lot of US students posting homework questions there...

            P U 2 Replies Last reply
            0
            • C ChandraRam

              Maybe so on this site... have you recently checked Rent A Coder? I see a lot of US students posting homework questions there...

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #6

              ChandraRam wrote:

              I see a lot of US students posting homework questions there...

              Are you sure they really are in the US? Could be somewheres else in the world and making it look like they are in the US...

              C U 2 Replies Last reply
              0
              • T Tim Craig

                PaulC1972 wrote:

                I find it amazing how many people don't seem to get the clue

                Lately it seems like most of them come from third world countries where the powers that be want to ship US jobs. They're too lazy to even try to do their homework and they get rewarded for it.

                The evolution of the human genome is too important to be left to chance.

                P Offline
                P Offline
                Paul Conrad
                wrote on last edited by
                #7

                Tim Craig wrote:

                third world countries where the powers that be want to ship US jobs

                They can go ahead and do so. Any company that feeds these people will be in for a rude awakening when they find out their IT staff is so incompetent they leech off of people like us.

                E U 2 Replies Last reply
                0
                • P Paul Conrad

                  ChandraRam wrote:

                  I see a lot of US students posting homework questions there...

                  Are you sure they really are in the US? Could be somewheres else in the world and making it look like they are in the US...

                  C Offline
                  C Offline
                  ChandraRam
                  wrote on last edited by
                  #8

                  Have you actually looked for yourself?

                  U 1 Reply Last reply
                  0
                  • P Paul Conrad

                    Tim Craig wrote:

                    third world countries where the powers that be want to ship US jobs

                    They can go ahead and do so. Any company that feeds these people will be in for a rude awakening when they find out their IT staff is so incompetent they leech off of people like us.

                    E Offline
                    E Offline
                    ejuanpp
                    wrote on last edited by
                    #9

                    It is sad to read this kind of statements here. Helping each other is the main purpose of these forums. Not comparing IT staffs :(

                    U 1 Reply Last reply
                    0
                    • I irwansmadaxip1

                      Hi guys, I 'm a student of computer science from Indonesia and newbie in vb6 programming. please, help me to learn the algorithm of vb6. the following is algorithm question. 1) Present the prime number between 1 up to 10 that use "Mod" and "Print" function. the Object is only 1 command button. Note: forbidden use "int" function thank's for helping me. your sincerely IRWAN

                      i need help in vb6 algorithm

                      A Offline
                      A Offline
                      Agus Budianto
                      wrote on last edited by
                      #10

                      well, looks like no one here will help with the homework... try this

                      private sub Commad1_click()
                      dim i as integer
                      for i=2 to 10 'why 2 cos 1 is not prime number
                      if i mod 2 =0 then debug.print i
                      next i
                      end sub

                      selamat berjuang....

                      P U 2 Replies Last reply
                      0
                      • A Agus Budianto

                        well, looks like no one here will help with the homework... try this

                        private sub Commad1_click()
                        dim i as integer
                        for i=2 to 10 'why 2 cos 1 is not prime number
                        if i mod 2 =0 then debug.print i
                        next i
                        end sub

                        selamat berjuang....

                        P Offline
                        P Offline
                        Paul Conrad
                        wrote on last edited by
                        #11

                        AgusBudianto wrote:

                        well, looks like no one here will help with the homework...

                        Because most of us here don't do people's homework for them. Your code does not work 100%.

                        A U 2 Replies Last reply
                        0
                        • T Tim Craig

                          Which part don't you understand? Ask a specific question, otherwise people here aren't going to do your homework for you.

                          The evolution of the human genome is too important to be left to chance.

                          L Offline
                          L Offline
                          Lebanese
                          wrote on last edited by
                          #12

                          hahahaha, Nice reply.

                          U 1 Reply Last reply
                          0
                          • P Paul Conrad

                            AgusBudianto wrote:

                            well, looks like no one here will help with the homework...

                            Because most of us here don't do people's homework for them. Your code does not work 100%.

                            A Offline
                            A Offline
                            Agus Budianto
                            wrote on last edited by
                            #13

                            ups my mistake, the code suppose to be something like this, sorry.. sorry..

                            for i=2 to 10
                            if i mod 2<>0 then debug.print i
                            next i

                            "if we dont want to help people, then don't at least don't say something rude to them" --how sad.. -- modified at 3:36 Sunday 3rd December, 2006

                            U 1 Reply Last reply
                            0
                            • A Agus Budianto

                              ups my mistake, the code suppose to be something like this, sorry.. sorry..

                              for i=2 to 10
                              if i mod 2<>0 then debug.print i
                              next i

                              "if we dont want to help people, then don't at least don't say something rude to them" --how sad.. -- modified at 3:36 Sunday 3rd December, 2006

                              U Offline
                              U Offline
                              User 12346520
                              wrote on last edited by
                              #14

                              thanks: https://movied.org

                              1 Reply Last reply
                              0
                              • P Paul Conrad

                                AgusBudianto wrote:

                                well, looks like no one here will help with the homework...

                                Because most of us here don't do people's homework for them. Your code does not work 100%.

                                U Offline
                                U Offline
                                User 12346520
                                wrote on last edited by
                                #15

                                thanks: https://movied.org

                                1 Reply Last reply
                                0
                                • L Lebanese

                                  hahahaha, Nice reply.

                                  U Offline
                                  U Offline
                                  User 12346520
                                  wrote on last edited by
                                  #16

                                  thanks: https://movied.org

                                  1 Reply Last reply
                                  0
                                  • A Agus Budianto

                                    well, looks like no one here will help with the homework... try this

                                    private sub Commad1_click()
                                    dim i as integer
                                    for i=2 to 10 'why 2 cos 1 is not prime number
                                    if i mod 2 =0 then debug.print i
                                    next i
                                    end sub

                                    selamat berjuang....

                                    U Offline
                                    U Offline
                                    User 12346520
                                    wrote on last edited by
                                    #17

                                    thanks: https://movied.org

                                    1 Reply Last reply
                                    0
                                    • E ejuanpp

                                      It is sad to read this kind of statements here. Helping each other is the main purpose of these forums. Not comparing IT staffs :(

                                      U Offline
                                      U Offline
                                      User 12346520
                                      wrote on last edited by
                                      #18

                                      thanks: https://movied.org

                                      1 Reply Last reply
                                      0
                                      • P Paul Conrad

                                        Tim Craig wrote:

                                        third world countries where the powers that be want to ship US jobs

                                        They can go ahead and do so. Any company that feeds these people will be in for a rude awakening when they find out their IT staff is so incompetent they leech off of people like us.

                                        U Offline
                                        U Offline
                                        User 12346520
                                        wrote on last edited by
                                        #19

                                        thanks: https://movied.org

                                        1 Reply Last reply
                                        0
                                        • C ChandraRam

                                          Have you actually looked for yourself?

                                          U Offline
                                          U Offline
                                          User 12346520
                                          wrote on last edited by
                                          #20

                                          thanks: https://movied.org

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups