Results 1 to 3 of 3

Thread: res files

  1. #1

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    Cool

    It seems to me that being able to add objects to the res file at runtime would be A GOOD THING.

    I often use res files to hold search strings, sometimes the users change them but next time the app is loaded they are back to the original res string.

    I don't want to use te registry 'cos the draconian NT policies here prevent the general user from getting anywhere near the registry let alone writing to it.
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



  2. #2
    Addicted Member jeroenh's Avatar
    Join Date
    Aug 2000
    Location
    Rotterdam, Holland
    Posts
    201
    Why don't you use a small database for this.

    When you use a jetbase database, as you can create with MS Access, then you can ditribute it without legal problems and it gives you all the flexibility that you need. By making a small database for each user, you have the problem resolved. Just make sure the program compresses the database when closing or it will get to large and I don't think you want that.

    An other option could be to write ini files. This will do the same job. I just don't like them.
    Catch you later,

    Jeroen Hoekemeijer
    Code:
    If 1 = 2 Then MajorError

  3. #3

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    Thumbs down Thanks but . . . .

    Adding a db would solve the problem, but unfortunately the overhead (MDAC file size being one) is vastly greater than the benefit gained.

    And you're right INI files stink!
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



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