Results 1 to 5 of 5

Thread: Program Error

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    221

    Program Error

    My friend told me that my program is bringing up this error on his computer:

    Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

    I put the file of comdlg.dll in the zip (which he HAS extracted) because that's the closest match i could find in the C:\Windows\System32 folder. Is there another file i'm supposed to have which is located somewhere else?

  2. #2
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: Program Error

    Quote Originally Posted by ahpro
    My friend told me that my program is bringing up this error on his computer:

    Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

    I put the file of comdlg.dll in the zip (which he HAS extracted) because that's the closest match i could find in the C:\Windows\System32 folder. Is there another file i'm supposed to have which is located somewhere else?
    Close but no banana, you need the exact file, did you complile the program on the machine that you search for the file on? The COMDLG32.OCX, which is the Common DIalog Control, may reside in another directory on your hd, do a search.
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  3. #3
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: Program Error

    My copy of the filies reside in the "C:\WINDOWS\SYSTEM32" Directory.

    There are three files:

    COMDLG32.DEP
    COMDLG32.DLL
    COMDLG32.oca
    COMDLG32.OCX

    Also did your friend register the Library File:

    regsvr32 \windows\system32\COMDLG32.OCX
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  4. #4
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: Program Error

    Quote Originally Posted by ahpro
    I put the file of comdlg.dll in the zip (which he HAS extracted) because that's the closest match i could find in the C:\Windows\System32 folder.
    That file isn't the closest match thats the old 16 bit CommonDialog dll.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  5. #5

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