Solved

Running VB6 Program on 3 Screen Windows98 Computer

Posted on 2002-06-06
4
143 Views
Last Modified: 2010-05-18
I am having a problem running a VB Program i have written on a Computer Running Win98 2nd Ed, which has 3 Terminals.

The user runs my program several times , and needs to put each of the 3 versions running on seperate screens.
(He has a multi Screen Adapter)

The problem is.
My program has 5 Different forms.

At the start, each program is started, and then dragged to the screen need for this version of the program.
All ok at this stage!!!

Say the program is running on the 3rd screen.

When the program does   form3.hide    form4.show,
it does not stay on the 3rd screen., it starts up on the master screen. ie form4.

Is there any way of overcoming this problem.


Appreciate any help from anyone that has come across this problem.
0
Comment
Question by:turnerrob
  • 2
4 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
ID: 7060388
Just guessing, but have you tried setting Form4.Left = Form3.Left before showing form4?

Anthony

0
 
LVL 1

Expert Comment

by:Toad224
ID: 7060830
I'm not sure exactly how multiple screens work in Win98, but you might want to try:

Form4.Move Form3.Left, Form3.Top

to reposition Form4 after Form3 is loaded.

Hope this helps.  Good luck!
0
 

Author Comment

by:turnerrob
ID: 7063520
I have tried the above, the opening of the 2nd,3rd etc forms still open on the console.
I have discovered, if the screens are pulled onto the 3rd screen one by one, they then stay there for the session.

But if the program is rerun, you have to do it all over again.

0
 

Author Comment

by:turnerrob
ID: 7074344
I have used this option and have it working ok.
Have saved the settings to registry , and reload every time a form is opened, and it seems ok.

regards  turnerrob
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now