Thursday, May 28, 2009

Easy Network Profiler

NetworkOffice.txt
CODE
#========================
# Interface configuration
#========================
pushd interface

reset all


popd
# End of interface configuration



# ----------------------------------
# Interface IP Configuration
# ----------------------------------
pushd interface ip


# Interface IP Configuration for "Local Area Connection"

set address name = "Local Area Connection" source = static addr = 192.168.5.3 mask = 255.255.255.0
set address name = "Local Area Connection" gateway = 192.168.5.1 gwmetric = 1
set dns name = "Local Area Connection" source = static addr = 202.188.0.133
add dns name = "Local Area Connection" addr = 202.188.1.5
set wins name = "Local Area Connection" source = static addr = none

save file as NetworkOffice.txt. Pastu dekat cmd prompt

netsh -f NetworkOffice.txt

Friday, May 22, 2009

How to create a table of contents for several documents

  • To create one table of contents for several documents, you need to do the following.
    • Create a separate document to hold the table of contents (this is the ToC document).
    • For ease, put all the documents, and your ToC document, in the one folder.
    • In your ToC document, use an RD (Reference Document) field for each document that you want to include in your Table of Contents.
    • To insert an RD field, do ctrl-F9 and, within the brackets that Word gives you, type RD "filename". For example { RD "Chapter 1.doc" }. You can't type the curly brackets by hand. You must do ctrl-F9.
    • If you can't put all your files in one folder, you must use double backslashes and double quotes. For example, { RD "C:\\My folder\\Chapter 1.doc" }.
    • In theory, you can use relative path names. But it never seems to work properly.
    • Use an RD field for each document that you want to reference, in order.
    • Create the Table of Contents in this ToC document in the usual way.
    • Remember the page number rule: "The Table of Contents will pick up whatever pagination appears in your document". It applies when using RD fields to create a ToC for many documents. You may have to set the starting page number manually in each document if you want pagination to run consecutively through your project.
    (Ref : http://www.shaunakelly.com/word/toc/CreateATOC.html)
---------------------------------------
Setelah digodek2, aku jumpa cara yang paling mudah nak dipraktikkan.

1. sediakan 2 dokumen ms word.
a) dokumen asal yang ada paging
b) dokumen kosong untuk tujuan meletak TOC (table of contents)

2. pada dokumen a), buat paging mcm biasa
3. pada dokumen b), taip dahulu RD dokumen_a.doc \f
4. highlight apa yang ditaip
5. tekan Ctrl+F9
6. Masukkan TOC mcm biasa
7. TOC akan memaparkan senarai kandungan dari dokumen a)

Selamat Mencuba. :D

Tuesday, May 5, 2009

MarketScore: Trojan Horse

Semalam laptop ada gangguan sedikit. Norton Internet Security asyik
detect Trojan Horse. Nasib baik Norton boleh block.

Tapi agak terganggu dengan prompt tersebut.
Bila disiasat, folder C:\windows\temp semakin besar.
penuh diisi dengan fail tmp yang agak besar saiz failnya.

setelah meng'google', jumpa la solution yg tak rasmi,
iaitu dengan buang application yang menyebabkan
masalah tersebut.

so, bila disemak kat add remove program, mmg ada
satu software yg entah bila diinstallkan, tiba-tiba je
ada pada 2 hari yang lepas. Nama software tu "RelevantKnowledge"
Bila dah uninstall software tu, semuanya kembali seperti biasa.

terima kasih.