Results 1 to 5 of 5

Thread: ....txt file is not a member of resources

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2011
    Posts
    9

    ....txt file is not a member of resources

    Hi,
    I have the 'resources' folder in my project and it contains a text file called dictionary.txt, which i refer to in my code as
    Code:
    My.Resources.dictionary.Split(New String() {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)
    This works perfectly.

    I then added a second text file called definition.txt, but when i refer to
    Code:
    My.Resources.definition.Split(New String() {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)
    This gives me an error 'Definition is not a a member of 'Resources'

    Can anybody help, as i can not see a way to fix this.......
    Last edited by lynxbci2011; Aug 9th, 2011 at 04:09 PM. Reason: forgot title

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width