Page 1 of 1

Anyone here a visual basic or c# coder?

Posted: November 28th, 2016, 3:01 pm
by LePaul
Just curious. I'm trying to re-do some visual basic (2008) code into the newer Visual Studio and it's a hassle

All the stuff I used for DirectX calls no longer work, looks like changes in the .Net framework since then

Can VB still access DirectX?

Re: Anyone here a visual basic or c# coder?

Posted: November 29th, 2016, 3:02 am
by martin-bienz
Hi Paul, am not sure, but I think you are stuck with DX9. But this is the last information I seem to remember... so there could be news since my last update.

Re: Anyone here a visual basic or c# coder?

Posted: November 29th, 2016, 9:58 am
by LePaul
I think you are right

I was able to run the program in Debug mode (x86) to test it out on Visual Studio 2013. However, it will not compile due to the version of .Net framework. I went into the Add Reference section of the IDE and couldn't find anything related to DirextX in my searches.

I started a thread on the MSDN / Visual Studio support and a few tips suggested moving to Visual Studio 2015 and to add reference Microsoft.VisualC.

There's a few new ways to get sound play to work without DirectX, but one of the things my program does is toggle to a second monitor (R2's projector), which directX actually made easy.

Time to learn the new IDE and perhaps, some C#