What sort of dialog box appears ?
If its the CVI warning msg that a run time error has occured, this will not be displayed when you build your executable ?
If you are not running in an exe or for some reason you have enabled run time error reporting, you can disable it from the Options -> Run Options menu on the main project and disble Break on library errors.
Or if it has been set by a module in your project you can programitically disable by using the SetBreakOnLibraryErrors (0); function. (Do a Ctrl P on that function to see the other available commands).
Hope this helps,
Chris