Jump to content

Am I missing a class?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
spasticjustice

spasticjustice

    Newbie

  • Members
  • Pip
  • 5 posts
I'm following a tutorial for a custom file explorer in C# and I'm having an issue with a particular line of code. The code is "lvw.Explorer.Items.Add(id, 8)" it looks like an array to me. Either way the problem is lvw.Explorer is coming up as not found in this context in Visual studio. My guess is I'm missing a class. Any suggestions? The other thing missing is tvwDirs.Nodes.Add(I'd). The 8 is calling on the eighth image in an image collection. To clarify tvw and lvw are missing in the context of my code.

Thanks in advanced.

#2
lespauled

lespauled

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 231 posts
  • Programming Language:C, C++, C#, JavaScript, PL/SQL, Delphi/Object Pascal, Visual Basic .NET, Pascal, Transact-SQL, Bash
This seems like an error in you code listing. it's probably lvwExplorer, not lvw.Explorer.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users