OK, given that the problem encountered in the application at present is memory related rather than a problem passing an argument I have opened a new topic that can be
found here. Thanks to everyone who helped out with the initial problems in my application and I really hope that you can continue to help with the new problem.