[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Running VB6 Program on 3 Screen Windows98 Computer

Posted on 2002-06-06
4
Medium Priority
?
154 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

864 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