Results 1 to 12 of 12

Thread: [RESOLVED] Creating shortcuts without using Script Host Object

Threaded View

  1. #8
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: Creating shortcuts without using Script Host Object

    Quote Originally Posted by Navion View Post
    Olaf :

    elegant, very short piece of code, looks real good. For a while I thought it was the File Scripting Object (scrrun.dll).. is it ? No such method as GetUserAppDataPath in scripting object. I am obviouly working with the wrong object...
    vbRichClient5 ?? i could not find that, code did not work.
    vbRichClient5 is a free available, modern Framework for VB5/6 which contains a lot of
    useful Helper-Classes - many of them without alternative in the VBClassic-universe.

    The above New_c.FSO instance of the RichClient is not using the Scripting.FSO under the hood,
    it's a Wrapper-Class around a lot of FileSystem-APIs - and Unicode-capable throughout
    (the whole RichClient-functionality is unicode-aware).

    E.g. cFSO offers beside "the usual File-Functions and -Dialogs" also FileSystem-Watchers, the
    fastest DirListing-class available for VB6, and maybe interesting for you, also a (huge-file-capable)
    Stream-Class, a fast CSV-parser for CSV-files > 4GB, Unicode-Reading/Decoding etc.

    It contains also the fastest XML-parser for VB6, the fastest JSON-parser for VB6, the
    fastest Collection and Dictionary-Classes for VB6, the fastest (ADO-like usable) COM-wrapper
    for SQLite, and the most complete and comprehensive graphics- and GUI-framework for VB6
    (easier and with larger functionality than GDI+, as e.g. offering SVG-support and PDF-support).

    It will add about 1.6MB (when LZMA-compressed, 2.2MB when zipped) deployment-size to an Application,
    but on the other hand allows "regfree usage and shipping" in a SubFolder alongside your App, so these
    "costs" are very bearable I'd think.

    Other than e.g. on the vbAccelerator-site (which offers a lot of separated, but related binaries), the
    Class-Stack in the RichClient is "precompiled and bundled in one place" - and major version-numbers
    try to maintain binary-compatibility on the COM-interfaces.

    I wrote it as a modern ClassRuntime-Enhancement for VBClassic - available for anybody...
    just check in a single project-reference, and then "off you go" with kinda like a "VB 6.5".

    Olaf
    Last edited by Schmidt; Oct 15th, 2014 at 07:19 AM.

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