CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Posts
    22

    Enumeration and Filestreams

    I'm working on a program where one can save data on movies into a text file and also display and add to the data. I'm using enumeration in order to keep the data, but I'm also getting errors when I use it. The Form 2 designer isn't showing up for some reason, not sure why. I will come back to this again in the morning but was hoping for some help and suggestions on this program. I'm a bit tired now but hopefully that still made some sense lol.

  2. #2
    Join Date
    Dec 2007
    Posts
    22

    Re: Enumeration and Filestreams

    here's the zip file of the program
    Attached Files Attached Files
    Last edited by chipninja; April 16th, 2009 at 03:15 PM.

  3. #3
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Enumeration and Filestreams

    And what is the error (exception message)? Or it just freeze?
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  4. #4
    Join Date
    Dec 2007
    Posts
    22

    Re: Enumeration and Filestreams

    It's giving me expected class, delegate, enum, interface or struct.

  5. #5
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Enumeration and Filestreams

    So it is a compile-time error?
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  6. #6
    Join Date
    Dec 2007
    Posts
    22

    Re: Enumeration and Filestreams

    the enumeration problem is gone but I'm still facing other problems

    I thought there was a Record namespace but it doesn't seem to exist

    here's the attachment of the program now
    Attached Files Attached Files

  7. #7
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Enumeration and Filestreams

    It is simple: classes Record and VideoCode are not defined anywhere.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

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

Featured