Can't make XY Event Layer Permanent? (VB)

Discussion created by jonesjes on Oct 3, 2011
Latest reply on Jan 25, 2012 by manya2000

I have code to make an XY event layer but I keep getting syntax errors whenever I try to run the copyfeatures_management tool with the parameters the help file says it takes.  Does anyone have a working code snippet that takes a dataset from XY event to shapefile?  Is there something out of the ordinary required of the variables?  This was a simple thing to do in 9.3.

Thanks in advance