VB 6 or VB.NET

Hi Everybody,

   i am a software developer that is quite frustrated with the fact that if i develop programs in the new visual basic they can only be run on computers that have the .net framework installed, i am wanting to make a program but installing the .net framework is not an option, how can i accomplish this? i was thinking about moving back to VB 6 but i love the visual styles and power of vb.net? im stuck :-(

Kristan Callender
Who is Participating?
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.

Why is installing the framework not an option ?
If you do code it in VB6 you will still have to install the program and VB6 dependency files.
XGENTECHAuthor Commented:
ton tell you the truth i am planning on running my application at my school, installing the .nbet framework is not possible, i never knew that vb6 needed any other files, does it? i thought they are all included and distrobuted as standard in xp?
Not all are.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

XGENTECHAuthor Commented:
Yes, i see that using external dll's that are not registered would not work but all i plan to do is use netsend, and netsend is included with xp
XGENTECHAuthor Commented:
all i am realy wanting is the visual styles in vb6 without the .net framework, i have seen it done before but i dont know how?

It sounds like you're referring to a .Manifest file which will "XP Style" enable your VB6 application by directing it to use the later version of the Common Controls.  Have a look at http://www.vbaccelerator.com/home/VB/Code/Libraries/XP_Visual_Styles/Using_XP_Visual_Styles_in_VB/article.asp for a fuller explaination.



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
ps. You can even get the VB6 IDE to use XP Styles in the same fashion! - have a look at http://www.vbnet.mvps.org/index.html?code/forms/vbidexp.htm

Hope that helps..
I think it isn't such a big deal as the .NET framework is part of SP2 for XP and will be in updates for any OS's that checks for it.  Users will eventually HAVE to install it if they want to run a large number of applications.

If installing the framework is not an option, then you should check out one of the products that compiles .NET code and the framework together. (maybe like XENOCODE)
I have never used it and don't know how well it works, but there are programs out there to help you do just what you are wanting to do.

The downside is you would be statically linking the framework into your program and if everyone does this it is a lot more wasteful than just a small app that uses the shared framework (in that case the framework becomes a lot less gigantic as the number of applications using it increases)

Hope that this helps you
XGENTECHAuthor Commented:
Yes, that is exactly what i am looking for fostejo thanks for this...
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

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.