Success consists of going from failure to failure without loss of enthusiasm.
You cannot predict when you will achieve success; however, you can predict that you will not be successful if you stop pursuing something after the first time things don’t work. In order to reach success, you have to keep going. It is easy to want to give up, but your attitude (maybe more than your ideas) will determine your path to success.
Keep your drive, keep your vision of achievement, keep the joy the journey inspires in you. Learn from things that don’t work, take those lessons and make improvements to your ideas.