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" <jo**@test.net> wrote in message
news:Xn******************@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