CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: looping

  1. #1
    Join Date
    Jul 1999
    Posts
    2

    looping

    i got a problem in looping. for example i hav enter a value in form1 and i need touse it in the form2 looping but it cannot take the value from the defined value in form1. i hav declare it in the sub main(). so what happen and way to solve it? i am still a beginner in VB programming. pls advise....




  2. #2
    Join Date
    Aug 1999
    Posts
    7

    Re: looping

    You should define I in the General section of the module in which the SubMain() residents like this:

    public I as integer



    Then you can use this variant to process the loop in another module.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured