Problem with Visual Studio when run on another pc - visual-studio

i have problem in Visual Studio 2019 when i run my project in my pc. It can run very well. But when i share my project to my instructor, she couldn't run it and error was occur. The error said " 'Microsoft .ACE.OLEDB.12.0' provider is not registered on local machine. any solution from this problem?

She needs to install the ACE drivers freely downloadable from Microsoft. See https://www.microsoft.com/en-us/download/details.aspx?id=13255
You need to ensure that if you compiled your project as x86 (32 bit) the the 32 bit ACE driver needs to be installed? If compiled as 64 bit, then 64 bit ACE driver should be installed.

Related

Installing VC++ 6.0 on Industrial PC with Windows 7 and 64 bit system

I have an industrial PC on which I need to install Visual Studio 6.0 . The industrial PC is Windows 7 Professional , 64 bit system.
The error I am getting is "Compatibility issues with this version of Windows". This error is coming on :
1. starting VC++ (twice the msg will be prompted) ,
2. compiling the program (however,the program is compiling after this error msg) but
my program is giving "debug assertion error"
That same program is working perfectly on my laptop which is also 64 bit and Windows 7 Professional and is using Visual Studio 6.0
I have tried disabling the UAC , creating an empty MSJAVA.DLL file , downloading ,registering dx7vb.dll , updating command controls and then installing VC++ in Administrator mode also.
I have also tried changing the compatibility mode to WindowsXP Service Pack2 and running the setup in administrator mode.
I have tried almost all solutions online, but nothing is working for me.
Kindly help.
Take a look in my tool VS6 Installer 4.8 page
http://nuke.vbcorner.net/Articles/VB60/VisualStudio6Installer/tabid/93/language/en-US/Default.aspx
Below the image, you can find then link titled:
For MSDEV.EXE see here
which refere to a tutorial of martin-moene blogspot where explain How To.
Please take note that in this tutorial refert to a very-old version of VS6 Installer 2.1, which isn't longer available and superseded by latest 4.8.
IMPORTANT: you already tried to install MS Visual Studio 6.0, therefore you need BEFORE clean your system (as explained on VS6 Installer page and others tutorials, english ed italian language)
HTH

Installation SDK 7.1

I want to ask about an error I faced durring the installation of SDK 7.1 compiler in order to compile .c files under matlab, knowing that I've downloaded SDK ISO and .exe but without use, from this link
http://www.microsoft.com/en-us/download/details.aspx?id=8279
I'm using Matlab 2013b,Windows7 64 bit
I got this error every time
Setup could not find the file WinSDK_amd64\WinSDK_amd64.msi at any of the specified source locations G:\Setup
I have an Intel i7, Win 7 64 bit and I was able to resolve this by downloading the Windows SDK 7.1 (iso image) from this link.
http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDKX_EN_DVD.iso
I had tried several downloads and this was the only one that actually contained the ../setup/WinSDK_amd64\WinSDK_amd64.msi file that the error message references.
Previous to finding this download I had tried removing every single instance of the C++ redistributable for each version of Visual studio I had installed. This alone did not work, because the other Win 7 SDK downloads I tried did not contain the ../setup/WinSDK_amd64\WinSDK_amd64.msi file that the error message references.
You can find it using Visual Studio 2019 installer under the name "C++ Windows XP Support for VS 2017 (v141) tools [Deprecated]".

How to install debugging tools for windows 32 bits side by side with 64 bits on a 64 bits OS?

