+ Reply to Thread
Results 1 to 5 of 5

Excel to protected application? Unique Computer ID

  1. #1
    Matt
    Guest

    Excel to protected application? Unique Computer ID

    I have a excel spreadsheet that ideally I would like to run as a standalone
    application.

    Is it possible to do this?

    I want to distribute by disk - but restrict the use of the to a specific pc.

    Is it possible to locate a Unique Computer ID variable in Excel (such as MAC
    address) to implement a key system?

    Any help appreciated.



  2. #2
    David McRitchie
    Guest

    Re: Excel to protected application? Unique Computer ID


    See Chris Rae's page at
    http://www.chrisrae.com/vba/routines/getusername.html
    and additional information at http://www.mvps.org/dmcritchie/excel/property.htm---HTH, David McRitchie, Microsoft MVP - Excel
    [site changed Nov. 2001]My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htmSearch Page:
    http://www.mvps.org/dmcritchie/excel/search.htm "Matt" <matt212@hotmail.com> wrote in message
    news:ksHWd.29718$8B3.7058@text.news.blueyonder.co.uk...
    > I have a excel spreadsheet that ideally I would like to run as a standalone
    > application.
    >
    > Is it possible to do this?
    >
    > I want to distribute by disk - but restrict the use of the to a specific pc.
    >
    > Is it possible to locate a Unique Computer ID variable in Excel (such as MAC
    > address) to implement a key system?
    >
    > Any help appreciated.
    >
    >




  3. #3
    Harlan Grove
    Guest

    Re: Excel to protected application? Unique Computer ID

    "David McRitchie" <dmcritchie@msn.com> wrote...
    >See Chris Rae's page at
    > http://www.chrisrae.com/vba/routines/getusername.html

    ....

    It's been around a while longer.

    http://groups-beta.google.com/group/...1a98111e7cd5d7

    And I believe it originated in some VBA magazine article from the mid 1990s.
    The big differences between the cited web page and the linked article is the
    length of the buffer and the failure of the former to check error status.
    BIG MISTAKE not to check for error returns from API calls, so BIG MISTAKE to
    cite that particular web page.



  4. #4
    David McRitchie
    Guest

    Re: Excel to protected application? Unique Computer ID

    Thanks Harlan, I changed reference on my page to the page you identified.
    ---


    "Harlan Grove" <hrlngrv@aol.com> wrote in message
    > It's been around a while longer.
    > http://groups-beta.google.com/group/...1a98111e7cd5d7




  5. #5
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Try

    Username$ = Environ$("UserName")



    there are many other details that can be obtained using the Environ$ command

    look at Environ$(1) up to 50 - I am not sure but it may run out at 32

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1