P
Patrick Dugan
I've been looking but apparently the method is avoiding me.
I'm trying to get command line parameters in VB.net
I tried using the "command" varaible in a small routine but the compiler
tells me that Command is "private"
Is there any easy way to simply get the command line parameters? What am I
missing?
Basically I'm trying to create a CEDelete program similar to the CECopy
Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
m_rapi.Connect()
strCommand = Command ''''''''''' <<<<< This is the line I tried
If m_rapi.Connected Then
If m_rapi.DeviceFileExists(TextBox1.Text) Then
m_rapi.DeleteDeviceFile(TextBox1.Text)
Else
MsgBox("Could not locate " & TextBox1.Text)
End If
m_rapi.Disconnect()
Else
MsgBox("No connection currently available.")
End If
End Sub
I'm trying to get command line parameters in VB.net
I tried using the "command" varaible in a small routine but the compiler
tells me that Command is "private"
Is there any easy way to simply get the command line parameters? What am I
missing?
Basically I'm trying to create a CEDelete program similar to the CECopy
Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
m_rapi.Connect()
strCommand = Command ''''''''''' <<<<< This is the line I tried
If m_rapi.Connected Then
If m_rapi.DeviceFileExists(TextBox1.Text) Then
m_rapi.DeleteDeviceFile(TextBox1.Text)
Else
MsgBox("Could not locate " & TextBox1.Text)
End If
m_rapi.Disconnect()
Else
MsgBox("No connection currently available.")
End If
End Sub