I have a 64 bit Windows 2008R2 VM, where I installed Debugging tools for Windows 64 bit from the SDK. Now I wish to install the 32 bits and even downloaded the respective ISO - GRMSDK_EN_DVD.iso from http://www.microsoft.com/en-us/download/details.aspx?id=8442
However, the damn thing thinks there is nothing to install, because the 64 bits is already installed.
How can I still install it?
Edit
OK, I uninstalled the 64 bit version. Now, it fails to install with this lovely message:
Setup could not find the file WinSDK_amd64\WinSDK_amd64.msi at any of the specified source locations E:\Setup
Microsoft support site claims that I am probably trying to install a wrong architecture. But the ISO file name is GRMSDK_EN_DVD.iso and http://www.microsoft.com/en-us/download/details.aspx?id=8442 says it is for x86.
If I cannot install x86 on a 64 bits OS, then how do I get the 32 bits windbg installed on my 64 bits OS?
The Windows SDK for Windows 7 (for example) ISO image contains the installers under Setup\WinSDKDebuggingTools and Setup\WinSDKDebuggingTools_amd64 folders.
This applies to both 32 bit or 64 bit SDK ISO, and you don't need to install the SDK itself.
The Windows 8 SDK ISO changed a little bit here by putting the debugger installers under Installers folder, X64 Debuggers And Tools-x64_en-us.msi and X86 Debuggers And Tools-x86_en-us.msi. After installing both, you can find them under C:\Program Files (x86)\Windows Kits\8.0\Debuggers
Found this good Samaritan - http://rxwen.blogspot.ca/2010/04/standalone-windbg-v6120002633.html
Thank you, thank you, thank you.
Previously Microsoft posted the installers directly on their website; this was so much easier than the current method. Now you have to download the SDK installer, select both debuggers, let them download, then figure out where they got downloaded to and copy them off somewhere for easy access in the future. The ISOs are overkill unless you want the rest of the SDK components as well.

Can not access an EXCEL file on a 64-Bit Windows 7 with Visual Studio

my Windows 7 is 64 bit. My Visual Studio project is target to x86. I have installed this:
http://www.microsoft.com/downloads/en/details.aspx?familyid=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en#Requirements (the x32 version).
I get this error message: The 'Microsoft.ACE.OLEDB.14.0' provider is not registered on the local machine.
What do I wrong?
When you build the project you need to specify that you're specifically targeting x86 CPUs, not Any CPU.
I don't have VS 2010 installed here, so can't tell you exactly what to do, but either . . .
From the drop down that says "Any CPU" select x86.
Or on your project properties page (of the exe project) select "x86" for "Platform Target"
You need to take a look at 32-bit Microsoft ODBC Administrator to register the 32-bit driver. The one under Adminsitrative Tools is 64-bit only. Go to Windows\System32\, the search for odbcad32.exe. Click on System DSN, and register the 32-bit driver.
I'm using "Microsoft Access Database Engine 2010 Redistributable" in Win 7 64 bit without any issue. Try to install 64 bit version of "Access Database Engine".
I've got the following configuration
Win 7 64 bit
VS 2010 32 bit (there is no 64 bit)
Microsoft Access Database Engine 2010 Redistributable 64 bit
Cheers...
Muse Extensions

Can I still develop 32-bit applications using a 64-bit machine?

I'm wondering if I can still develop 32-bit apps using a 64-bit machine (64-bit Windows Vista with Visual Studio 2008 SP1)? Because I am planning to buy a laptop with 64-bit Vista. Im asking just to make sure. Thanks!
64-bit Windows runs 32-bit Visual Studio just fine. Unless you specify you wish you use the x64 development tools, it will still compile 32-bit applications.
Straight from the page:
Visual Studio uses the 32-bit cross
compiler even on a Windows 64-bit
computer. You can, however, use devenv
commands to create a command line
environment to call 64-bit hosted
tools.
Further Information: http://msdn.microsoft.com/en-us/library/ms246588(VS.80).aspx
With Visual Studio you are able to target what platform. By default it will run on "Any CPU" (read 32 or 64 bit), but you can specify if you desire. Look under Project>Properties>Build and look for the "Platform Target" property.
Yes. 64-bit vista will run 32-bit executables, so if you have a 32-bit compiler, it will still work.
Within visual studio you can tell it what to compile to under the Configuration Manager - (Build Menu - Configuration manager) - this allows you to target 32 or 64 bit.
64bit of consumer hardwares is usually "amd64" architecture which can run both 32bit apps and 64bit ones natively. Windows Vista 64bit edition supports both 32bit and 64bit system libraries, so basically you can run both type of applications as well. (Note that IA-64 architecture does not allow this.)
Compiling a program in 64bit is not much related to the platform that the compiler runs. But, of course, to run and test the result binary requires the corresponding architecture.
As many mentioned above, VS2008 let you choose the target architecture, so there's no problem.
I've found that just the setup.exe created by Visual Studio 2012 Express won't work on XP, but if you go ahead load MS 4.0 .NET Framework from the Microsoft Website then the *.application will load and install without using the setup.exe at all.

Resources