TFT LCD Problem (Need Help)

Can i use the libraries of a vendor 'X' to program my TFT LCD which i have purchased from a vendor 'Y'
If yes...can someone tell me how to do that in general.
Its Urgent...