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

Total Post:1

Points:7
VB.Net 
 3812  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. Post:103

    Points:721
    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!