Thursday, September 3, 2009

Calling DLL from ASP pages

Set objReg = Server.CreateObject("MyDLL.myClass")
objReg.myFunctionInClass param1,param2
Set objReg = Nothing

Register and unregister dll

Register
regsvr32 e:\apgrp\essts\exe\meridian.dll

Unregister
regsvr32 e:\apgrp\essts\exe\meridian.dll /u

Know which process is locking a dll

I read a post here about a post here :) (give credit where credit is due) about how to check which process is locking a dll. No 3rd party software required. Never knew this one :

“Every so often I need to know what process has locked a DLL because a delete or similar operation failed. In such cases I always turn to tasklist.exe, the command line version of the Windows Task Manager (Ctrl+Shift+Esc). It's not well known but it can be incredibly handy, especially the module switch. Just type: tasklist /m thelocked.dll and it will return all processes that have loaded that DLL!“

Wednesday, September 2, 2009

Akhirnya aku berbuka puasa di office..

Alahai.. berbuka puasa di office lagi aku..

Ya Allah, kuatkanlah hatiku ini

untuk menghadapi pancarobah yang amat dahysat ini. Tetapkanlah hatiku untuk senantiasa ingat padaMu.

Ampunkanlah segala dosa-dosaku, aku mohon padaMu ya tuhan....

Sedang membayangkan..

... berada di tempat yang aman
menikmati udara segar
bebas dari kemelut fikiran
bebas dari kecamuk hati
bebas
bebas


ahhhhh...

alangkah bahagianya...andai ia jadi kenyataan

Apa benda lah..

IF Not RS_Search.BOF And Not RS_Search.EOF THEN
If Trim(Request("Mode"))="" Then
determine_scroll_page_type RS_Search, " ", "SWIFTActivation", "BSMHSWIFTActivationRedeem01.asp"
End If
say "
"
say " "
















Apa bendalah .. pening aku tengok benda alah nih..

Arghhhhh - assobur

Arghhh.. tensionnya.. apesal tension sangat nih.. tersangatx10000 tension.. arghhh