> I have tried 2 codes.
Which one do you want to debug?
Have you considered posting the code, or are we supposed to use our technopsychic powers to read the source code directly from your computer?
> 1 Downloads only from specific places. (Really Buggy) Also causes my system to freeze.
And those bugs are what?
Which line of code freezes?
> 2 Doesn't compile properly.
What are the errors?
That's about all I can do based on the total lack of any relevant information you've posted.