well first of all you recognize there is a problem..that's always the first step...good for you!
my addiction was alcohol so i'm not that familiar with the vicodin addiction but i would start by consulting with a dr and being honest with him/her...truly honest about the addiction...don't be ashamed or embarrassed...they've heard just about everything. it sounds like you have a supportive wife who is just fed up...got me a very supportive husband of 20 yrs but he was ready to walk out when my addiction was at it's worst....that's called self-preservation their part!
all can say is that regardless of whether it's pills or alcohol...there IS help for you!! please seek it out...for YOU! you are worth it! you don't have to live like this!
I wish you peace! You are in my prayers, keep coming back...let us know how you are doing!
Stick around for awhile..i'm sure some others with more insight will reply to your messg...Hang in there!!