Results 1 to 6 of 6

Thread: [RESOLVED] my own VB 6 startup prompt message

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2011
    Posts
    22

    Resolved [RESOLVED] my own VB 6 startup prompt message

    Hi all,
    Is there a way that I can prompt a message first(thru message box or form)
    before visual basic actually activates?

    I am currently working on a project and I want a really commanding way to know all the tasks that I left unfinished the last time I opened the project in VB.

    I thought of notepads already but I just want something better.

    I hope that I am clear with this and I hope that this won't sound insensible..

    Thanks in advance!

  2. #2
    PowerPoster
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    2,579

    Re: my own VB 6 startup prompt message

    What is the advantage of reviewing things unfinished BEFORE running VB?

    Maybe it is good to add tasks to finish as comments at the top of main form code, so it is under your hand each time you open the project.



  3. #3
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: my own VB 6 startup prompt message

    The attached is a 'skeleton' wrapper for the VB IDE which might give you a start. It needs some work and tidying up but might give you some ideas.

    Once the wrapper is compiled just drop a .vbp file onto the .exe. It will then:

    1. Search the Project's directory for a file type of .tsk with the filename the same as the .vbp filename
    2. Display the contents of the .tsk file in a Listbox
    3. Launch the VB IDE using the .vbp filename

    When you first start with a Project the .tsk file will not exist and will be created when you first save it. (It's a plain text file with one task per line, so you could manually edit the file with Notepad if you wanted to)

    You can add new tasks to the list using the 'Add Task' button and mark them as complete by double clicking on a task. If you attempt to exit the wrapper program whilst the IDE is still running it will give you a warning.

    Again, I emphasise, it's meant only as a prototype and proof of concept, nowhere near the finished article.
    Attached Files Attached Files
    Last edited by Doogle; Oct 27th, 2011 at 11:30 PM.

  4. #4
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: my own VB 6 startup prompt message

    MZtools is free and comes with a Task List that's stored by project. It's an ADD-IN so you have it all included in VB IDE.

    MZTools

  5. #5
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: my own VB 6 startup prompt message

    You know, I've had MZTools all these years and never noticed that facility !!
    (Mind you, with my Projects the 'unfinished' list would be rather long)

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Oct 2011
    Posts
    22

    Re: my own VB 6 startup prompt message

    Thanks for the help guys.. I'll try these all out.

    'Til my next post!

    Thanks again!
    Last edited by neofusion; Oct 28th, 2011 at 02:07 AM.

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