--- Quote Start ---
THE PROBLEM IS qu(at)rtus WON'T LET ME CREATE AN ARRAY USING A VARIABLE (0 TO VECTOR_SIZE), IT NEED TO BE A CONSTANT.
--- Quote End ---
Yes, according to the VHDL specification. It's not an Altera Quartus problem, particulary.
As you try to implement variable size arrays, I fear it's only the "tip of the iceberg" or most obvious problem with your coding attempts. There are most likely more constructs, that will never work in synthesizable VHDL. So you may need to spend some time learning the basic concepts of a HDL (hardware description language). It's rather different from a procedural programming language.
Regarding the said detail problem, you can specify a maximum size for the storage and use it up to a variable limit. That's, by the way, also the common method in C programming.