Using C# - Problem automating with Visual Studio Program.cs

Discussion created by LindaMcCafferty on Dec 9, 2010
I'm trying to create an executable file to run with Task Scheduler and create maps. 

The C# code works perfect when it's attached to a form. 

I took the same code and put it in a new project on the Program.cs 'page'.  I've added all the needed references and License Initializer etc. 

The code runs fine, but when the layers are loaded, they display in the Table of Contents, but no symbols are present.  See attached .jpg file.

Any help would be appreciated.  I'm not sure where to start figuring this out. 

Thanks, Linda