[Openroad-users] CreateDirectory Bug?

gareth.2.edwards at bt.com gareth.2.edwards at bt.com
Thu Nov 2 04:29:29 EST 2006


FYI:

I ended up doing the following, to get around the bug and it worked:

-----
	/*
	** Check if the polling directory exists, if not, create it
	*/
	DirectoryExists = CurSession.DirectoryExists (Directory =
CurObject.PollDirectory);

	IF DirectoryExists = FALSE THEN

		ReturnStatus = CurSession.CreateDirectory (Directory =
CurObject.PollDirectory);
	DirectoryExists = CurSession.DirectoryExists (Directory =
CurObject.PollDirectory);

		IF DirectoryExists = FALSE THEN

			CurObject.MessageText = 'Create Failed!';
			RETURN;

		ENDIF;
	ENDIF;
-----

Thanks for the replies.

Cheers,
Gareth Edwards

BT Global Services
tel: +44 (0)131 345 4671
email: gareth.2.edwards at bt.com




More information about the Openroad-users mailing list