dcsimg
Results 1 to 11 of 11
  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2018
    Posts
    7

    IDE - how to run specific project in vbg group?

    IDE - how to run temporarly specific project in vbg group
    without swithcing StartupProject by IDE gui or vbg-file editing?
    .

  2. #2
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    4,168

    Re: IDE - how to run specific project in vbg group?

    Fire up its VBP and run it. In other words, load the VBP rather than the VBG. I do it all the time.

    In my primary project, I have a handful of ActiveX DLLs that it uses. All the DLLs are also written in VB6. I can load them all up as a VBG and run everything that way. However, typically, there's no need to do that. Rather, I'm typically just working on the main part of the program (the one that compiles to an EXE). Therefore, in most situations, I just load up my main program's VBP file and work on it that way. All the DLLs are registered (actually they're not, and I explicitly load them. But, for most people, the act of compiling these DLLs will register them), so my main VBP program will execute within the IDE just fine.

    I hope that helps,
    Elroy
    Last edited by Elroy; May 18th, 2018 at 07:34 AM.
    Any software I post in these forums written by me is provided “AS IS” without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. Please understand that I’ve been programming since the mid-1970s and still have some of that code. My contemporary VB6 project is approaching 1,000 modules. In addition, I have a “VB6 random code folder” that is overflowing. I’ve been at this long enough to truly not know with absolute certainty from whence every single line of my code has come, with much of it coming from programmers under my employ who signed intellectual property transfers. I have not deliberately attempted to remove any licenses and/or attributions from any software. If someone finds that I have inadvertently done so, I sincerely apologize, and, upon notice and reasonable proof, will re-attach those licenses and/or attributions. To all, peace and happiness.

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    31,606

    Re: IDE - how to run specific project in vbg group?

    I think you can right-click the project in the explorer and select "Run..." or "Run project..." or something... it's been a while... but I seem to remember there being a context menu somewhere that allows you to run a project in a group.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    4,168

    Re: IDE - how to run specific project in vbg group?

    Hmmm Tech, I just quickly thew two standard EXE projects into a VBG, and I don't see a way to selectively run one or the other. In fact, if they're both standard EXE projects, I couldn't find a way to run the non-primary one. If they're DLLs (or ActiveX EXEs, which I don't really use), they'll just compile and execute when needed by the primary EXE.

    Best Regards,
    Elroy
    Any software I post in these forums written by me is provided “AS IS” without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. Please understand that I’ve been programming since the mid-1970s and still have some of that code. My contemporary VB6 project is approaching 1,000 modules. In addition, I have a “VB6 random code folder” that is overflowing. I’ve been at this long enough to truly not know with absolute certainty from whence every single line of my code has come, with much of it coming from programmers under my employ who signed intellectual property transfers. I have not deliberately attempted to remove any licenses and/or attributions from any software. If someone finds that I have inadvertently done so, I sincerely apologize, and, upon notice and reasonable proof, will re-attach those licenses and/or attributions. To all, peace and happiness.

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2018
    Posts
    7

    Re: IDE - how to run specific project in vbg group?

    Elroy, techgnome, thank you for answers.

    Sorry for the ambiguity resulted by I did not explicitly state the conditions of the problem. However, I was sure, that it is clear out of the question text, that the vbg, opened in IDE, will be discussed :)
    .

  6. #6
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    17,201

    Re: IDE - how to run specific project in vbg group?

    Quote Originally Posted by techgnome View Post
    I think you can right-click the project in the explorer and select "Run..." or "Run project..." or something... it's been a while... but I seem to remember there being a context menu somewhere that allows you to run a project in a group.

    -tg
    Think it's "Set as Startup" or some phrase like that
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  7. #7
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    12,291

    Re: IDE - how to run specific project in vbg group?

    Yeah you can simply right click on the project and choose set as startup from the popup menu there then run as usual. If you want to change back afterwards then simply right click on the other project and do the same thing.

  8. #8
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    4,168

    Re: IDE - how to run specific project in vbg group?

    Hi asbo,

    I'm pretty sure that we all understood that you'd be opening the VBG in the VB6 IDE. Basically, you have two choices, and you've been given them both. Either have a willingness to change the Start Up project, or you have a willingness to directly open the VBP (rather than the VBG) and run it from there. Either approach will work.

    Good Luck,
    Elroy
    Any software I post in these forums written by me is provided “AS IS” without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. Please understand that I’ve been programming since the mid-1970s and still have some of that code. My contemporary VB6 project is approaching 1,000 modules. In addition, I have a “VB6 random code folder” that is overflowing. I’ve been at this long enough to truly not know with absolute certainty from whence every single line of my code has come, with much of it coming from programmers under my employ who signed intellectual property transfers. I have not deliberately attempted to remove any licenses and/or attributions from any software. If someone finds that I have inadvertently done so, I sincerely apologize, and, upon notice and reasonable proof, will re-attach those licenses and/or attributions. To all, peace and happiness.

  9. #9

    Thread Starter
    New Member
    Join Date
    Mar 2018
    Posts
    7

    Re: IDE - how to run specific project in vbg group?

    Elroy, hi.
    Hi all.

    Both of methods, applied to projects group:
    - Reassign StartUp property from one project to another, or
    - Edit *.vbg
    are well known and are quite obvious, as to run projects from their own IDE instances too.

    But, all it are a little inconvenient :)

    So, the answer, accounting not to topic short title only, but its explanation in the leading post too, will the following:

    No other ways are.

    Yeah?
    .

  10. #10
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    12,291

    Re: IDE - how to run specific project in vbg group?

    But, all it are a little inconvenient
    Really? All you have to do is right click on the project and click set startup

    If that is to inconvenient then how do you manage to boot the PC start the IDE and load the project? I mean that is a lot more effort and takes far longer than 2 simple clicks.

  11. #11

    Thread Starter
    New Member
    Join Date
    Mar 2018
    Posts
    7

    Re: IDE - how to run specific project in vbg group?

    DataMiser,

    He-he :)

    However, not 2 but 3 clicks :)
    Reassign, Run, Reassign back again.
    And this third click... I constantly forget to do it :)
    And you forgot about it too :)

    Moreover, yes, it's not at all difficult! (without irony)
    But it was this simplicity that led me into embarrassment, and I was forced to ask the experts - maybe I just did not find it - such suggestive itself functional ...
    .

Tags for this Thread

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width