Yes, you should replace any public variable (not just cUser) and use the oApp object and create it at your main prg, I'm sure you have other sparsed in all your code.
Maybe you should also use a Framework, what is it and how can help you?, see it here:
http://fox.wikis.com/wc.dll?Wiki~CategoryFrameworksHTH
Thanks Esparta, I think it makes sense. I shall have to work on it. I have a public variable called "cUser" in the start main.prg file. I use this var to create temporary files for reports etc. How would I replace Public cUser in the main.prg to do the same job ???