Easy VB question

I'm new to using VB, and am using version 6.

1. Is it not possible to switch between "open projects" as you can with MS Word documents?  THe window menu in VB does not list open projects, and when I try to open another one when I'm working on it, it closes the current project?

2. Also for some reason, sometimes when I start a new project, the old project 1 is still in the Project group window (top right hand corner) then when I delete the other prohect, and try to save the current one, it keeps asking to save it as a project GROUP which is what I dont want.  How do I then make it save it normally as one?

3. Finally, when I set the main form window state to 2 (maximised), when I run the project, and then go back into design mode, I have to keep maximising the form again as it goes back to a smaller size, any suggestions?
oddbodAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

caraf_gCommented:
1 - You can start VB as many times as you like. If you want one project open, start VB, and open project 1. If you want project 2 open as well, start another instance of VB and open project 2.

It doesn't work like Word.

2 - You accidentally did "add project" instead of "open project". When you do that you create what's called a Project Group, which VB then quite correctly asks you to save when you're done. Project groups are indeed very useful, but seein' as you're new to VB I wouldn't worry about them for now.

3 - Yes, this is a well-known VB6 "feature".
0
caraf_gCommented:
Ad 3)

This is a known bug in the VB6 IDE.

If you always want your windows to be maximized when you open VB, do the following:
-open the registry (regedit).
-go to HKEY_CURRENT_USER
-go to Software
-go to Microsoft
-go to Visual Basic
-go to 6.0
-In there, add a new "String value" called "MDIMaximized"
-Change it's value to 1

The next you open VB, your windows will be maximized.
0
oddbodAuthor Commented:
Private Sub optLeft_Click()
'This changes the contents of the label so that is it left aligned

lblText.Alignment = left

End Sub

I keep getting an error with the above.  how do u set the alignment in the vode to left, centre or right?

3 - Yes, this is a well-known VB6 "feature".

When you say this is a feature, it does not always happen, only on a few vasic programs has it been happening to me.  It surely must be more than that.  Even my tutor could not explain it.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

caraf_gCommented:
oddbod, you can't start introducing completely new questions! Anyway, you should use constants vbLeft, vbRight, vbCenter

Ad 3)
This is a different problem than what I thought it was. Even though you can set the windowstate in design mode, you won't see this in design mode. The windowstate is only affected when you run the program. That's why it looks nice and maximized when you run it, but still small in design mode.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
oddbodAuthor Commented:
common man give me a break, if I had to ask a question for every thread I would be flooding the whole questions to be asked area.

100 points means moderate difficulty.  I've been more than generous with the points for a few lined answer.  

Dont worry you'll get the points, but as it happenes, you should post as comment and wait for me to accept it.

I'm releasing the question again to get other views, not cos I dont want to give u the points.
0
caraf_gCommented:
Sorry, oddbod, didn't mean to offend.

"you should post as comment"
When I answered the question I believed I had answered the three points correctly. That's why I locked the question.

But my Point 3 was incorrect, and for that you are justified in rejecting my answer. I hope my subsequent comment is less off the mark but I'm not 100% sure so I won't lock it this time.
0
oddbodAuthor Commented:
No offence taken, like I said, I didnt reject cos it is/isn't wrong, I just want varied responses from people so I can award to the best ans then, hence I've opened it again.  I'll accept an after a few days.

Thx.
0
nIcebearCommented:
I think caraf q is richt and he should get the points
0
caraf_gCommented:
caraf_g is appreciative of that last comment. Thanks!
0
oddbodAuthor Commented:
Thx.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.