Professional Web Applications Themes

Ini File Manipulation - ASP Components

> Is there an easy way to manipulate .ini files from VBscript. > I seem to recall a Function called GetPublicProfileString that was available > in VBasic under Windows 3.1 ( only twenty odd years ago!) > Is this function still available in the Windows XP kernel and if so how do I > call it? There is a free component which works with INI files: [url]http://www.abysslabs.com/products/com/inifile.phtml[/url] -- WBR, Alexander Popkov [url]http://www.abysslabs.com[/url]...

  1. #1

    Default Re: Ini File Manipulation

    > Is there an easy way to manipulate .ini files from VBscript.
    > I seem to recall a Function called GetPublicProfileString that was
    available
    > in VBasic under Windows 3.1 ( only twenty odd years ago!)
    > Is this function still available in the Windows XP kernel and if so how do
    I
    > call it?
    There is a free component which works with INI files:
    [url]http://www.abysslabs.com/products/com/inifile.phtml[/url]

    --
    WBR, Alexander Popkov
    [url]http://www.abysslabs.com[/url]

    Alexander Popkov Guest

  2. #2

    Default Re: Ini File Manipulation

    On Mon, 3 May 2004 01:38:21 +0400, Alexander Popkov
    <noreplyabysslabs.com> wrote:
    >> Is there an easy way to manipulate .ini files from VBscript.
    >> I seem to recall a Function called GetPublicProfileString that was
    > available
    >> in VBasic under Windows 3.1 ( only twenty odd years ago!)
    >> Is this function still available in the Windows XP kernel and if so how
    >> do
    > I
    >> call it?
    >
    > There is a free component which works with INI files:
    > [url]http://www.abysslabs.com/products/com/inifile.phtml[/url]
    >
    > --
    > WBR, Alexander Popkov
    > [url]http://www.abysslabs.com[/url]
    >
    Sometimes you will need read formatted Windows INI files. You can use some
    free or comercial components (see our INIFile class). But there is also
    simeple VBS solution, without external components.

    Simple functions which lets you work with (read and write) a standard
    formatted Windows INI file. Read and write windows INI files in VBS
    [url]http://www.pstruh.cz/tips/detpg_asp-vbs-read-write-ini-files.htm[/url]

    --
    Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
    GoGoGadgetScott Guest

  3. #3

    Default Re: Ini File Manipulation

    Hi,

    "Alexander Popkov" <noreplyabysslabs.com> wrote in message
    news:uix2w2IMEHA.140TK2MSFTNGP09.phx.gbl...
    > > Is there an easy way to manipulate .ini files from VBscript.
    > > I seem to recall a Function called GetPublicProfileString that was
    > available
    > > in VBasic under Windows 3.1 ( only twenty odd years ago!)
    > > Is this function still available in the Windows XP kernel and if so how
    do
    > I
    > > call it?
    >
    > There is a free component which works with INI files:
    > [url]http://www.abysslabs.com/products/com/inifile.phtml[/url]
    >
    > --
    > WBR, Alexander Popkov
    > [url]http://www.abysslabs.com[/url]
    The inherent TextStream object methods let you read and write any text
    files, including INI files. Problems can arise if the INI files are
    accessed by the system or the subject app while opened through TextStream
    methods. Hiddensoft's freeware add-on AutoItX have specific INI file
    methods that avoid this problem. (AutoItX is also usefule for much improved
    window management, but you have to be able to use a third-party COM, or roll
    your own compiled utility script using AutoIt.) You can't call DLL routines
    from VBS, unless they're compiled as COM's.

    The WSH (VBScript and JScript) CHM download contains general concepts,
    syntax, etc. For the WSH CHM doentation download or any updates, use the
    following urls:

    [url]http://www.microsoft.com/downloads/search.aspx?displaylang=en[/url]
    The MS Download Center (English Language)

    [url]http://www.microsoft.com/downloads/results.aspx?productID=478EA476-5552-479E-A200-2C33FFD43F24&freetext=&DisplayLang=en[/url]
    WSH Updates, Doentation and Utility Downloads (English Language)

    [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=01592c48-207d-4be1-8a76-1c4099d7bbb9&DisplayLang=en[/url]
    Windows Scripting Doentation Download (English Language)

    Hiddensoft's AutoItX download:
    [url]www.hiddensoft.com/autoit/[/url]

    Joe Earnest


    Joe Earnest Guest

Similar Threads

  1. Help needed on File manipulation
    By Chinku Simon in forum PERL Beginners
    Replies: 1
    Last Post: September 26th, 09:54 PM
  2. Help on file manipulation
    By Zsdc in forum PERL Beginners
    Replies: 0
    Last Post: August 28th, 07:50 PM
  3. File Manipulation
    By AshDav webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: July 16th, 12:16 PM
  4. [PHP] Text file manipulation question.
    By Mike Ford in forum PHP Development
    Replies: 0
    Last Post: July 15th, 09:24 AM
  5. Text file manipulation question.
    By Lloyd Bayley in forum PHP Development
    Replies: 2
    Last Post: July 15th, 12:20 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139