Reputation: 316 Architect
- Active Posts:
- 1,887 (0.78 per day)
- 26-March 09
- Profile Views:
- Last Active:
- Yesterday, 11:37 PM
- OS Preference:
- Who Cares
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 1 Nov 2015The PDW will look for your application dependencies, whether it will add your MDB file, I'm not sure.
The easiest way would be to build your setup, then have a look in the setup.lst file as to whether your MDB has been added.
This link gives full details on PDW and how to use.
Sorry can't be of more help as I never really used PDW.
Posted 2 Oct 2015Thanks again, I'll give that a go.
Appreciate your assistance.
Posted 2 Oct 2015Thanks for the pointers.
regarding your comment about loading the settings manually, are you suggesting I should load them in the VB app and pass them through to the DLL or load them in the DLL directly (the VB app doesn't use them as such)?
again, apologies if these are dumb questions.
Posted 2 Oct 2015Sorry for raising this again so long after the original post.
The renaming of the config file to app.exe.config, works a treat when the VB6 app is compiled.
The issue I now have, is I want to be able to debug the VB6 app whilst calling the DLL, but for whatever reason, it can create the object reference, but any calls seem to fail with no explanation (I can only assume the DLL can't see the config file).
I've registered the DLL using both GacUtil and Regasm and even placed a copy of the config file in the GAC folder of the DLL, but still no joy.
Can anyone explain what I could be missing here? Thanks.
[EDIT] by creating a copy of the config file as app.vbp.config, it now seems to be able to call the DLL functions, but the DLL itself doesn't seem to be able to see the config details as it's not managing to call the webservice.
Posted 24 Sep 2015The variable sngVar1 is just a name, it is no different than Var1, I just prefixed the datatype (single).
One thing worth thinking about is the variable declaration, as far as I remmeber, you need to tell VB6 what each variable type is, so your code of
Dim var1, var2, var3 as single
only var3 is of type single, the rest are of type variant.
- Member Title:
- D.I.C Lover
- 44 years old
- June 12, 1971
- Programming Languages:
- C#, VB
- Website URL: