Using and Running Visual Basic on Mac - vb.net

This may seem like an absolutely stupid question, but it is one I really need to ask.
I have to find a way to be able to write and run a Visual Basic program on my Mac (Sierra). I have downloaded Visual Studio Community, and have even installed the Mono Project for VB, although honestly I am not quite sure how to use it.
I need to be able to write the VB code and create an editable form to work with it. I will need to compile it and run it on Mac, but I do not have to turn it into an executable.
So, without Boot Camp or Parallels or anything like that, is there ANY way to get Visual Basic, as described above, to work on Mac Sierra?

You can edit code on VS for Mac, but you can't run it. You should do bootcamp or VM Ware if you have a license for an extra copy of Windows.

Related

How to decompile very old version VB EXE to Source Code

**Our team has been using a *.exe file developed during window XP or 6 OS timeframe.. I am also not sure which version of Visual Basic (may be VB6), as this code is been written in 2004.
Currently, team is struggling to access it on a virtual XP machine. Unfortunately, the source code was lost. Would it be possible to open the source using any of the VB.Net frame work applications from the *.exe file only
Now I am trying to decompile .exe and generate source code.
Tried Solution:
Installed 32 bit dotpeek and tried but no success.
Also tried through command line "ildsam" but still no success
How do I decompile a .NET EXE into readable C# source code?
Above solution tried on below machine
Dell laptop (Precision 7560) with Windows 10
Visual Studio 2022.
Is anyone tried/faced issue like this.
Is there any way to find out which version of VB from .exe
On which version of
Please let me know your suggestion

How Do I Update an Old VB Program

I wrote a VB program a few years ago. I don't know what version VB (or should I say Visual Studio) I used.
Today I tried to make some changes. I discovered I didn't have any version of VS installed on this computer. I have no idea how that happened. I found folders for VS 9.0, 10.0 in one area of Program Files. I found folders for VS (no version), VS 8, 9.0, 10.0, 11.0, 12.0,and 15.0. In another area of Program Files. The folders have all kinds of files in them but I couldn't find an executable. The Control Panel list showed no versions of VB or VS were installed.
I found a CD with Visual Basic 2010 Express on it so I installed it.
When I tried to open my program I got a warning that it was going to have to update it and would make a backup.
Then it opened and I got so many errors I have no idea what to do.
Oh, I guess I should mention, I'm just a retired engineer that enjoys doing projects like this for myself. I am not a professional programmer.
I suppose the quickest way to make the changes I need is to figure out which version of VB I used and find it and install it.
Is that a good idea or is there a better solution?
Note I am coding on a 64 bit processor but I want the code to run on a 32 bit Windows 8.1 tablet. The existing version did before.
Thanks,
Pete

Why would Visual Basic 2010 application fail to initialize after running for 2 years just fine

We are getting a application failed to initialize error 0xc000007b. I looked around it seems to maybe be the .NET framework, I also read a possible virus.
Our application is Visual Basic .NET 2010, running on Windows XP, Windows Update is turned on.
What fixes the problem, seems to be temporary, is take my backup copy of the .exe and replace the .exe on the machine, it runs for a few hours. Keep in mind I am 12 hours away or more from the machine, I remote to it using TeamViewer.
Will event viewer or something else give me a better idea of what happened? or more information about the error and it's cause?
I'm far from a Visual Basic guru, so I'm very puzzled as to why this application is throwing this error after running for approximately 2 years.
Can windows update cause this? Does .NET framework update itself automatically?
Thanks for any help.
Well if your program was not recompiled, I'd doubt it's the program itself, but if you have the source code you can try running it through the debugger to see what's going on, and where. Personally I'd try just reimaging your xp system and seeing if that fixes the issue.
Also, isn't xp out of support? I suppose windows updates could affect it. I've seen updates cause older applications to break, so it is a possibility. You can look at the recent updates and roll them back.

Where can I download the REAL MonoDevelop Windows binaries?

