Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

silverbeam

@silverbeam
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Error while loading document object reference not set to an instance of an object
    S silverbeam

    Public Function addplayer(ByVal player As String, ByVal score As Integer) As String() Dim please() As String Dim studx As CPlayer studx = New CPlayer(player, score) 'passes player name and score to studx? ReDim Preserve array(number) '<<< must be 'sets the size of the array array(number) = studx 'passes playername and score to array? please = buildarray() Return please End Function #End Region #Region "should build array" Private Function buildarray() As String() Dim j As Integer Dim a(number - 1) As String For j = 0 To number - 1 a(j) = array(j).ToString '<--- 'it blows up each time it gets to here Next Return a End Function this is in my Cplayer class Public Overrides Function toString() As String Dim strtemp As String strtemp = Me.player & " : " & CStr(Me.score) Return strtemp End Function can anybody help with this?

    Visual Basic help design
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups