Tools needed Virtual dub
Vob sub
G-spot (optional)
Divx codec

First thing to do if you have Virtual dub is to download Vob sub.

On install select which programe you want to be associated with
Vob sub ie Virtual dub (check the first second and last box unless you have Avi synth and then you can check all of them)
Start Virtual dub Then open your avi file (must be avi) by selecting file-open video file.
Select the Avi you want to hardsub.
Go to video select filters and click on add. you will see a list of filters find the Text sub filter and click on it then ok.
A box will appear saying text sub settings click open and find your srt or ssa file(idx-sub files use the vob dub filter).
When you have selected the desired file click ok then ok again.
You should be back at the black screen.
IMPORTANT SELECT VIDEO-COMPRESSION
Choose which form of compression you want i prefer Divx then click ok.
You can alter the settings here if you like but i don't.
Then video-full prossesing this is selected by default.
Go to file-save Avi as choose a name for your project then ok and you are done.
A screen will appear showing you your progress and if you drag the middle vertical bar over you will see two screens, the before and after.

Good luck and happy subbing