Passing Arguments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChillUmesh
    New Member
    • Feb 2007
    • 20

    Passing Arguments

    Can We Pass Arguments To Vb Like How We Send To C Or C++
    If So Can U Help Me In This
    Thnx
    Umesh
  • ansumansahu
    New Member
    • Mar 2007
    • 149

    #2
    Originally posted by ChillUmesh
    Can We Pass Arguments To Vb Like How We Send To C Or C++
    If So Can U Help Me In This
    Thnx
    Umesh
    Do you mean pass arguments to functions. Yes both byval and byRef take place in VB.

    -ansuman sahu

    Comment

    • ChillUmesh
      New Member
      • Feb 2007
      • 20

      #3
      Originally posted by ansumansahu
      Do you mean pass arguments to functions. Yes both byval and byRef take place in VB.

      -ansuman sahu

      no,its not about passing arguments to functions

      do u know we can receive arguments in main function, which are passed when an application is executed.(we receive as argc and argv in C)

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by ChillUmesh
        no,its not about passing arguments to functions

        do u know we can receive arguments in main function, which are passed when an application is executed.(we receive as argc and argv in C)
        If you're referring to command-line arguments, look for them in Command$. (Actually, I think the $ is optional these days.)

        Comment

        Working...