Skip to main content

Posts

Showing posts from November, 2017

How to print files without opening

How to print multiple files with opening them? How to print multiple PDF files in one go? Printing is an easy and straight forward task, but if you need to print a 100 or more files but time is a constraint then you have to think twice how to do it fast and easy. Of course, open, click and print is the usual method of printing. To print multiple files without opening them in Windows, just go to devices and printers. Double click the printer and it will open a printer task window which shows what files are being printed. In Windows 7 if you right click the printer name, click on "See What's Printing". If you need to print in double side the printer has to be set before printing because it will just print automatically with the default settings. This method works well for a Fuji Xerox printer, but it should also work with other brand of printer. See screen shot below: Cheers! Hope it helps to make things faster. Till next time... =====

PowerShell registry keys basic operation

Working with registry keys is good and bad. Good if you know exactly what you are doing, bad if you are just experimenting and you mess up the entire system. Anyway, virtual machines will always save the day during test or experiment stage. Once everything is okay then deploy to the actual or production environment. If the test goes haywire, just trash the VM and start all over again. Below are just simple and basic commands in PowerShell to query or get data from the registry. This command below will list all the software listed on HKCU\Software path. Get-ChildItem -Path HKCU:\Software It’s quite useful to run it sometimes, so you will know what software is inside your system. Below will list the user shell folders on the system. Get-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders' Sample output: AppData                                : C:\Users\Administrator\AppData\Roaming Local AppData        

Filter MsiInstaller installation in Event viewer

How to filter or check successful msi installation on a Windows system? There are quite a lot of ways to filter event viewer, it will solely depend on the taste of the person doing the event viewer audit. It can be done via PowerShell, XML query, or use command line tools and other methods which the Sys Admin feels comfortable doing. But when it comes to auditing logs, it’s a tedious task and takes a lot of time and depends on the raw data that you have so you exactly know what you’re searching for. Command line still a useful tool since it comes handy, you just open the command prompt window and type the command and get the output. The hardest part is how you digest or do another filtering on the output since it might be convoluted with lots of data. But don’t depend on a single tool, make use of whatever you have on your system and other tools available on the net. This command line below filters the MsiInstaller for event ID 1033. wevtutil qe applicati

How to display Adobe PDF in full screen window

How to display a PDF using Adobe reader or Adobe editor in full screen window? How to display a PDF in presentation mode just like a PowerPoint? Displaying a PDF in full screen mode or in a borderless window with just the contents shown in the screen is quite simple and straight forward. Why do you need to show a PDF in presentation mode? One reason I have in mind is if you only have a PDF in hand that is neatly arrange and beautifully crafted and you need to present. Well, if you will be in the same shoes. Just press Ctrl + L . Yes, Ctrl key + Letter "L". Or ctrl + l key. The PDF will be in presentation mode and every click of the  mouse it will go to the next page. To exit or to return to the normal view window, just press "esc" key. Ctrl + L key, works in Adobe 9 to the latest version. Cheers..till next time… ================================ Free Android Apps: Click on links below to find

Loop thru custom Textboxes name in VBA or VB.Net

Having a custom name in Textboxes, Listbox, ComboBox in VBA or VB.Net is a good strategy. So, it will be easy to debug the code or analyze the data. If just relying on the default names is also good but it will get messy and it will be hard to control when there’s quite a few of textboxes, and list boxes. And the next person who will maintain the code will find it easier to debug or check the program when proper custom name is assigned to the controls. And that next person might be yourself. So, be gentle and be explicit in giving comments and assigning names to controls. It doesn’t hurt to put a clear comment or an overview of what the piece of code does or what’s the input that the control is accepting. Because greediness breeds greediness, and it will bite back. Anyway, to loop to all the custom or default names is quite easy. Example, if there are 30 or more textboxes in a form. It can be done by a simple for loop like: For x = 1 to 30 GetTboxvalue =    Me.Controls(