Windows 10: VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only...

Discus and support VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only... in Windows 10 Gaming to solve the problem; I used the debug feature to see that all printer commands are sent to my error section but only when using a physical printer. All the PDF printers... Discussion in 'Windows 10 Gaming' started by Charles J Roberts, Mar 10, 2024.

  1. VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only...


    I used the debug feature to see that all printer commands are sent to my error section but only when using a physical printer. All the PDF printers work fine. This is all of my programs new and old. They work fine on Windows XP, 7 and 10 but not on 11. I assume it is an OCX or DLL issue but they used to work. All died after a W11 update.

    :)
     
    Charles J Roberts, Mar 10, 2024
    #1

  2. Error 7 when running a VB6 program on Windows 10

    Thanks for the answer but I could not find any related ítem that helped me.

    My problem is that a program developed in VB6/SP6 is working satisfactorily on XP, Vista, 7, 8 and 8.1 but produces Error 7 Not enough memory just when an MDI form in loaded. This form is loaded from another VB6 Form that loads correctly. The failure, then,
    comes at the momento this first form is trying to load the MDI form. No diagnostic information is given, so I am unable to debug.

    The program uses OCX from AcusoftPegasus (ImagXpress). To reproduce the problem you can download the program named GDS Versión 7.0.26 from the web www.gdsystem.net and install it in any versión of Windows (XP, Vita, 7, 8 or 8.1) and then on Windows 10 to
    see the issue.

    There are hundreds of users of this application WW and I am forced to recommend not to install Windows 10 until this issue is solved.

    I will certainly thank any valuable help.

    Joaquin Casals
     
    JoaquínCasalsdeNadal, Mar 10, 2024
    #2
  3. VB6 will not load MSCOMCT2.OCX on Windows 7 64-bit

    I am trying to transfer an old item of VB6 software from a (broken) Windows XP system to a 64-bit Windows 7 system, but I am having problems getting the IDE to load mscomct2.ocx in order to rebuild the program.

    On selecting it from the Components dialog, I get a simple message saying "'C:\Windows\SysWOW64\mscomct2.ocx' could not be loaded". Other modules, such as mscomctl.ocx, appear to load without error.

    The new system is running 64-bit Windows 7 Ultimate SP1.

    The new system has VB6 SP6 on. The mscomct2.ocx module in SysWOW64 has been successfully registered. The IDE is running as Administrator.

    The mscomct2.ocx that I have on the new system is file version 6.1.97.82 (product version 6.01.9782) and is 646KB.

    I have looked in various forums across the Internet but none of the suggested fixes seem applicable.
     
    TonyProctor1, Mar 10, 2024
    #3
  4. ExCoder Win User

    VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only...

    Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10

    Many many years ago I developed a VB6 program accessing an Access db running on Windows XP. I am now trying to convert the application to run on Windows 10. Have had partial success but now really stuck and wondering if anyone could help.

    What I have done so far is:
    - changed & recompiled the XP VB6 program so that any references to the access database point to the location where I will place it on the Windows 10 desktop.
    - copied executable and Access database from XP desktop to Windows 10 desktop. Obviously gave an error on execution.
    - had to register 2 ocx files: mscomct2.ocx, msadodc.ocx
    - application now runs with no runtime errors but the main form, which accesses the access database, does not display any data from the database (the fields are empty but no error displayed)

    The main form uses an ADODC object, Adodc1, on the form to specify the database properties
    CommandString: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Trevor\Labels\Label.mdb;Persist Security Info=False
    RecordSource: SELECT * FROM address ORDER BY recno

    I assume the syntax of the CommandString is OK as I select the access database in other subroutines using the same definition assigned to a string with no problems.
    It is just the form itself, where the text boxes DataSource property are assigned to Adodc1, are not filled in with the database data when the main form loads.
    It's as though the SQL Select command is not being activated.

    Is there anything else I need to do? It's just frustrating as the VB6 program works just fine under Windows XP.

    Any suggestions would be greatly appreciated.

    An update to my question above.

    I edited the main form (this in fact is the only form) and deleted all code and form fields associated with the functions you can perform.
    What is left are just labels, the textboxes associated with the database fields plus the Adodc1 property.
    Still the same problem, no access database data is displayed when I run the program. That is the textboxes are not being populated.
    Tried same program in Windows XP pointing to the database on that machine and it works fine. The 1st record is displayed.
    I also display the number of records in the database which is correct.
    My conclusion is there is something strange with the Windows 10 environment. Any known faults or other suggestions would be appreciated.
     
    ExCoder, Mar 10, 2024
    #4
