I am processing a bunch of assemblies and need to set preferences so that user intervention is not required. SW keeps prompting for rebuilds and I have yet to find all the preferences to set to prevent this. Any help would be appreciated.
API-Stop assy from prompting to rebuild
Dec 01, 2006
4 Replies
Running 2006? I'm also wondering why I'm asked to rebuild every now and then and there's no option to "don't ask me again" available. Is this
06's feature or are we missing something?regards Markku
I don;t know if this is exactly what you're looking for, but you could try these: swApp.UserControl = False swApp.Visible = False
Ken
Can't you use OpenDocSilent ?? This will prevent SWX from showing up questions to the user.
Kind regards,
JJ
formatting link
OpenDocSilent wasn't enought in an assembly. I have it pretty much tamed now with a bit from here and a bit from there. Even this will complain about internal ID.
Set swModel = swApp.OpenDoc6(sFullPath, swDocASSEMBLY, swOpenDocOptions_Silent Or swOpenDocOptions_AutoMissingConfig, "", nError, nWarning)
I have visible turned on as well as allow user. This way if it hangs I can get out of it clean and restart my code.
JJ wrote:
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required