dcsimg
Results 1 to 20 of 20

Thread: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Hi, I have a problem with windows security update KB4494441 and a former application that uses VB40016.dll. When I install it, the application gave me "error PERFIN95, an error has been produced in VB40016.dll at 0019:057B" and, as soon as I uninstall the KB update, the error dissapears. I understand it is an old application and dll, but is it any way I can avoid the error without the need to uninstall the ref. update?

    Following a suggestion from MSDN forum I also installed KB4505056 (that is an updated KB4494441) and got same error, uninstalling it, error dissapears again….

    In the meantime KB4493509 came, installed and... same error that also dissapears when I uninstall it.

    So, still same situation

    Hope any help would be welcomed.

    Regards.

  2. #2
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    12,894

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    I am assuming that file is used by a 16 bit application written in VB4. If so then it is a bit surprising that it works at all on modern 32 and 64 bit systems. 16 bit was outdated 25 years ago and was likely only included in VB4 for backward compatibility with VB3.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Hi, YES, it is, actually it is an application developed for Windows 98, it is a personal accounting application that was very useful in its original time because it was able to connect with the banks to get the account movements and information.

    Today it doesn't have the ability of connection but I am still using it for maintaining my accounts and expenses control. It works perfectly in Windows 10 32bits (it doesn't work in 64bits, of course).... till today when I updated it with the ref. updates.

    Unfortunately I don't have the source code to try to re-compile it with a newer VB.

    So, finally, is there any possible solution for avoiding this problem maintaining the possibility of using it? I am thinking about to install a double boot using a secondary disk I have and installing on it a Windows 7 (that will be frozen by January'20, btw), but if there could be the possibility of using my current windows 10would be a much better situation.

    Thanks for your help

    Regards.

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    3,510

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Create a Virtual Machine with any OS you want to use.

    One of the first hits for a Google search:
    https://lifehacker.com/how-to-set-up...ree-1828969527

  5. #5
    Frenzied Member
    Join Date
    Dec 2014
    Location
    VB6 dinosaur land
    Posts
    1,153

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    I would not expect any help in this regard since it doesn't affect VB6. You will need to dual boot (or VM) or move to a new program.

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Thanks for your answers. I tried time ago VM installation (the one included in Windows 7 64 bits at that time), but the performance was so bad in my laptop that I had to go back to 32 bits where the application has been working till today.

    I will stay as I am for some time, for the case some one could have a brilliant idea that would help me to stay as I am, and if finally there is no solution, I will profit that I have two physical disks in my laptop and will install a minimal Windows 7 boot in the second disk and use the "boot device selection" option it has.

    Regards.

  7. #7
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    12,894

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    I have tried a few different VMs I ended up using VM workstation for all my VM needs. The free version VMPlayer works pretty well also.

    One of the performance issues I uncovered along the way with one or more VM hosts was the disk space allocation. It seemed that when some of them were set to dynamic it could cause some pretty poor performance.

    Right now I am basically using just one VM. I had a PC from about 15 years ago with Windows 2000 on it that was used for development and accounting. I retired the PC several years ago but made a VM image from it first and run that in VM Workstation so I still have access to the tools that were on there should I ever need them and still use the accounting package on it. The performance is better than the original PC and using the suspend/resume option allows for the VM to boot much faster than the PC did.

  8. #8
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    12,894

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Quote Originally Posted by fjec View Post
    Hi, YES, it is, actually it is an application developed for Windows 98, it is a personal accounting application that was very useful in its original time because it was able to connect with the banks to get the account movements and information.
    Can't say I ever did anything 16 bit for 98. The 16 bit part of VB4 IMO was only useful if you had an existing Windows 3.1 app written in VB3 and wanted to migrate it. In every other case it made more since to create the apps in VB4 as 32 bit apps and completely ignore the 16 bit components as it was pretty clear those components would not be supported and cease to function. Unless of course you were targeting Windows 3.1 but then I am not sure VB4 could create a working exe for Windows 3.1

    VB4 was initially for Windows 95 and was quickly replaced by VB5. VB6 came out around the same time as Windows 98
    Last edited by DataMiser; May 21st, 2019 at 01:03 PM.

  9. #9

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Thanks again. As I said, I will wait and see and in some time, if the situation is still the same, I will do my "plan B", profit of the two disk I have installed in my laptop and have a different boot in each one of them.

    Regards.

  10. #10
    PowerPoster
    Join Date
    Dec 2004
    Posts
    24,379

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    personally I would prefer to install the program on an old xp pro laptop or similar, then access it by remote desktop, from your windows 10
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  11. #11
    Frenzied Member
    Join Date
    Dec 2014
    Location
    VB6 dinosaur land
    Posts
    1,153

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Quote Originally Posted by westconn1 View Post
    personally I would prefer to install the program on an old xp pro laptop or similar, then access it by remote desktop, from your windows 10
    In that case make sure you patch XP ASAP for the recent RDP bug.

  12. #12
    Hyperactive Member
    Join Date
    Feb 2019
    Posts
    382

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    I still have Windows 95 running on Virtual PC on Windows 7 64-Bit. Performance is good even with a Windows XP guest, but I have 16 GB RAM. If you don't give the OS extra RAM above the minimum required, it would be slow. If you want to switch to accounting/inventory/PoS that is more modern; check out Odoo, which is open source with a free community edition, but the paid version is expensive, unless you are a big company.

    Otherwise, tell us how the current app stores its data, and perhaps we could give you pointers on how to convert it to VB6.

  13. #13

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Hi, thanks for your offer.

    The files that store the data of the app have the extension .dbf, .cdx and ftp.

    Time ago I had a problem with them and I found that the program that I had to use to try to recover them (I was not succesful) was "FoxPro".

    Thanks again

    Kind regards

  14. #14
    PowerPoster
    Join Date
    Dec 2004
    Posts
    24,379

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    much as i hate to update, maybe it is time
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  15. #15
    Hyperactive Member
    Join Date
    Feb 2019
    Posts
    382

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    If you go to VB6 IDE-->Add-Ins-->Visual Data Manager, you can open FoxPro DB files, view or edit them, just like MS Access. You can also open them in code by using ADO.

  16. #16

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Quote Originally Posted by qvb6 View Post
    If you go to VB6 IDE-->Add-Ins-->Visual Data Manager, you can open FoxPro DB files, view or edit them, just like MS Access. You can also open them in code by using ADO.
    Hi, thanks for your answer. To be honest, I am used to work with Windows (and other) systems, but not with the applications themselves. So, let me ask some questions.

    Regarding your answer, should I install VB6? Where could I find it? Google searching or is it in Microsoft servers? ---- I feel I already answered this question, Googling gave me a couple of links to download and install it, but a new question came… Should I do a full installation of it or I have to do a "partial installation" for using some parts of VB6, because I will not do any application development?-----

    What ADO means?

    And would it be any way to access the current data bases using the same application code I currently have (unfortunately I don't have the source code, only the compiled one) installing VB6 and might be change the name of some of the dlls of VB6 to the old VB4 dll?

    Thanks so much again.
    Last edited by fjec; May 26th, 2019 at 02:43 AM.

  17. #17
    Hyperactive Member
    Join Date
    Feb 2019
    Posts
    382

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    I don't have the time to give you detail instructions, but I will give you some pointers. You don't have to get VB6, you can use either MS Office, or the free LibreOffice(I use LibreOffice). Start Calc(Excel equivalent), then go to File-->Open, then look for "dBase (*.dbf)". FoxPro was based on dBase file format. Make a backup before opening any files just in case.

  18. #18

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Thanks again.

    This gives to me the possibility to access the data tables, yes. But I cannot work with the User Interface that is very good in this accounting application.

    This is the reason I am trying to stay using the application as it is and to search if there is any way to use it with the last updates of my Windows 10 32 bits.

    Thanks again

  19. #19
    Member enribuz's Avatar
    Join Date
    Nov 2015
    Location
    Spain
    Posts
    36

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    It is slow to close an OS, pass BIOS, start another, not have the same programs, or duplicate them ... in the end I opted for the VM and shared folder for data.

    I have an old laptop with Intel Core 2 Duo T7100@1.80GHz, 2GB RAM, HD160GB, Win7 x64. I use VM Oracle VM VirtualBox (free) in all my computers, in that in the VM I have a WXP SP3x32 and a Vistax32 and they execute reasonably well.

  20. #20

    Thread Starter
    New Member
    Join Date
    May 2019
    Posts
    8

    Re: Problem with KB4494441, KB4493509, KB4505056 and VB40016.dll

    Hi, thanks for the help of all of you.

    I finally followed the suggestion of most of you and in particular the one of enribuz, I downloaded Oracle VM VirtualBox V5, my system is Windows 10 32 bits and, honestly, even my laptop supports 64bits, I am not willing to reinstall all the applications I have on it if I would upgrade to Windows 64bits.

    I installed VirtualBox and a Windows 7 Home Premium on it, and now, the old accounting application works fairly well, specially because, when I close the VM, I save the Windows machine status.

    Thanks again for all your help.

    Kind regards

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width