jimmyzhou ·¢±íÓÚ 2009-5-12 09:49:38

Çó½ÌErr.DescriptionÈçºÎ»ñÈ¡ËùÓеĴíÎóÐÅÏ¢

On Error Resume Next
½Å±¾´úÂë
If Err.Number <> 0 Then
    Reporter.ReportEvent micFail, Err.Description, Err.Description
End If

Èç¹ûÎҵĽű¾ÖÐÓжà¸öÒì³£ÐÅÏ¢µÄ»°£¬ÉÏÊöµÄErr.DescriptionÖ»¿ÉÒԼǼ×îºóÒ»Ìõ£¬Çó½Ì²ÉÓÃʲô°ì·¨²ÅÄܼǼËùÓеÄÒì³£ÐÅÏ¢ÄØ

ѧ»áÈ÷ÍÑ ·¢±íÓÚ 2009-5-12 09:55:54

Õâ´úÂëÎÒ¿´²»Ã÷°×..
ÄãÊÇ°ÑerrorÐÅϢѭ»·Êä³ö»¹ÊÇÖظ´µ÷ÓÃ?

ÄãÕâÀï½ö½öÊÇÖ´ÐÐÁËÒ»´ÎµÄreporterÓï¾ä,µ±È»Ö»ÓÐ×îºóÒ»ÌõÁË..

jimmyzhou ·¢±íÓÚ 2009-5-12 09:59:41

¾ÍÊÇÈç¹ûÎÒÕâ¸ö½Å±¾ÀïÈç¹ûÅ׳öÁ½¸öÒì³£ÐÅÏ¢£¬ÎÒÏë°ÑËùÓеÄÒì³£¶¼¼Ç¼ÏÂÀ´£¬¸ÃÔõô°ì
Err.DescriptionÓ¦¸ÃÊǸöÈ«¾ÖµÄ£¬Èç¹ûÓжà¸öÒì³£ÐÅÏ¢£¬ºó±ßµÄ»á°ÑÇ°ÃæµÄ¸²¸ÇµôµÄ

fpbaggio ·¢±íÓÚ 2009-5-12 10:12:47

¿´¿´QTPÀïÃæÓÐûÓÐдÎļþµÄ²Ù×÷
ͨ³£ÎÒÔÚVBÀï×öµÄʱºòÒ²Êǽ«errµÄÐÅϢдµ½txtÎļþÖÐ

jimmyzhou ·¢±íÓÚ 2009-5-12 10:28:36

дÎļþµÄ²Ù×÷µ¹ÊÇ×ߣ¬Ö»²»¹ýд½øÈ¥µÄÒ²Ö»ÊÇ×îºóµÄÒ»¸öErr.Description

walker1020 ·¢±íÓÚ 2009-5-12 11:24:34

Ô­ÌûÓÉ jimmyzhou ÓÚ 2009-5-12 09:59 ·¢±í http://bbs.51testing.com/images/common/back.gif
¾ÍÊÇÈç¹ûÎÒÕâ¸ö½Å±¾ÀïÈç¹ûÅ׳öÁ½¸öÒì³£ÐÅÏ¢£¬ÎÒÏë°ÑËùÓеÄÒì³£¶¼¼Ç¼ÏÂÀ´£¬¸ÃÔõô°ì
Err.DescriptionÓ¦¸ÃÊǸöÈ«¾ÖµÄ£¬Èç¹ûÓжà¸öÒì³£ÐÅÏ¢£¬ºó±ßµÄ»á°ÑÇ°ÃæµÄ¸²¸ÇµôµÄ

¼ÈȻ֪µÀErr.Description ÎÞ·¨Âú×ãÄãµÄÒªÇó£¬ÎªÊ²Ã´»¹Æ«ÒªÍ¨¹ýËüÀ´µÃµ½ËùÓеijö´íÐÅÏ¢ÄØ£¿ ÊÇ·ñÓ¦¸Ã¿¼ÂDZðµÄ·½·¨£¿

lijinshui ·¢±íÓÚ 2009-5-12 11:31:10

»Ø¸´ 1# µÄÌû×Ó

