Take a look at the DE; you want some way for a solution V(t) to give you a constant, so that the non-homogeneity holds...
In your example, you want the differential equation just to give you a constant, right? So assuming V(t) = A and equating both sides would give you that constant.
Pretty hard to explain, but let's say you assuming V(t) = at + b; we have:
0 + (at+b)/w = (Vm/w)
at + b = Vm
And, writing it out in a slightly different way:
at + b = Vm + 0t
Equating the co-efficients, you have a = 0, Vm = b.
And that's another way to find the solution.
But what determines V(t) = A is because you have a V(t) term on the left side and you have a constant on the right side--- and since V'(t) = 0 and V''(t) = 0 for any constant A, V(t) = A would give you the constant as you want it on the right side.
Hope that made SOME sense. :P I tried.