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,670 of 10,840   
   Rick Rothstein [MVP - Visual Basic] to John   
   Re: [VB.net] Accessing Command Line   
   23 Aug 05 17:15:44   
   
   From: rickNOSPAMnews@NOSPAMcomcast.net   
      
   Almost everybody in this newsgroup is using VB6 or lower. While you may   
   get a stray answer to VB.NET (including VB2003 and VB2005 which has   
   dropped .NET from its name) questions here, you should ask them in   
   newsgroups devoted exclusively to .NET programming. Look for newsgroups   
   with either the word "dotnet" or "vsnet" in their name.   
      
   For the microsoft news server, try these newsgroups for Visual Basic   
   .NET related questions...   
      
      microsoft.public.dotnet.languages.vb   
      microsoft.public.dotnet.languages.vb.upgrade   
      microsoft.public.dotnet.languages.vb.controls   
      microsoft.public.dotnet.languages.vb.data   
      
   And these for more general .NET questions   
      
      microsoft.public.dotnet.general   
      microsoft.public.vsnet.general   
      
   Note: There are many other .NET newgroups (use the first three "fields"   
   from the last two as templates when searching for them), but the above   
   ones should get you started.   
      
   Rick   
      
      
      
   "John"  wrote in message   
   news:Xns96BB8D8FBF2B1john@64.59.144.76...   
   > 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