If the computer monitor works great on another computer then it's likely the DVI input on your laptop being bad.
The DVI cable might not be making good enough contact on the DVI input on the laptop computer so maybe try unplugging the computer monitor DVI cable and plugging it back in.
If it's not that then the video card or DVI input is possibly bad on the laptop.