hi,
very basic question from a asp net beginner!
I am using GetCommandLineArgs to collect url parameters. The code follows. My problem is that I cannot use the parameters in the code. The variables (eg REIGN) are undefined. using version 2.5
What am I doing wrong?
michael

....................................
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

Dim REIGN As String
....
Dim strStartupArguments() As String, intCount As Integer

strStartupArguments = System.Environment.GetCommandLineArgs
For intCount = 0 To UBound(strStartupArguments)
Select Case strStartupArguments(intCount).ToLower
Case "-r"
If (Request("R") <> "") Then REIGN = Request("R")
......
End Select
Next intCount

End Sub