Is there a method to get command line arguments in VB.NET?

Total Post:1

Points:7

VB.Net 
 4175  View(s)
Ratings:
Rate this:
Is there a method to get command line arguments in VB.NET? Please provide a sample of retreiving command line parametes.
  1. Re: Is there a method to get command line arguments in VB.NET?

    write this code to get the command line argument
     

    Shared Sub Main(ByVal args As String())
        For Each arg As String In args
            Console.WriteLine(arg)
        Next arg
     
        Console.ReadLine() End Sub

      Modified On Mar-29-2018 02:09:02 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.