We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
How easy is it to get a program written in visual studio to work on mac
Horlock
Posts: 1,027 Forumite
in Techie Stuff
I have a program very similar to what I want but I wrote it in visual basic within visual studio. I'm now working for an employer who only uses mac.
Although similar the program will probably be started from scratch, although some of the code should be recyclable.
I could ditch visual studio but I don't know if I'm being silly. Ideally I'd like my new program to work on both mac and pc.
I'm not a programming expert, in fact the last time I wrote any code at all was probably 5 years ago, and have never been formally taught - but always willing to try something new.
That said if it is easy to create a program which will work on both mac and pc from within visual studio then it seems better to stick with what you know.
Although similar the program will probably be started from scratch, although some of the code should be recyclable.
I could ditch visual studio but I don't know if I'm being silly. Ideally I'd like my new program to work on both mac and pc.
I'm not a programming expert, in fact the last time I wrote any code at all was probably 5 years ago, and have never been formally taught - but always willing to try something new.
That said if it is easy to create a program which will work on both mac and pc from within visual studio then it seems better to stick with what you know.
There is no intelligent life out there ... ask any goldfish!
0
Comments
-
Visual Studio will not run on a Mac, it is designed to run on Windows and Apple run OS X, there is no OS X version of Visual Studio.
You could run it in a VM under Windows but that won't really help you.
You would need to port the VB to a BASIC that will run and compile on the Mac using something like RealBasic which is far from perfect to say the least. For a start none of the Windows API calls or functions will work.
For real portability your code should have been written in C++
Google Coding for OS X to give you some idea what you're up against.One by one the penguins are slowly stealing my sanity.0 -
Just to clarify I don't want visual studio to run on the mac. Just the program I make in visual studio to run on a mac.There is no intelligent life out there ... ask any goldfish!0
-
Visual Studio complies the VB into an exe file to run on Windows. There is no option to compile your program for any other operating system.
VB uses Windows specific runtime libraries and APIs (Application Programming Interface) all specific to Windows.
OS X is a *nix based OS and is completely different, it does not use exe files.One by one the penguins are slowly stealing my sanity.0 -
-
Can you run WINE on a Mac?0
-
Is it written in Visual Basic 6 (or earlier) or Visual Basic.net?
If it's VB.net then you could compile it under Mono to produce a Mac-native version. It may need some tweaking but since you wrote this originally you should be able to handle that, right?
Bonus points: Doing it this way keeps Java off your system.0 -
Python or Ruby?0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.9K Banking & Borrowing
- 254.3K Reduce Debt & Boost Income
- 455.2K Spending & Discounts
- 246.9K Work, Benefits & Business
- 603.5K Mortgages, Homes & Bills
- 178.3K Life & Family
- 261.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.7K Read-Only Boards
