How to decompile very old version VB EXE to Source Code - vb.net

**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

Related

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

VB application built using visual studio 2015 installation to windows xp

I updated a vb windows forms application using visual studio 2015. I need to install this on a windows xp machine.
I updated my application to run using .net framework 4.0, the same as the one installed in the xp machine.
When I tried to install it the first time, it asked me to restart the machine, which I did. after restarting it gave me the error that installation is incomplete.
I have been researching all morning on how to fix it, i tried the dpca.dll solution, i tried restarting the windows installer service, i used msiexec to view the logs, and now it gives me the error that a dll required for this install to complete could not be run. I have no idea which dll, it doesn't say.
My application is fine. It builds and installs beautifully on windows 7 and above.
Please help me before I smash the windows xp machine into pieces.
I came across a comment that i can run the executable itself, just needed to copy all the dll files and put it in the same folder as the executable. So I just copied the whole folder and run the exe on the xp machine and it works.

VB.NET Windows Form Designer Sharpdevelop

I'm trying to use SharpDevelop for a Windows Form App. The problem is that I need to use VB as the language, and the Form Designer works for C# only and not for VB.
How can I solve this?
The software I'm using is SharpDevelop 5 Xcopyable portable version, because I cannot install any software.
Older SharpDevelop versions (up to 4.x) had better VB support.
While there's no official X-copyable .zip file distribution for them, you should be able to simply copy a SharpDevelop 4 installation to another machine.

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".

Standard install of VSExpress2012 on Win8, the IDE will not launch

I have a windows 8 x64 machine, pretty new image, and I just installed VS2012 C# express, and the install completed fine. but when I launch the IDE, nothing happens, I do not see a new process starting in Task Manager either.
After googling a bit, people suggest that it may be extensions and to run "devenv.exe /safemode". I did not install any extensions, and "devenv.exe" does not exist in my system. all I can find is %SystemDrive%\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WDExpress.exe. This is where the shortcut created on my desktop points too. I have tried using the " /safemode" switch with that .exe, but nothing happens.
I am currently running a repair on the program now, maybe that will fix it.
Any suggestions would be appreciated.
Thanks.
I found the issue, The Microsoft Application Compatibility Toolkit 5.6 was locking some files. After removing it. VS2012 opened right up.