Posts

Showing posts with the label windows

php cross-platform script for generating PDF & PNG

Image
My new item at #codecanyon allows generating PDF and Image captures of an URL or web page. This is a "turn-key" solution that you can deploy into a Microsoft Web Server (IIS) or Apache Web Server. It was tested and works on Windows and Linux and was just updated to support also Mac OS X (Snow Leopard/Mountain Lion). As there are no special dependencies and all the necessary resources are included in the package, all that is needed is a local setup of one of the web servers mentioned, and write permissions added to output folders. Do a test-drive yourself right now Item page: http://codecanyon.net/item/urlextensions-converter-for-pdfpng/4568619

Rebooting through remote desktop

Problem: While remoting through Windows Remote Desktop Connection, shutdown options are not available. Solution: There are a few ways of enabling shutdown and restart. I have created a simple batch script to easily accomplish this. All we need is to save this code in a .bat file and the options are presented for us. echo off cls echo SELECT OPTION ECHO 1-RESTART COMPUTER ECHO 2-SHUTDOWN COMPUTER ECHO 3-ABORT PREVIOUS SEQUENCE SET /P Choice="--> " IF /I '%Choice%'=='1' GOTO restart IF /I '%Choice%'=='2' GOTO shutdown IF /I '%Choice%'=='3' GOTO abort EXIT :restart cls echo RESTARTING THIS COMPUTER... shutdown /r echo. pause exit :shutdown cls echo SHUTTING DOWN THIS COMPUTER... shutdown /s echo. pause exit :abort cls echo ABORTING PREVIOUS SEQUENCE... shutdown /a echo. pause exit

Stop creating thumbs.db in Windows Vista/7

1) run "gpedit.msc" 2) go to "User Configuration", "Administrative Templates", "Windows Components", "Windows Explorer" 3) enable "Turn off the caching of thumbnails in hidden thumbs.db files" You can also try a different aproach: Open the Registry Editor (regedit.exe). Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced. Double-click the DisableThumbnailCache value, or go to Edit > New > DWORD value to create a new value by that name. Enter 1 for its value. Click Ok and close the Registry Editor when you're done; you'll have to log off and then log back on for this to take effect. Note: don't confuse with folder options "always show icons, never thumbnails", which disables showing thumbnails on windows explorer views (you will have to open the images to be able to see what they look like)

Windows 7 | Error Code 5 - cannot boot from disk

Image
Problem: Booting from a Windows 7 DVD in a machine that most likely is using an ASRock/MSI Motherboard, throws "Cannot boot from disk: Error code 5" Reason: Some motherboards are not compatible with Microsoft's boot sector used in Windows 7 install disc Solution: There are two ways of overcoming this: - Boot up from a Vista DVD, bypass language selection, chose repair, and open a command line, then switch to W7 DVD and enter "setup" - Record a new W7 DVD with specific Motherboard http://www.unawave.de/windows-7-tipps/code5-error.html?lang=EN

Fix boot and master boot record XP/Vista

Most hard drive issues are due to unexpected rebooting or sudent power failure. This, in turn, usually prevents the operating sytem from booting, even if the disk is not actually damaged. Botting trough an OS install disk, we can open a repair command-line to try some things that may fix the boot system. In XP/W2K: fixmbr fixboot In Vista/7: bootrec /fixmbr bootrec /fixboot

VPN connection shuts down internet access

Image
Connecting through a VPN tunneled connection stops you from opening web sites or using msn messenger? Fear not, you're troubled days are gone. Just disable default gateway / default router on the connection settings: Just make sure you won't need it to access any resources! Credits for these guys at velocity news forum http://www.velocityreviews.com/forums/t29443-cannot-access-internet-while-connected-thru-vpn.html