We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,439 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Connect to VGA Port

Hi, I need to connect to a VGA (or other video computer output) using c# to send out image, Does anyone know how to do it?

4
Contributors
6
Replies
2 Days
Discussion Span
1 Year Ago
Last Updated
8
Views
s_s21
Newbie Poster
3 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Hi, I need to connect to a VGA (or other video computer output) using c# to send out image, Does anyone know how to do it?

I really don't understand what you're trying to do here. Are you implementing some type of dual monitor setup where you want to send the image to the second connected monitor?

BobS0327
Junior Poster
185 posts since Feb 2008
Reputation Points: 35
Solved Threads: 24
Skill Endorsements: 0

Yes, I want implement some type of dual monitor, on my laptop screen i will see the desktop or the C# program and from the VGA output I'll send an image (of picture or something else).

s_s21
Newbie Poster
3 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Best way is to use monitor detection. Simply set your output to the second monitor and you're done.

If you want control over the VGA port itself, you will need to look into the hardware and driver specifications of you graphics adapter.

Ketsuekiame
Veteran Poster
1,197 posts since May 2010
Reputation Points: 553
Solved Threads: 153
Skill Endorsements: 9

The problem is that I want to send out an arrow cursors and if I'll send the whole screen I'll see more things that i don't want..

s_s21
Newbie Poster
3 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This link talks about ways to calculate the .Left and .Top parameters to display forms on other screens. You do not want to communicate directly with a VGA driver - your software will only work with 1 type of device with 1 type of driver hense the abstraction through things like GDI and DirectDraw.

skatamatic
Posting Shark
986 posts since Nov 2007
Reputation Points: 399
Solved Threads: 132
Skill Endorsements: 1

Yes, I want implement some type of dual monitor, on my laptop screen i will see the desktop or the C# program and from the VGA output I'll send an image (of picture or something else).

Check out the Screen Class. Here's the link

http://msdn.microsoft.com/en-us/library/system.windows.forms.screen.aspx

BobS0327
Junior Poster
185 posts since Feb 2008
Reputation Points: 35
Solved Threads: 24
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0679 seconds using 2.66MB