Thema:

VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only...

Loading...
  1. VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only... - Similar Threads - VB6 SP6 IDE

  2. VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only...

    in Windows 10 Software and Apps
    VB6 SP6 IDE and legacy programs run fine on windows Xp-7-10 & 11. On W11 it will only...: I used the debug feature to see that all printer commands are sent to my error section but only when using a physical printer. All the PDF printers work fine. This is all of my programs new and old. They work fine on Windows XP, 7 and 10 but not on 11. I assume it is an OCX...
  3. Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10

    in Windows 10 Gaming
    Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10: Many many years ago I developed a VB6 program accessing an Access db running on Windows XP. I am now trying to convert the application to run on Windows 10. Have had partial success but now really stuck and wondering if anyone could help.What I have done so far is:- changed &...
  4. Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10

    in Windows 10 Software and Apps
    Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10: Many many years ago I developed a VB6 program accessing an Access db running on Windows XP. I am now trying to convert the application to run on Windows 10. Have had partial success but now really stuck and wondering if anyone could help.What I have done so far is:- changed &...
  5. Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10

    in Windows 10 BSOD Crashes and Debugging
    Legacy VB6 program created in Windows XP. Trying to move exe to Windows 10: Many many years ago I developed a VB6 program accessing an Access db running on Windows XP. I am now trying to convert the application to run on Windows 10. Have had partial success but now really stuck and wondering if anyone could help.What I have done so far is:- changed &...
  6. Will VB6 run in Lunix

    in Windows 10 Gaming
    Will VB6 run in Lunix: VB 6 wont install on W11, Will VB6 run in Lunix? https://answers.microsoft.com/en-us/windows/forum/all/will-vb6-run-in-lunix/82975e36-5daf-4539-9234-88ed8b4215bd
  7. Will VB6 run in Lunix

    in Windows 10 Software and Apps
    Will VB6 run in Lunix: VB 6 wont install on W11, Will VB6 run in Lunix? https://answers.microsoft.com/en-us/windows/forum/all/will-vb6-run-in-lunix/82975e36-5daf-4539-9234-88ed8b4215bd
  8. Problems running a legacy program

    in Windows 10 Ask Insider
    Problems running a legacy program: My friend has had this Windows XP virtual machine (running inside Microsoft Virtual PC) running some legacy application for ages. With Windows 10 no longer supporting that virtual application and no easy way to transfer it to another provider (Windows detects hardware...
  9. run windows xp of windows 7 program in windows 10

    in Windows 10 Installation and Upgrade
    run windows xp of windows 7 program in windows 10: I need to run a dbase III program on windows 10 that I used to run on windows XP and windows 7 https://answers.microsoft.com/en-us/windows/forum/all/run-windows-xp-of-windows-7-program-in-windows-10/065ac656-4fd2-476a-a1fa-b1bd1afbe24e
  10. Solitaire from Windows XP runs fine on Windows 10

    in Windows 10 Gaming
    Solitaire from Windows XP runs fine on Windows 10: There has been a lot of talk in the media about how Windows 10 "Solitaire Collection" is now adware with the option to pay an ongoing subscription fee to remove the ads. I only care about two versions of Solitaire; the original and Spider Solitaire, and I only like them from...