CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2014
    Posts
    15

    Assigning library items as objects (or variable)

    I would like to do the following with a compressed file:
    1.) change file extension to zip
    2.) Open the file (now a folder) and find all files within and assign them to an object or variable to be able to manipulate the files. Most of the containing files are of the same type and I can start from assuming they are all the same.

    This problem is currently stopping all my work so I would be very thankful for any help/tips.

    Thanks!

  2. #2
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Assigning library items as objects (or variable)

    Changing the extension of a file does NOT change its contents.
    The code will need to know the format of the content/internals of the file to be able to read it and get useful data from it.

    Do you know how was the file created and what its internal format is?
    Norm

  3. #3
    Join Date
    Sep 2014
    Posts
    15

    Re: Assigning library items as objects (or variable)

    Yes I want to open a files with file extension slx (Matlab Simulink files). And the internal files are mainly xml which are the ones I want to manipulate as a DOM or similar.

Tags for this Thread

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