The monodevelop.com website just takes me to this "Xamarin Studio" thing that has severe restrictions on the usage of the free version, and pricing that's almost as bad as Visual Studio on the paid versions! Is MonoDevelop for Windows dead? All I want to do is develop a GTK# application without installing Linux!
There's used to be a version up on Sourceforge, but 9 years after I wrote this answer it seems to have disappeared. Sounds reasonable enough...
If you really need version 4 you'll have to build it yourself. If you still have/find the sources that is.
You do not have to pay to use Xamarin Studio to develop GTK# applications. There are no limitations whatsoever (except your imagination!) on what you can create with Xamarin Studio for the desktop.
You only have to pay if you want to develop applications for Android (and even for Android apps there is a free Starter edition).
Honestly, it is a real pain in the butt to build MonoDevelop from the source or even to install on some platforms.
I did a lot of research and worked out for hours but still could not manage to build MonoDevelop and at the end of the day Decided to use SharpDevelop 4.3 (http://www.icsharpcode.net/OpenSource/SD/) instead and I gotta tell everybody that SharpDevelop is easy peasy to install. There are other alternatives too like Webbo, QuickSharp and Xamarin Studio but I haven't tried all of them.
If it is that easy to build MonoDevelop they would have build by them self and put an exe or a msi file or even a zip file with all the binaries and dependencies to download.
They have a similar problem which is quite annoying when it comes to installing the latest version of MonoDevelop on Ububtu or PC BSD.
First thing, I reckon its Git's problem but every time I downloaded the MonoDevelop source from its Git repo, the zip file is smaller than the real size and always corrupted.
Anyway I tried a few times and managed to download the source.
Then I downloaded and installed all the prerequisites.
I could not even open the Solution file in Microsoft Visual C# 2010 x86 (express).
Then I decided to build using MonoDevelop 3.0.6 as it is suggested in http://monodevelop.com/Developers/Building_MonoDevelop
When I tried to install MonoDevelop 3.0.6 it keeps on saying that I need to install GTK# 2.12.9 or newer even if I have already installed GTK# 2.12.22 (the latest one).
At the end I was really frustrated and decided to use SharpDevelop 4.3 as an alternative to M$ Visual Studio and MoNo-Develop.

From where to download compiled and ready to use MonoDev for Mono 2 under Windows?

I have heard a lot about Mono and its usability compared to .NET and its cross platform support.
I tried to find a working version of MonoDev which will give me a visual way (like MS visual Studio) of working with Mono 2.x.
Have we to compile it from code or has someone provided a link to download a working and precompiled version of MonoDev that works in Win 2000 and higher?
You don't need MonoDevelop to build applications that run on Mono. The main feature of Mono is that it runs .NET assemblies without need for re-compilation. You can build in Visual Studio (including any of the free versions of Visual Studio Express) and run your applications under Mono without change, providing Mono supports the API's you're using.
You can use the Mono Migration Analyzer (MOMA) to test your assemblies to see if Mono will support them. It inspects the MSIL code directly, so it's very quick to test them.
I believe it is possible to run MonoDevelop on Win32: http://www.monodevelop.com/MonoDevelopWin32
You can run MonoDevelop on Windows using AndLinux.
You can either:
Download one of the completely free Visual Studio Express versions: http://www.microsoft.com/express/product/default.aspx
Use SharpDevelop. There is no need to 'support' Mono, just develop like you normally would, and then copy your binaries over and Mono will run them.
Like others said, the point of Mono is to work the same as MS's .NET. You can develop in VS, then run it on Mono. That being said, if you really want to run MonoDevelop on Windows, don't let anyone tell you it can't be done. If you're curious about it, with a little bit of Cygwin hackery, I've been able to get MonoDevelop to compile cleanly on Windows, and run in an acceptable way. http://monodevelop.com/MonoDevelopWin32 has some instructions on how to get it working, but they are out of date. The current SVN trunk for MonoDevelop has better support for Windows, so try compiling with Cygwin if you're feeling daring.
MonoDevelop does not currently run on Windows. It currently runs on Linux and OSX.
On Windows, you can use Visual Studio or SharpDevelop and copy your binaries over to Linux or OSX to run them.