×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Storing Data Between Drawing Sessions
2

Storing Data Between Drawing Sessions

RE: Storing Data Between Drawing Sessions

Thanks Striker,

I saved your lesson to my references.  By the way, what do you know of the use of saving strings to the registry through 'setenv' and 'getenv'? I did a little test and it seems to work.  The string is saved to a particular machine, is not drawing dependent, and no need to mess with a separate text file.  Probably impratical for more than a few strings.

Carl

RE: Storing Data Between Drawing Sessions

2
(OP)
setenv and getenv save and retrieve the specified string to the local computer's command environment. To see what I mean, use setenv to set a variable, then open a DOS command window and enter the command SET. This is where the data is stored. Generally speaking the upper limit of command environment storage space is 1024 bytes, but can be expanded with the correct calling syntax at boot up. It is easy to see how this could quickly fill up with a few path statements and a few other environment variables.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources