Results 1 to 6 of 6

Thread: Unattended Execution parameter

  1. #1

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    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.

  2. #2

  3. #3

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    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 ?

  4. #4

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Unattended Execution parameter

    You got me hangin' on this one too Steve.

    Signed:

    Old and Confused at VBF

  6. #6

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width