This depends on the country, but majority of the EU countries grant a startup/business visa after the formation of the company.