VB6 - problem saving and opening a project

R

Richard Wright

I'm totally new to VB.

When I save a project, it saves without any fuss. I can then open it
with no fuss from VB - but on the screen no forms appear.

It is as though the project is not there, except that when I press F4
the project name appears for the properties.

I can faultlessly open third party projects from a tutorial disk.

Installed my copy of VB on my laptop and the same things happens.

What am I doing wrong? As I say, I am totally new to VB.
 
R

Richard Wright

I'm totally new to VB.

When I save a project, it saves without any fuss. I can then open it
with no fuss from VB - but on the screen no forms appear.

It is as though the project is not there, except that when I press F4
the project name appears for the properties.

I can faultlessly open third party projects from a tutorial disk.

Installed my copy of VB on my laptop and the same things happens.

What am I doing wrong? As I say, I am totally new to VB.
To a certain extent I am partly answering my own question. I loaded a
project from a tutorial CD.

I then saved it under a new name without making any alterations.

The tutorial .VBW file has a Z at the end of the text and shows the
form when the project is opened in VB, i.e.:

Form1 = 0, 0, 0, 0, C, 88, 88, 655, 454, Z

My saved version of this project has the line in the .VBW file ending
in a C and does not show the form, i.e.:

Form1 = 0, 0, 0, 0, C, 88, 88, 655, 454, C

So it looks as if my question should be this - what must I do when
saving a project to ensure I get a Z at the end of the line in the
..VBW file and thus see the form when I reopen the project? Or is this
too simplistic a question even for a beginner?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top