Chaps,
Am playing around with C# and creating crystal reports at runtime, i am trying to add text object to a section using the following code
crysApp = new CRAXDDRT.Application();
crysRep = new CRAXDDRT.Report();
crysRep = crysApp.NewReport();
crysRep.Sections[1].AddPictureObject(@"
",12,10);
crysRep.Sections[2].AddTextObject("Text Object Text",10,20,true);
when it hits the line of code for "addTextObject" i get the following error
An unhandled exception of type 'System.NullReferenceException' occurred in TestQM.exe
Additional information: Object reference not set to an instance of an object
please help as i am pulling my hair out over this one and i dont have much left!!