^Could you not just set multiple alarms in your phone with the label "Take Meds" or something? Failing that, my mom has memory issues and when they were at their worst she had a phone service that would call her up when it was time to take her medication. She no longer needs it, but it was useful for a time.
I'm assuming by "type B" you mean type 2.

Type 1 is very different, especially in that if you forget to take your insulin, the results are fairly extreme fairly quick. Before I switched to a pump, though, I'd sometimes have problems too. Specifically, injecting insulin had become so habitual to me that I would quite automatically check my blood sugar and take my shot first thing in the morning before I really woke up (it takes me ages to wake up). There were several occasions when I would find myself unsure whether or not I'd taken it a half hour later. At that point, I'd just have to risk letting my blood sugar start climbing, because a double dose could easily have been fatal. Now I can just look in my pump because it keeps a record of it all. There has to be some solution to helping you keep to your medication schedule! It's so important!