Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

It appears that the visual basic database is timing out?

$
0
0

First things first ... this is my first experience with this forum and I'm not a programmer but placed in a position to find out why things are not working correctly.  Our estimating department uses many VBA programs written for AutoCAD 2007 & 2008 Windows XP 32 bit.  We are currently running AutoCAD 2013 Windows 7 64 bit.  I was able to get all of their programs to work as they did in the older versions but have been having trouble with one in particular.  It appears that after initiating a VB program the user has only a short time to fill out a form that eventually saves information out to a text file to be used later.  The following is a list of observations I've uncovered:

 

  1. Once the macro is loaded and running, you don’t have to add or make changes for the sake of this example.
  2. Every once in a while hitting the Save Form Information button produces the expected results.  The form remains active and more information can be added though at some point hitting the button will cause the form to disappear.  That’s when it has crashed/timed-out and any information that was supposed to be saved was not.
  3. On my station and several others any action to Save Form Information after exactly 300 seconds will crash yet on others it happens after 60 or even 180 seconds consistantly for each user.
  4. One thing to note, if the Save Form Information is not clicked the program will appear 'not' to have failed for an undetermined length of time though it has, it just won’t disappear until you click Save.
  5. Once it disappears I’ve found that it has not unloaded as it should have.
  6. By re-initiating the macro it appears to actually unload it therefore clearing it from the loaded projects.  Then hitting the button on the toolbar again it reloads the project from the last valid save.

 

Does anybody have any ideas why this is occuring?  Also, as I stated before, I've been able to get all of the other programs to work.  That is actually untrue as this issue occurs with all of them though this program is the only one that people keep open long enough for the timeout to affect their progress.

 

Thanks in advance to anyone daring enough to look into this issue. 

 


Viewing all articles
Browse latest Browse all 14319

Trending Articles