How Do I Update an Old VB Program - vb.net

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

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

Using and Running Visual Basic on Mac

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.

Can't open project in Visual Studio 2013 Express - Framework issue

So I have a program I've been making in VB for my company through Visual Studio 2013 Express for Desktop and have not worked on it in a couple of months. When I try to open it, I get the following error:
"The VB project "WindowsApplication1" is targeting ".NETFramework,Version=4.5" which is not installed on this machine."
http://imageshack.com/a/img661/6001/DGAfuk.png
I have all of the .NET frameworks installed including all developer and service packs (even language packs). I uninstalled all .NET frameworks and re-installed each of them without any resolution.
I tried to re-install Visual Studio and even tried changing the Framework (one of the options I have) but I cannot view any code or open designer view if I do so. (http://imageshack.com/a/img633/2109/OJaXbr.png)
The strange thing is this computer is the same one I have been developing this application on for months, so I'm not sure what happened over the last 60 days since I launched it.
Does anyone have any clues as to how I can resolve this issue?
Thanks in advance,
Matt
The path to your project must be Les then 256 Character.
That can be the reason of it.
Make sure the path is short "Copy the project to your c drive "C:\ProjectFolder" and try again".

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.

Why don't Windows SDK for Windows 7 and .NET Framework v4 get installed?

I have a Windows 7 64-bit computer with Visual Studio 2008 and Visual Studio 2010 Professional installed (C# only).
Now I want FxCop. I read first we should install Microsoft Windows SDK for Windows 7 and .NET Framework 4, so I wanted to do so, but it gives me error and says installation failed, go find more details in some HTML page in a folder path that it does not even exist:
Installation of the “Microsoft Windows SDK for Windows 7″ product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
So two questions:
I do not care about the rest of the stuff. I just want FxCop! Do I really need to install this SDK too?
What do you think is the problem when its installation fails?
I had a very similar problem. You don't need to install the SDK to do it. However, you still need to download it which is unfortunate as it is a pretty large download after all. Why it isn't a separate download is beyond me...
Anyway, I extracted the install files I needed by following the information in XXX.
In brief, you need to do this (edited from the link above):
Download the ISO version instead, extract it with 7Zip and locate
Setup\WinSDKNetFxTools\cab1.cab. Open it with Windows and copy out the
file
"WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6".
Rename this to "WinSDK_FxCopSetup.exe" and it should now install.
You can also browse the ISO image with suitable tools rather than unextracting the whole thing.
Given the date of this post, you might have already found the solution, but it may help others who come acros this issue.
From the page above there is a comment linking to another explanation that is better detailed: Liberate FxCop 10.0.