|
-
Sep 8th, 2011, 07:19 PM
#1
[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?
-
Sep 8th, 2011, 07:26 PM
#2
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
-
Sep 8th, 2011, 07:43 PM
#3
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
-
Sep 8th, 2011, 09:51 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|