User Tag List

Results 1 to 8 of 8

Thread: Array Object and an .xls file

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Array Object and an .xls file

    I want to streamline an application that relies heavily on global values and global strings, and I want all of my data to be stored with a single spreadsheet.

    The spreadsheet will have 6 sheets (presumed to be z values).

    I am trying to figure out how to use the array object to load the .xls file upon startup of the application, then, but way of arrow keys, navigate one row at a time through a selected spreadsheet.

    I'll have a few counters and edit boxes to display the currently selected row in each box/counter. The list will be edited externally so there is no need to save data from within MMF2.

    Can anyone provide me with an example using the Array object, some edit boxes and an external .xls file?

    Thank you

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Array Object and an .xls file

    The array object can not load xls files. It is designed to load CNC Arrays (an array format from Click'n'Create) which is nothing like Microsoft Excel's xls files. To load those, you would have to read up on the format and use a binary object to manually read/save the data. It's quite troublesome to do. :\
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Array Object and an .xls file

    I was hoping to avoid another ini file...as I use those as save/load files.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Array Object and an .xls file

    Create/Open the spreadsheet in Excel, and then save it in .xml spreadsheet format instead of .xls - then you can use my Array Editor tool to convert it to an MMF2 array (and back again, if need be).

    http://www.create-games.com/download.asp?id=8360

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Array Object and an .xls file

    MuddyMole's utility has been a godsend for me and arrays in mmf

  6. #6
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Array Object and an .xls file

    alright I'd love to use this program...except that I cannot get it to work. no matter what i do I still cannot get it to recognize the extensions. I have b253b...should I downgrade to b252? What am I doing wrong that it keeps giving me the "cannot find EasyXML.mfx" both extensions are placed in the \data\runtime\ folder and the extension folder

    [EDIT] Okay I fixed the problem. Apparently in order to run this application, you need to download "msvcp71.dll".

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Array Object and an .xls file

    You have build 253? I believe the latest beta version is only 252.

    You don't need EasyXML.mfx (you don't even need to have MMF2 installed) - the required extensions are automatically embedded into the exe somehow.

    I'd guess you're probably missing some windows .dlls that it relies on.
    Someone else reported that it required msvcp71.dll & msvcr71.dll so maybe check that those are present in either the same folder as the exe, or windows/system32, or Windows\SysWOW64.

    Otherwise, I don't know what the problem is.

  8. #8
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Array Object and an .xls file

    I meant that I had build 2.52beta with the built in HWA sorry for the confusion, but I got the program to work by downloading that dll file.

    If anyone needs a copy please PM me and I'll send you the link I'm not sure if it's legal to post external links in this forum

Similar Threads

  1. LOAD/SAVE clone file in ARRAY FILE
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 24th July 2015, 01:47 AM
  2. Array object file selector
    By cimics in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 13th April 2013, 04:48 AM
  3. Looping through an array file
    By DaveC in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 7th March 2013, 04:35 AM
  4. Problem with saving/loading an NVO array file from the Named Variable object?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th January 2012, 01:17 PM
  5. How to use the binary array object to load file?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th October 2011, 05:09 PM

Posting Permissions

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