Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 25th, 2003, 09:01 PM
ncag ncag is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 ncag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question program for 2 monitors

I am writing a program for our church that is similiar to Powerpoint in the since that you can edit on one monitor and display on the other. The problem is what call do I use to tell the program to display on the second monitor. I use windows 98 extended desktop but I am not sure how to tell the program to use the second monitor.

Help!!

Keith Kelly

Reply With Quote
  #2  
Old September 26th, 2003, 10:35 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Using 2 monitors displays different content??It's impossible thing..U can use 2 pc,one displays,and another edits;make a program to sync 2 pc's powerpoint files..

Reply With Quote
  #3  
Old September 26th, 2003, 01:08 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,826 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 19 h 46 m 30 sec
Reputation Power: 765
Quote:
Originally posted by cleverpig
Using 2 monitors displays different content??It's impossible thing..U can use 2 pc,one displays,and another edits;make a program to sync 2 pc's powerpoint files..

No it's not impossible, in fact it's quite useful to have multiple monitors displaying different stuff.

Unfortunately, I don't know how you program multiple monitors
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #4  
Old December 29th, 2003, 09:58 PM
robbage robbage is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Perth, Western Australia
Posts: 30 robbage User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via ICQ to robbage
Re: program for 2 monitors

Quote:
Originally posted by ncag
I am writing a program for our church that is similiar to Powerpoint in the since that you can edit on one monitor and display on the other. The problem is what call do I use to tell the program to display on the second monitor. I use windows 98 extended desktop but I am not sure how to tell the program to use the second monitor.

Help!!

Keith Kelly


Nothing special is needed to display on other monitors. Just treat it as one big virtual screen. If you have two 1024x768 monitors side-by-side then open a windows that is 2048 pixels wide, or maximise the window, or open two windows, one with top-left corner at 0,0 and the other at 1024,0 (pixels, not twips :)

Here is some useful info for multiple monitors under vb. A class to allow you to get virtual screen dimensions, functions to determine which monitor an arbitrary RECT is on, etc. Also supplies some extra constants for GetSystemMetrics API call.

http://support.microsoft.com/suppor...s/q194/5/78.asp

[edit]
There may be some issues if you are using VB5 or earlier... popup menus appear on the main screen even if the cursor is on another screen... dialogs appear on the main screen even if the app window is on another screen... stuff like that.

Last edited by robbage : December 29th, 2003 at 10:03 PM.

Reply With Quote
  #5  
Old December 30th, 2003, 08:03 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Thx for robbage!!This is best thread for us!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > program for 2 monitors


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway