几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】solidworks crashes when vba is running (http://www.dimcax.com/hust/showthread.php?t=4583)

yang686526 2009-04-12 07:39 PM

【转帖】solidworks crashes when vba is running
 
solidworks crashes when vba is running
i have a macro that when i active the following statement the sw 2009 software crashes:
swapp.visible = true
swapp.usercontrol = true
however, when the statement is in "false" as shown below the sw 2009 software does not crash.
swapp.visible = false
swapp.usercontrol = false
does anybody knows what is the problems?
thanks in advance.
maperalia
could you post more code ? it could have something to do with code that you are running prior to this code.
solidworks 2006,2007,2008,2009 (office premium.)
core 2 duo e6850 @ 3.00 mhz
window xp pro sp3 32 bit
ati firegl v7350
ben;
thanks for your response.
the problem vanish after sp2 was installed in my computer. i wonder if it will crash again and i will need to install sp3 and so on until i reach the new version sw2010.
kind regards.
maperalia
quick


所有的时间均为北京时间。 现在的时间是 07:00 AM.