cek default printer

FUNCTION Boolean GetDefaultPrinterA(REF String pszBuffer, REF Long pcchBuffer) library “winspool.drv”  Alias for “GetDefaultPrinterA;ansi” String ls_printer Long ll_len ls_printer = space(100) ll_len = Len(ls_printer) GetDefaultPrinterA(ls_printer, ll_len) messagebox(‘info’, ls_printer)

convert datetime to varchar

select convert(nvarchar(MAX), @now, 0) as output, 0 as style union select convert(nvarchar(MAX), @now, 1), 1 union select convert(nvarchar(MAX), @now, 2), 2 union select convert(nvarchar(MAX), @now, 3), 3 union select convert(nvarchar(MAX), …

Mengatasi Suspect Database MSSQL2000

use [master] go execute sp_configure ‘allow updates’,1 reconfigure with override go update sysdatabases set status = 32768 where name = ‘NAMADATABASE’ go use [master] go update sysdatabases set status = …

Cara Install MSSQL 2000 di windows 10

1. Extract SP4 2. Copy `..SP4\x86\other\sqlredis.exe` to `..\originalinstallpath\x86\other` `(this avoid mdac insall freezing)` 3. Create this folder structure (any place): – `Microsoft SQL Server\80\Tools\Binn` – `Microsoft SQL Server\MSSQL\Binn` 6. Find …

Installing Apache, PHP, MySQL and phpMyAdmin di Ubuntu

1. Install Apache2 sudo apt-get install apache2 setelah sukses, coba http://localhost 2. Install PHP sudo apt-get install php5 libapache2-mod-php5 setelah selesai install, restart apache-nya : sudo /etc/init.d/apache2 restart setelah itu …

ReInstalling WindowsXP

If you need to reinstall WindowsXP and want to keep all your current installed applications and settings: 1. Start WindowsXP 2. Go to the location of your source files 3. …