How to Save Your VB Program?

Monday, August 3, 2009 ·

In the pervious posting I have written a tips how to start using VB6 programming software. When you open your VB program software a project (Project1) and a form (Form1) automatically created. These are your VB programs. However at the moment they just saved in the memory of your computer, so if suddenly your computer is off the programm will loose from your computer memory. You can't use your programm you have created next time before you save them into your harddisk. In order you can use your programm next time you must save your programm into your harddisk. After you save your programs into your harddisk you can reopen, reuse and edit your programs whenever you want.

Now, how to save your VB program into your harddisk? Keep on reading below simple VB programming tips.
It's just a simple way to do. It's a good thing before you save your programs, you have to define first "what your VB project name", "what your VB form name", and "where your program will be saved in(which folder)".

For example you will save your program in a folder called D:\MyVBPrg, and your project name is MyFirstProj, and your form is MyFirstForm. Now, lets do the following instructions to save your VB program:

  • Open your windows Explorer, then create a folder called MyVBPrg in drive D:
  • Click menu File on your VB design screen
  • Click menu Save Project As...
    Look at below screen shot.
    How to Save Your VB Program


    Then a Save File As window will appear on your screen.
  • Type MyFirstForm in the cell with label File Name:
    How to Save VB Program - Type Form Name


  • Click the cell with label Save in:
  • Choose the folder D:\MyVBPrg
  • Click Save
    How to Save VB Program - Select Folder


    Then a Save Project As window will appears on your screen
  • Type MyFirstProj in the cell with label File Name
  • Click Save
    How to Save VB Program - Click Save

    Now your program's been saved already in folder D:\MyVBPrg with file name MyFirstProj.vbp (a VB Project file) and MyFirstForm.frm (a VB Form file). The extention .vbp and .frm are automatically given by Visual Basic software. Look at below image for your illustration.
    This is your VB Program

    Have you any comment? Please write down your commant in below comment box.


  • 4 comments:

    Free Clip of Tips said...
    August 4, 2009 at 6:57 PM  

    Hi,
    Thank's for your visit.

    Anonymous said...
    August 4, 2009 at 7:23 PM  

    This is great information, thanks for sharing

    Get More Details

    Free Clip of Tips said...
    August 4, 2009 at 9:53 PM  

    Thank's for your visit.

    Anonymous said...
    August 6, 2009 at 1:41 AM  

    get a useful idea from You...


    Get More Details

    Post a Comment