¶à¸öÒì³£ÐÅÏ¢µÄ»°,ËüÃÇÒò¸Ã¶¼ÊÇͨ¹ýErr.DescriptionÀ´Ìáʾ³öÀ´µÄ°É£¬Ñ­»·»òdictionaryÀïÃæ¾Í¿ÉÒÔÁË°Ë

lijinshui ·¢±íÓÚ 2009-5-12 11:33:32

»Ø¸´ 6# µÄÌû×Ó

walkerÒªÊÇÖªµÀ±ðµÄ·½·¨µÄ»°¾**öÀ´ßÂ

52042722 ·¢±íÓÚ 2009-5-12 11:38:40

ÎÒµÄÏë·¨ÊÇÕâÑùµÄ£º
1£ºÈç¹ûÄãÓа취ԤÆÚµ½Á½¸öÒì³£µÄ»°¿Ï¶¨ÊÇÒª¿ÉÒÔÔÚ¶ÔÓ¦ÓÐÒì³£µÄ½Å±¾µÄµØ·½Ð´ÈëErr.DescriptionµÄ£¬ÕâÊÇ¿ÉÒÔÖظ´µÃµ½ÐÅÏ¢µÄ¡£
2£ºÈç¹ûÄãÎÞ·¨Ô¤ÆÚµ½ÓжàÉÙ¸öÒì³££¬ÄÇÄã¿Ï¶¨ÊÇÒªÖ´Ðнű¾µÄʱºò£¬ÄÇô¿Ï¶¨ÊÇ´¦ÓÚµ÷ÊÔ״̬µÄ£¬Èç¹ûÊǵ÷ÊÔ״̬ ¿Ï¶¨ÊÇҪÿ¸öÒì³£¶¼ÊÇÒª´¦ÀíµÄ£¬ÕâÑùÄã¿ÉÒÔµ÷ÊÔͨ¹ýÿ¸öÒì³£½Å±¾´ïµ½ÇåÀíÒì³£µÄÒ»¸ö½á¹û¡£²»ÐèÒªÒ»´ÎÊäÈëËùÓÐÒì³£°É¡£

jimmyzhou ·¢±íÓÚ 2009-5-12 12:03:47

ÎÒÊÇÓÃÀ´×ö×Ô¶¯»¯²âÊÔ£¬Èç¹ûÈí¼þÓб䶯»òÕßÓÐBUG£¬ÎÒÃÇÊÇÊÂÇ°ÎÞ·¨ÖªµÀµÄ£¬ËùÒÔÒì³£ÊÇËæʱ¶¼»á³öÏֵģ¬¸Ð¾õÖ»ÓÐErrÂú×ãÏÖÔڵij¡¾°£¬Ö»ÓÐÓÐÒì³£µÄʱºò²Å»á´´½¨Õâ¸öErr¶ÔÏ󣬵«ÊÇÈç¹ûÒ»¶Î½Å±¾ÀïÓжà¸öÒì³£µÄ»°£¬ÓÖ²»ÄܼǼËùÓеÄÒì³£ÐÅÏ¢

yuandjing ·¢±íÓÚ 2009-5-12 12:20:41

Â¥Ö÷²»·Á°ÑÕâ¾äÓï¾ä¼ÓÈëÑ­»·£¬»òÕß°Ñerr.descripttionÖÃÈë±äÁ¿£¬È»ºó²»¶Ï°ÑеÄerr×·¼Ó½ø±äÁ¿

52042722 ·¢±íÓÚ 2009-5-12 12:40:09

Äã¿Ï¶¨¿ÉÒԼǼËùÓеÄÒì³££¬ÒòΪÄã·¢ÏÖÐÂÒ쳣ȻºóÐ޸ĺ󣬽Ó×ÅÖ´Ðнű¾ ¿Ï¶¨ÓÖÓÐÒ»´Î·¢ÏÖÒì³££¬ÕâÑù²»¶ÏµÄÖ´ÐУ¬È»ºóÖªµÀ½Å±¾Í¨¹ý¡£
Ò³: [1]
²é¿´ÍêÕû°æ±¾: Çó½ÌErr.DescriptionÈçºÎ»ñÈ¡ËùÓеĴíÎóÐÅÏ¢