How to come around the need of .NET 2.0

I have written a small app with VB Express Edition. When starting it on a different PC it errors out with the message to install .NET Framework 2.0 first.

My app only uses 3 .dlls


Is there any chance to come around this requirement?
I don't want to force my users to install 22MB framework to use a 280kb app.


Thanks for helping a newbie
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hello moellert,
for .net 2.0 apps to work you need the .net 2.0 framework, there is no way around that
Leo EikelmanDirector, IT and Business DevelopmentCommented:
Is it possible to rewrite the app using vb6 or do you need to use these framework 2.0 dlls?

.Net framework is used by many purchased applications, it may already be on a user's machine.  Check out to see how to test if the framework is present.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

moellertAuthor Commented:
I have just downloaded VB Express Edition as it is for free. I have never used any .NET components knowingly. So I do not know why the Express Edition choose them. I would be glad to remove the dependency if I know how to do.
Leo EikelmanDirector, IT and Business DevelopmentCommented:
I have never used VB Express Edition, but you should be able to remove dependecies in 1 of 2 ways.

1.  Under Project menu, select references and unselect the ones using the .NET components

2.  Open the .vbp file in notepad and you will see the dependecies at the top.  Delete the ones you want.  (It should show you the .dll name for each one)

vb express needs the .net framework
most windows clients already have version 1.1 but vb express needs .net 2.0 explicitly
moellertAuthor Commented:
And VB6 does not need .NET framework?

and yes it is possible to rewrite in vb6, but be prpared to do some api digging.

this is a pretty big list of api functions:
Can't run a VB program without the runtime.  The download is much smaller than .Net framework.  More at:
Keep in mind that the .NET 2.0 Framework is a 1 time install.  Once it is installed, you don't need to re-install it with every application.  Just like the VB6 run-time files, your VB6 app won't run without those, but you only need to install them once.  

If the application you created is an important one that will need to be used for the long haul, I'd recommend sticking with VB.NET since that is the platform that MS is actively supporting.  It might be a bit of a pain to have to install the .NET 2.0 framework at the moment, but there will be a time when the .NET 2.0 framework will be as common as the current VB6 run-time files and you won't need to worry if they are installed or not.

Just my 2 cents....  :)
Leo EikelmanDirector, IT and Business DevelopmentCommented:
I don't think the .NET 2.0 framework is going to be as popular as the VB6 run time.  If it isn't too dificult to rewrite the application in VB6 I say rewrite it in VB6.

from the start i assumed that vb express was used because it is free, so i didn't think that vb6 was an option

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.