Results 1 to 4 of 4

Thread: QueryProgItem not working?

  1. #1
    Join Date
    Oct 2001
    Location
    San Francisco, CA
    Posts
    24

    Unhappy QueryProgItem not working?

    Hi guys. I'm trying to use the QueryProgItem function in IS 6.31 Professional.

    Problem is this: If I specify FOLDER_PROGRAMS and do a search, it will find the folder, but I want to search a folder underneath that for the icon and exctract the info the way the Help file explains Query ProgItem. If I put FOLDER_PROGRAMS^"InstallShield" all that is returned is an error message (I've tried the variants of FOLDER_PROGRAMS^"InstallShield\\", etc. to no avail).

    Anyone have any suggestions?

    Thanks!

    Jerry

  2. #2
    Join Date
    Nov 2001
    Location
    Chicago, IL
    Posts
    865
    Make sure to call ProgDefGroupType beforehand to make sure you are specifying the personal or common area of the start menu.

  3. #3
    Join Date
    Oct 2001
    Location
    San Francisco, CA
    Posts
    24
    Originally posted by JacobLevin
    Make sure to call ProgDefGroupType beforehand to make sure you are specifying the personal or common area of the start menu.
    I can do that, but the manual says that it defaults to common if you don't specify. Is there some bug with it perhaps?

    Jerry

  4. #4
    Join Date
    Oct 2001
    Location
    San Francisco, CA
    Posts
    24

    Wink

    Heh heh...I'll take it by your silence that's a "yes"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •