If you're convicted of an aggravated felony, you are basically 'inadmissible' forever. However, you can apply for a waiver, and if it's granted then you have a chance to get a visa. Note that the waiver simply allows you to get the visa, it doesn't give you the visa itself, let alone your green...