FileExplorer not showing folder for VBE7.dll that does exist (Yes...Hidden folders are being shown) - vba

I am curious to modify the .dll file for VBA based on these suggestions to get a custom color scheme.
When I inspect references in the VBA Editor I see a reference to
C:\Program Files\Common Files\Microsoft Shared\VBA\VBA7.1\VBE7.dll
Problem:
Using File Explorer or Chrome, it appears the VBA folder does not exist. There is no VBA folder at
C:\Program Files\Common Files\Microsoft Shared
Image showing VBA folder does not exist
In my File Explorer options I have configured to show hidden and protected folders. I believe it should be showing based on my settings.
My File Explorer Settings 1/2
My File Explorer Settings 2/2
How can I find the file at my destination, in order to backup and modify it? Since VBA does work on my machine, I am confident it does exist.

If you have 32 bit office it would not be there but at C:\Program Files (x86)\Common Files\Microsoft Shared\VBA\VBA7.1\VBE7.dll.

I'm using Office 2019 (Microsoft® Excel® for Microsoft 365 MSO (16.0.14326.20850) 32-bit
After running an extensive search for that dll on my entire PC, I found it here:
c:\Program Files (x86)\Microsoft Office\root\vfs\ProgramFilesCommonX86\Microsoft Shared\VBA\VBA7.1\

Related

Wrong path in access vba msado reference

I have an Access application that VBA references to Microsoft ActiveX Data Objects but I find that the path to the msado28.tlb type library is wrong (point to a network location!!!).
I found a PC that it does not have problem and the correct path is C:\Program Files (x86)\Common Files\System\ado\msado28.tlb.
I tried to point to this location but nothing happened!!
The pc's have Windows 7.

Adding a folder with files to application - Visual Basic 2010

In my current project I have a folder with several files that the application needs to function properly. The folder is in the bin/debug folder and with the line Application.StartupPath I can easily access the files. It couldn't be easier.
However, when I publish the application the files don't seem to be included in the project, at least not at the StartupPath.
So my question is: how am I supposed to add this folder to my published application?
First, you'll need to include those files in your project. Then click each file in the Solution Explorer and in the Properties Windows change the value for "Copy to Output Directory" to "Copy Always".

How to copy dll config files into bin folder while publish in Visual Studio 2013?

I am working on a web application that use some external dll with config files, such as Lib1.dll, Lib1.dll.config, etc. Basically these files are manually copied into bin folder and only got loaded at run-time.
I tried to add those dll as reference and am able to copy these dll files into bin folder, but how can I deal with those config files? Is there a way I can include these config files in solution and force them copy to bin folder when using Visual Studio publish?
Please help, Thank you.
You can include the files into the project in Visual Studio, and change the file property "copy to output directory" (in "Properties Window") to "always" or "copy if new".

Set root directory for project in Visual Studio 2012 Solution Explorer

Visual Studio 2012's Solution Explorer can be configured to display the actual files on disk (rather than just project files) simply by toggling the Show All Files button. Each project will display the files and folders located in the same folder as the project file itself.
Is there any way to change the root directory of what is displayed?
My cross-platform project is organized like this:
project/ide/vs2012/project.sln
project/ide/vs2012/project.vcxproj
project/src/*
I want Solution Explorer to show the files in my src directory, not my vs2012 directory.
I created a symbolic link under the vs2012 directory to point at my source code:
MKLINK /D src ..\src
Now Visual Studio sees the src folder underneath the project.
I think, if I understand correctly, you should open up the .sln file at the project's root in a notepad application and you'll find what you're looking for in there.

How to use ilMerge to merge dll into an exe file? [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Merging .dll with .exe
Okay, so... I have all the files of ilmerge, along with the .exe (CabalMain.exe) and the dll (crckd.dll) in one path. C:\Program Files (x86)\Microsoft\ILMerge
I shift>rightclick folder and open up command prompt.
Since I'd like to merge the two I enter:
C:\Program Files (x86)\Microsoft\ILMerge>C:\Program Files (x86)\Microsoft\ILMerg
e\ilmerge C:\Program Files (x86)\Microsoft\ILMerge\Cabalmain.exe C:\Program File
s (x86)\Microsoft\ILMerge\crckd.dll /out:C:\Program Files (x86)\Microsoft\ILMerg
e
(I believe that is the correct process to merge)
And I received
C:\Program Files (x86)\Microsoft\ILMerge>C:\Program Files (x86)\Microsoft\ILMerg
e\ilmerge C:\Program Files (x86)\Microsoft\ILMerge\Cabalmain.exe C:\Program File
s (x86)\Microsoft\ILMerge\crckd.dll /out:C:\Program Files (x86)\Microsoft\ILMerg
e
Simple instructions would be appreciated.
As you have now copied every thing in the programs folder of ilmerge (which is not wise and was adviced against in the duplicate question) the correct command (from the ilmerge folder) should be:
ilmerge cabalmain.exe crckd.dll /out:%userprofile%\cabalmainmerged.exe
If no errors are shown you can type start %userprofile% and in the explorer window that opens you should find cabalmainmerged.exe
'Could not load assembly ' means that the exe or dll files that you try to merge are not copied to the correct folder. If one of the exe or dll's depend on other assemblys they all have to be in the same folder.
Wiser is to have a folder c:\merge and copy all relevant files in that folder. Then start a commandprompt and
c:
cd\merge
then
"C:\Program Files (x86)\Microsoft\ILMerge\ilmerge" "yourexe.exe" "your1stdll.dll" /out:mergedexe.exe