Results 1 to 2 of 2

Thread: Two Things

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    1. How do you test to see if a document is open on an MDI form ?

    2.File association, i know which bits in the reg to edit but they have to be the parts of the reg that are normally called 'default' and i cannot write to them using vb. it just creates a new bit.

  2. #2
    Guest
    To write to the (Default) section, simply do not specify a value to save to, for example, let's assume that you use a function called SaveRegistry to save to the Registry.

    Code:
    'We do not specify a value therefor it's saved to the (Default) value
    SaveRegistry HKEY_CLASSES_ROOT, "MyPath", "", "MyData"

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