Tag Archives: The computer

Print regularly to activate the printer (for some printers that need to be activated to print)

Save the following code as prtxls.vbs, and then you can use it on the command line, such as printing a.xlsx under C drive with the command prtxls.vbs c:\a.xlsx
Dim objxls
On error resume next.
Set objxls = wscript getobject (” Excel. Application “)
If objxls = “” then.
Set objxls = wscript createobject (” Excel. Application”)
end If
the If Wscript.argument.count = 0 then
msgBox (” There are not enough arguments.”)
cript.quit
e>f
objxls.>books.open wscript.arguments(0),false
if objxls.wor>ks.count = 0 then
Wscript.quit
Else
objxls.workbooks(1).printout
objxls.quit
End if
wscript.quit


So that’s the code

prtxls.vbs c:\a.xlsx
: \a.xlsx
c:\a.xlsx
Note: A. Xlsx must add content, otherwise the printer will not print the content because it is empty.

Office 16 Click to run extensibility component uninstall

Do not read the tens of thousands of online reading said to delete the registry, may lead to unknown problems, the following solution from Microsoft official:
Component 64-bit Registration, please try the steps below:
1. Press Win + R To open the Run window, Type “installer” and click Enter to open the folder in File Explorer.Win + R run, Enter installer return
2. Add the column “Subject”. 3. Sort on the Subject column and scroll down until you locate the name “Office 16 click-to-run Extensibility Component 64-bit Registration”.
Follow the theme options information and find the click-to-run Extensibility Component Installer
. 4. Right Click the MSI file and choose uninstall.
Right-click the MSI program and select Uninstall

Event resolution of component {b3118b2-1f49-48e5-b6f5-bc21caec56fb}

2019/03/31
Component {b31118B2-1F49-48e5-b6f5-bc21CAec56fb} event Load configuration file notification failed, error code is See Tracelogging for error details.
component {b31118b2-1f49-48e5-b6f5-bc21caec56fb} event Unload configuration file notification failed, error code is See Tracelogging for error details.
event ID: 1534
 
Solutions:
Finally found a FIX for 1534 error !
1. Open Regedit and navigate to the following two keys (looking for ProfileNotification)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ profilenob1 HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\ProfileNotification
2. Under profilenokey if you have the TDL key (confirm TDL exists at the next level of ProfileNotification)
3. Export the TDL key at each location (Export TDL backup)
4. Delete the TDL key at each location (right-click TDL-> Permissions – & gt; Advanced – & gt; Owner change to your account confirmation -& GT; Secure add your account for full control confirmation. Reboot PC to verify (Reboot into effect)
Note:
You’ll need take ownership of the TDL Key to be able to delete it.
Works for me like a charm with no downsides.
After this fix the 1534 baragge has stopped in my OS 🙂
 
Refer to https://social.technet.microsoft.com/Forums/en-US/50a24520-2ea6-47e7-995b-c2de46d2401d/user-profile-service-event-1534?forum=win10itpronetworking

configure: error: C++ preprocessor “/lib/cpp” fails sanity check

The following error occurred while installing TigerVnc for Ubuntu 10.04.3 LTS

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

This is due to the lack of appropriate libraries, so it can occur on different systems and when installing different software.
Since there is no corresponding library, the solution is simple and the corresponding library can be installed.
Here is one of the results I found. It reads as follows:
/lib/ CPP fails to solve puzzles check
When you run./configure, you’ll get an error:
Configure: error: C++ preprocessor “/lib/ CPP” fails sanity
check See ‘config.log’ for more details
Solution: this situation occurs because the relevant package of the c++ compiler is not installed. Log in as root and execute on the terminal:
# yum install glibc-headers
# yum install gcc-c++
This comrade USES the red hat version, for Ubuntu, just change yum to apt-get.
 
But I didn’t use this method myself, because Build-Essential contains a lot of base libraries, so I decided to give it a try and type

#sudo apt-get install build-essential

Run./configure again
This approach is recommended because it contains a number of basic libraries and may save you the trouble of missing libraries when you already have other software installed.