Results 1 to 6 of 6

Thread: Can I change the template for new forms that I add to my VB6 project?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    760

    Question Can I change the template for new forms that I add to my VB6 project?

    Hello!

    For each new form that I add to my project I find myself changing the font size, scalemode and startup position, etc.

    Is there a template that I could change to avoid this task?

    Thank you!

  2. #2
    PowerPoster VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    2,619

    Re: Can I change the template for new forms that I add to my VB6 project?

    Not really, but you could copy-paste it from another form if you open it in a text editor.

  3. #3
    Hyperactive Member gilman's Avatar
    Join Date
    Jan 2017
    Location
    Bilbao
    Posts
    273

    Re: Can I change the template for new forms that I add to my VB6 project?

    For the form font, you can use this addin:
    https://www.vbforums.com/showthread....rms&highlight=
    I think you can modify the Addin to change other properties

  4. #4
    Lively Member
    Join Date
    Sep 2016
    Location
    Texas panhandle
    Posts
    68

    Re: Can I change the template for new forms that I add to my VB6 project?

    Create your form as desired. Save this form in the following path:

    C:\Program Files\Microsoft Visual Studio\VB98\Template\Forms

    Then this form will appear in the list of forms which is shown whenever you add a form
    to a project.

  5. #5
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    760

    Re: Can I change the template for new forms that I add to my VB6 project?

    Quote Originally Posted by VBClassic04 View Post
    Create your form as desired. Save this form in the following path:

    C:\Program Files\Microsoft Visual Studio\VB98\Template\Forms

    Then this form will appear in the list of forms which is shown whenever you add a form
    to a project.
    Works great! Had to change the path however to:

    C:\Program Files (x86)\Microsoft Visual Studio\VB98\Template\Forms

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    760

    Re: Can I change the template for new forms that I add to my VB6 project?

    Thank you!

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
  •  



Click Here to Expand Forum to Full Width