Click here to Skip to main content
15,886,873 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhaving problems (Public Shared Sub ShowTcpStatistics) Statement cannot within method body. End of method assumed// which is affecting my txtbox.Text Pin
that_dude_tj2-Aug-09 10:59
that_dude_tj2-Aug-09 10:59 
AnswerRe: having problems (Public Shared Sub ShowTcpStatistics) Statement cannot within method body. End of method assumed// which is affecting my txtbox.Text Pin
Christian Graus2-Aug-09 11:45
protectorChristian Graus2-Aug-09 11:45 
AnswerRe: having problems (Public Shared Sub ShowTcpStatistics) Statement cannot within method body. End of method assumed// which is affecting my txtbox.Text Pin
Dave Kreskowiak2-Aug-09 11:46
mveDave Kreskowiak2-Aug-09 11:46 
Generaltxtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
that_dude_tj2-Aug-09 12:32
that_dude_tj2-Aug-09 12:32 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
Christian Graus2-Aug-09 13:58
protectorChristian Graus2-Aug-09 13:58 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
nlarson112-Aug-09 16:26
nlarson112-Aug-09 16:26 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
Christian Graus2-Aug-09 16:42
protectorChristian Graus2-Aug-09 16:42 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
nlarson112-Aug-09 17:13
nlarson112-Aug-09 17:13 
I just tried it. It probably is 2 properties that are overloaded 'a' = text for the example

Public ReadOnly Property a(ByVal idx As Int16) As String
    Get
        'extracts character at position
    End Get
End Property

Public Property a() As String
    Get

    End Get
    Set(ByVal value As String)

    End Set
End Property


'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous

'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous


GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
0x3c03-Aug-09 0:57
0x3c03-Aug-09 0:57 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
that_dude_tj2-Aug-09 17:11
that_dude_tj2-Aug-09 17:11 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
Dave Kreskowiak2-Aug-09 16:56
mveDave Kreskowiak2-Aug-09 16:56 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
that_dude_tj2-Aug-09 17:01
that_dude_tj2-Aug-09 17:01 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
Christian Graus2-Aug-09 17:07
protectorChristian Graus2-Aug-09 17:07 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
that_dude_tj2-Aug-09 17:12
that_dude_tj2-Aug-09 17:12 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
Dave Kreskowiak3-Aug-09 2:01
mveDave Kreskowiak3-Aug-09 2:01 
Questionstring Pin
john56322-Aug-09 8:46
john56322-Aug-09 8:46 
AnswerRe: string Pin
Henry Minute2-Aug-09 9:13
Henry Minute2-Aug-09 9:13 
AnswerRe: string Pin
Christian Graus2-Aug-09 11:46
protectorChristian Graus2-Aug-09 11:46 
GeneralRe: string Pin
Luc Pattyn2-Aug-09 12:03
sitebuilderLuc Pattyn2-Aug-09 12:03 
GeneralRe: string Pin
nlarson112-Aug-09 13:38
nlarson112-Aug-09 13:38 
GeneralRe: string Pin
Christian Graus2-Aug-09 13:55
protectorChristian Graus2-Aug-09 13:55 
GeneralRe: string Pin
Johan Hakkesteegt2-Aug-09 20:23
Johan Hakkesteegt2-Aug-09 20:23 
AnswerRe: string Pin
nlarson112-Aug-09 13:36
nlarson112-Aug-09 13:36 
GeneralRe: string Pin
Christian Graus2-Aug-09 14:08
protectorChristian Graus2-Aug-09 14:08 
GeneralRe: string Pin
nlarson112-Aug-09 16:21
nlarson112-Aug-09 16:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.