General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Set Assets Folder to AppData Folder

  • dblisset

    Set Assets Folder to AppData Folder

    Participants 1
    Replies 2
    Last Activity 9 years, 8 months ago

    XMetal Author Essential
    Windows 7 Professional both 32 & 64 bit

    I'm trying to modify the xmetal55.ini to utilize the %AppData% folder for assets_path but haven't had much success.

    I also tried to modify it in a startup macro but Application.AssetsPath is a read only property.

    Is there a way to accomplish this without hard coding a path?



    Reply to: Set Assets Folder to AppData Folder


    As far as I know, the only variable XMetaL allows is ${SQDIR}.



    Derek Read

    Reply to: Set Assets Folder to AppData Folder

    Unfortuantely, the Assets feature was designed to function with files stored in Program Files (in the installation path) before Windows implemented their per-user functionality but the nail in the coffin was increased security with XP SP2 and later versions of Windows. The way it was coded made it virtually impossible to modify to work in that type of environment.

    To keep the feature would have required a complete rewrite, so it was deprecated in version 5 and became unsupported in version 6. It is not available by default in versions 7 and 8 (though it could be added back in its broken state for clients still running XP with reduced security using an unsupported API).

    A similar feature should be possible to recreate (depending on which functionality you use) using an embedded copy of Internet Explorer or a custom control. The Resource Manager still allows for the embedding of ActiveX controls (including the WebBrowser ActiveX control version of IE) using the API ResourceManager.AddTab().


  • You must be logged in to reply to this topic.

Lost Your Password?