Results 1 to 4 of 4

Thread: [RESOLVED] required dll files for app

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Resolved [RESOLVED] required dll files for app

    i'm wondering how do you know which dll files you need so your program run on every computer? i know if i add a component then it shows me which file i think the .ocx but is there .dll files that i need to run it on other computers?

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: required dll files for app

    By using a proper deployment/distribution app, that should be taken care of for you, a vast majority of the time. There is a Application Deployment section in the forum, you may want to visit there. Several deployment apps are available, including VB's Package & Deployment Wizard, INNO, and more
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: required dll files for app

    i got this package from microsoft

    http://support.microsoft.com/default...b;en-us;235420

    and i put the comdlg32.deb, comdlg32.dll, comdlg32.ocx .. i only used commondialog from the components so it should be good... i'll check the deployment apps and all that thanks

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: [RESOLVED] required dll files for app

    That's an old and junky package you shouldn't use, and really never should have. Newer versions of Windows will protect the preinstalled (later, better) VB6 runtimes, but XP and earlier aren't so smart and you could damage somebody's system with that.

    The comdlg32.dll is part of Windows, and may be tailored to the OS. Deploying this risks breaking users' systems.

    The comdlg32.dep applies to comdlg32.ocx and is only used by packaging tools, there is zero reason to deploy it.

    The comdlg32.ocx is a VB6 component library that needs to be deployed but should be version-checked as part of installation so you don't overwrite one with later security patches applied. It also needs to be registered. DO NOT put this file in the EXE's folder! This can cause the user problems down the road.


    You're much better off using the old PDW for this despite its age and need for manual updating (which means reading 13 years of MS KB articles). At least it won't overwrite newer versions with old ones and it pays attention to where they are meant to be installed.

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