Unattended Execution parameter
Does anyone know how to update the .VBP file of a VB6 project to have this option turned on ?
Looking at the .VBP file, all the parameters are listed and I can see the one I want, but it has no heading. I am using the command "VBInstance.ActiveVBProject", and it insists as a heading for one of the parameters.
I have tried using "" and " " but it doesn't like "", and using " " it creates a new section with whatever heading you supply.
How do you make it update the existing parameter of "unattended" ?
Thanks in advance
Steve.
Re: Unattended Execution parameter
What do you really try to accomplish? :confused: I'm lost in your words [sorry] so can you please ellaborate? Thanks.
Re: Unattended Execution parameter
I am trying to work out how to turn the option on via code.
At the moment I have a VB session open, and I am trying, by code, to set the Unattended Execution option to be on.
Once I have cracked that, the next step is to aim at other .VBP files using this app, and set them to on too.
I am only turning on the one that is associated to my open project as a test.
Obviously practically thats nonsense, as I could just call the pull down menu and click the box with a mouse.
Make sense ?
Re: Unattended Execution parameter
Quote:
Originally Posted by TheBionicOrange
Make sense ?
Sorry but it still doesn't... Maybe for somebody else but I have no clue what you're talking about... :confused:
Re: Unattended Execution parameter
You got me hangin' on this one too Steve. :confused:
Signed:
Old and Confused at VBF :D
Re: Unattended Execution parameter
OK I will give this one last go .....
I know you are aware of the "unattended execution" option.
If you edit the .VBF file of a project in a text editor you can see it listed, with a value of 0 or 1 (I think).
I can turn the option off by clicking it from the "project/Properties" pull down menu.
Is there a way of turning it on/off by using a line of code (something like VBInstance.ActiveVBProject.???), rather than checking/unchecking the option manually ?
Ignore the obvious "why would you want to ?" question that may spring to mind. Please ... just humour me :)