I can't tell you how long before you go on insulin, but in my case I took
2000mg metformin
120mg Gliclizide
some other thing I forgot what is was called
1 omeprizole (to stop all the other pill making me sick)
1 Liptor ( for Cholesterol )
I took all these for about 12 months and I would still be on them if I had not demanded a referral to the hospital, My BM was allways high even with the pills, so not sure if this is anything like yours.
I also demanded a test to see if I was type 1 not type 2 and the result came back a few weeks ago as type 1.