Anyone here a visual basic or c# coder?

General topics...if a particular user would like their own sub-area, please let me know!
Post Reply
User avatar
LePaul
Reactions:
Posts: 3966
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

Anyone here a visual basic or c# coder?

Post 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?
User avatar
martin-bienz
Reactions:
Posts: 172
Joined: February 22nd, 2016, 2:42 am
Location: Switzerland
3D Printer(s): Ultimaker Original, prusa i3 mk2

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

Post 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.
User avatar
LePaul
Reactions:
Posts: 3966
Joined: February 7th, 2016, 10:26 pm
Location: Bangor, Maine USA
3D Printer(s): 24 - Yes I have a problem!
Contact:

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

Post 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#
Post Reply

Return to “General Discussion”