i dont want to disappoint you by saying you cant..you can but it is hard..i myself have tried creating a basic antivirus but now figured out that there are awfull lot of things you must know
like programming if you are a programmer then
you can first study how a virus works
know the saying "if you cant think like a thief you are not fit for a cop"
vivek
January 2008