home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,669 of 10,840   
   John to All   
   [VB.net] Accessing Command Line   
   23 Aug 05 20:54:58   
   
   From: john@test.net   
      
   Hi:   
      
   I a newbie to VB, though I have a fair bit of experience with other   
   languages.  My problem is that I need to access the command.  I have tried   
   using:   
      
   Private Sub ReportViewer_Load(ByVal sender As System.Object, ByVal e As   
   System.EventArgs) Handles MyBase.Load   
           Dim commandLine As String   
      
           If Command$ <> Empty Then   
                commandLine = Command   
               'frmReportViewer.ReportSource = Command   
           End If   
       End Sub   
      
      
   I keep getting the error:   
     'System.Windows.Forms.Command' is not accessible in this context because   
   it is 'Private'.   
      
   I am sure I am missing something very obvious.  Could someone please point   
   me in the correct direction?   
      
   tia:   
   John   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca