Win8/VB6 can't find project or library for common functions (str, Space$) - windows-8

I have installed VB6 on my Windows 8 64bit laptop, I installed SP6 and when I try to run projects that I had working on my windows 7 32bit laptop I am running into a problem with common functions like Space$ or Str, where it tells me "Can't find project or library".
After some googling I have tried copying over my comdlg32.dll from the windows 7 laptop over to the syswow64 folder on the win8 laptop but saw no change. I have installed SP4 after I read that would solve it but that didn't work either. I also read that msderun.dll would help but after dropping that in syswow64 I did not see any change either.
Does anyone know how to fix this on Windows 8?

Find msvbrun60.dll (in 32 bit windows type regsvr32 msvbvm60.dll, for 64 bit do the same with c:\windows\syswow64\regsvr32 msvbrun60.dll). All those functions are in vba library which is msvbvm60.dll. If that fails reinstall the runtime files http://support.microsoft.com/kb/290887.

Related

How to let CefSharp WinForms 32 bit run on Windows 64 bit?

I have downloaded the CefSharp 71.0.0-pre01 Source code from the official release, and built it successfully by VS 2015 on my Windows 7 Ultimate x64.
I have checked all x86 and x64 release build, and the project built all 22 items successfully includes the example exe.
The WinForm Example folder has 2 output in the bin, the x64 release can run well on my Win7 x64, but the x86 (32 bit) release doesn't work. Once I run the "CefSharp.WinForms.Example.exe", it shows
CefSharp.BrowserSubprocess has stopped working
When I click to check issue details, it shows:
Event Name: APPCRASH
Application Name: CefSharp.BrowserSubprocess.exe
But when I run the x86 release on the Win7 32bit machine, it works well.
I wanted to build an AnyCPU version but the project doesn't support AnyCPU, then I assumed the x86/32bit should work on both 64/32 machines. Is it possible to do that?
A case I've experienced is setting max_old_space_size to a large value which causes render subprocess to crash on startup when running in 32bit mode. Removing this option resolved the issue for me.

does changing an operating system solve the .dll file issues?

I tried installing Xammp on my pc (windows 8.1) and it says api-ms-....dll is missing. I have tried every solution I've seen online like upgrading my OS, downloading and installing a new visual studio redistributed 2015 but still not working. please would changing the OS solve this problem?
My question is, does changing the OS from maybe windows 8.1 to windows 7 solve this problem? because I have tried most of the online solutions but still having the same issue
You need to install the following windows update: KB2999226 (Update for Universal C Runtime in Windows)
The missing dll api-ms-win-crt-runtime-l1-1-0.dll is installed with a Windows update. To resolve this issue, download and install the Update for Universal C Runtime in Windows from Microsoft. (Source)
Sidenote: The details page from Microsoft was last updated in Jan 2017. You probably should install all other updates that have been released since then.

No api-ms-win-crt-runtime-l1-1-0.dll on Windows 10 after Visual C++ 2015 redistributable packages

my WIX installer detects if installing VCRedist 14 (aka Microsoft Visual C++ 2015 redistributable packages) is required using the presence of api-ms-win-crt-runtime-l1-1-0.dll, because without it, my C++ app built with VStudio 2015 wouldn't run on Windows 7 / 8 / 8.1 with this famous error:
The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is
missing from your computer. Try reinstalling the program to fix this
problem.
However, my app runs fine on Windows 10 without VCRedist 14, although api-ms-win-crt-runtime-l1-1-0.dll doesn't exist.
I don't know how & why: even Dependency Walker (depends.exe) displayed the error "Cannot find api-ms-win-crt-runtime-l1-1-0.dll"
On Windows 10, even if I installed VCRedist 14, api-ms-win-crt-runtime-l1-1-0.dll was never copied to System32 directory. Anyone know why?
Also can anyone explain how any C++ app built with VS2015 doesn't require VCRedist 14 on Windows 10?
According to this article
https://support.microsoft.com/en-us/kb/2999226
the api-ms-win-crt-runtime-l1-1-0.dll is a part of Windows 10 operating system, so only 7 and 8 families need to apply the update with this dll.
This dll is a thin CRT backwards compatibility shim for applications compiled for new Windows (10+) API when running on older Windows system. So on W10 your application doesn't need this dll.

Installing simplest plugin on German Windows XP

I'm trying to figure out why the simplest firebreath plugin wont install on a German Windows XP SP3. I'm running Windows XP as a virtual machine.
The event viewer in Windows XP tells me something about the Windows Installer aborting but not why. I'm logged in as the administrator.
The installer works on Windows 7.
For development I use Windows 7, Visual Studio 2010 and some one months old firebreath trunk.
Is this is known problem? What are the typical steps I could use to track down the issue?
Regards,
Christian
If you get an error saying module can't be found it means that you are missing a .dll file needed to make the plugin work. The most common if it works on most computers (or many) but not that one is that your .dll was compiled with a dynamic runtime, in which case you'll have to install the common runtime for whatever version of visual studio you compiled it with.
For example, the runtime distributable for vs2008 is at http://www.microsoft.com/en-us/download/details.aspx?id=29
Dependency Walker might help you to find out which dll is missing.

How do I resolve "Run-time error '429': ActiveX component can't create object"?

My company has a VB6 application using Crystal Reports 7 which a client has asked to be installed on Windows 7 32 bit. It is currently installed on Windows XP 32bit SP2 machines at the client. Connection to the DB is done via ODBC to SQL Server 2000 instance on another server.
On Windows 7, the installation works fine, however when you try to open the application, the error is given.
I have looked at the following:
Registering all the dll's and ocx files using regsvr32. Some will not register as they either are registered already or the following message is given "Make sure that "[name].dll" is valid DLL or OCX file and then try again." I read this forum thread regarding this: http://social.msdn.microsoft.com/forums/en-US/vblanguage/thread/0653f685-4526-45d9-89f3-8c479a6b4c62
Monitored the opening of the application using a ProcessMonitor application to try and spot if there is a missing dll or ocx file - this does not seem to be the case.
Reviewed the application according to this list and nothing seems to be against these guidelines
I've noticed two items in the knowledge base that relate to this
http://support.microsoft.com/kb/281848 - the comdlg32.ocx bundled with the application is version 6.0.81.69 and the one in the system32 folder on the dev machine (WinXP 32 bit) is 6.1.97.82. However if this was the issue then surely it would not work currently?
http://support.microsoft.com/kb/184898 - I'm not sure how to confirm that this is the issue
Finally, due to complexities, I am not allowed to make code changes to this application. Even if I was, I'm not a VB6 programmer, just the guy who got the terribly support project! If code changes are required, then I'll have to investigate using WinXP mode.
Update: I get the same error in XP Mode. That's a Win XP with SP3 VM. This runs on a Win XP SP2 VM, is there potentially something in SP3 that would have caused this to occur? Or is it just a fact of it being XP Mode?
I got the same error but I solved by using regsvr32.exe in C:\Windows\SysWOW64.
Because we use x64 system. So if your machine is also x64, the ocx/dll must registered also with regsvr32 x64 version
The file msrdo20.dll is missing from the installation.
According to the Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008 and Windows 7 this file should be distributed with the application.
I'm not sure why it isn't, but my solution is to place the file somewhere on the machine, and register it using regsvr32 in the command line, eg:
regsvr32 c:\windows\system32\msrdo20.dll
In an ideal world you would package this up with the redistributable.
This download fixed my VB6 EXE and Access 2016 (using ACEDAO.DLL) run-time error 429. Took me 2 long days to get it resolved because there are so many causes of 429.
http://www.microsoft.com/en-ca/download/details.aspx?id=13255
QUOTE from link:
"This download will install a set of components that can be used to facilitate transfer of data between 2010 Microsoft Office System files and non-Microsoft Office applications"
You say it works once you install the VB6 IDE so the problem is likely to be that the components you are trying to use depend on the VB6 runtime being installed.
The VB6 runtime isn't installed on Windows by default.
Installing the IDE is one way to get the runtime. For non-developer machines, a "redistributable" installer package from Microsoft should be used instead.
Here is one VB6 runtime installer from Microsoft. I'm not sure if it will be the right version for your components:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c