1

I'm creating a project called 'Wandows' (You can view the project here)

I'm trying to get my application to change the second monitor mode programmatically. So that if the monitor is on duplicate it will switch to extend or if it is on extend it will switch to duplicate!

I have found a question about this here - however it is in C# Not vb .net!

I'm using vb .net as my programming language

Can someone please explain how to do this!

Community
  • 1
  • 1
ABPerson
  • 489
  • 6
  • 22
  • The question might be in C#, but the accepted answer is for C++. See this: https://msdn.microsoft.com/en-us/library/aa719104(v=vs.71).aspx - and this: http://www.pinvoke.net/ – Visual Vincent Feb 10 '16 at 19:59
  • Okay, I don't quite understand what that page is all about, can you please explain what I'm looking at in this page! – ABPerson Feb 11 '16 at 17:06
  • Which one of them? The first one is about P/Invoking WinAPI methods, and the second one is a site where you can find the VB.NET/C# declaration for them. [The answer in the question](http://stackoverflow.com/a/233826/3740093) you provided uses WinAPI functions which in VB.NET or C# need to be P/Invoked. – Visual Vincent Feb 11 '16 at 17:24

0 Answers0