Alpha Video Training
Results 1 to 3 of 3

Thread: Settings in a text file

  1. #1
    Member richkerr's Avatar
    Real Name
    Rich Kerr
    Join Date
    Mar 2003
    Location
    Chicago, IL
    Posts
    93

    Default Settings in a text file

    Message 6662 from Selwyn discusses how to save settings to a text file, and then load those settings back into variables! Fantastic!

    Can I access the built in variables that Alpha uses through X-Basic? I'd like to save the settings a user desires for options such as e-mail client, menu drop down style, etc, but I don't want to send them to the View|Settings menu... (not even sure if that is available in the run-time).

    Also, can I access the system table that stores the Holidays values, to provide my own X-Dialogs for modifying these records?

    Any assistance is greatly appreciated!

    Thanks in advance.

    Rich Kerr

  2. #2
    Alpha Software Employee AaronBBrown's Avatar
    Real Name
    Aaron Brown
    Join Date
    Feb 2001
    Location
    Waltham, MA
    Posts
    2,836

    Default RE: Settings in a text file

    ui_email_settings() will load up the email settings dialog. If you want to edit the email profiles programmatically, look into email_profile_load() and email_profile_save().

    The holidays can be accessed by opening the A_holidays.dbf table in the A5v6 program files folder.

  3. #3
    Member richkerr's Avatar
    Real Name
    Rich Kerr
    Join Date
    Mar 2003
    Location
    Chicago, IL
    Posts
    93

    Default RE: Settings in a text file

    thanks Aaron.. I appreciate the response!

    Rich Kerr

Similar Threads

  1. Text file display
    By Mike Vance in forum Alpha Five Version 6
    Replies: 11
    Last Post: 05-06-2005, 10:17 PM
  2. Export to a text file
    By Garry Flanigan in forum Alpha Five Version 5
    Replies: 2
    Last Post: 07-13-2004, 03:19 AM
  3. Reading from a text file
    By Paul H in forum Alpha Four Versions 7 and 8
    Replies: 2
    Last Post: 06-29-2004, 09:32 AM
  4. Saving Report as text file or excel file
    By Michael Hadjimichael in forum Alpha Five Version 5
    Replies: 1
    Last Post: 06-02-2004, 04:46 AM
  5. printing to text file
    By Joe Wheat in forum Alpha Five Version 4
    Replies: 1
    Last Post: 12-23-2002, 01:28 PM

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
  •