teknicalissue Posted May 10, 2008 Share Posted May 10, 2008 ok well i have Visual Studio 2008, and everytime i compile/build a program i have a small.. issue. the (exe) works well in computers that have .net framework installed..but in others (computer who don't have .net framework) it displays an error saying you need to install .net frame work 2.0 blah blah.... well ive read that in visual studio 2008 you can compile it with the necessary files.. meaning the .exe would run stand alone with no support... does any one know how to do this? language is Visual Basic btw Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted May 10, 2008 Share Posted May 10, 2008 I could be wrong but I don't think you can use VB without .net Quote Link to comment Share on other sites More sharing options...
teknicalissue Posted May 10, 2008 Author Share Posted May 10, 2008 no you can't =( sadly Quote Link to comment Share on other sites More sharing options...
moonlit Posted May 10, 2008 Share Posted May 10, 2008 You must have the .net framework installed for the application to work. Quote Link to comment Share on other sites More sharing options...
Sparda Posted May 10, 2008 Share Posted May 10, 2008 Trying to run a VB app with out .net is like trying to run pidgin with out having gtk installed. Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted May 10, 2008 Share Posted May 10, 2008 using a linux analogy for a computer problem is like using a bowling analogy for baseball Quote Link to comment Share on other sites More sharing options...
Angablade Posted May 10, 2008 Share Posted May 10, 2008 If your interested in visual basic.. download PortableVisualBasic6 and my library.dll or library.ocx.. >,> which ever you prefur.. google will guide you.. cuz i'm lazy and working on some php. Quote Link to comment Share on other sites More sharing options...
digip Posted May 10, 2008 Share Posted May 10, 2008 VB programs compiled using VB work as long as you have the vb DLL files associated with the program. Programs created on the .net platform and compiled using the .net platform, need the .net platform to run UNLESS you can create stand alone resource files to install with the program. VB6 had a deployment wizard that would make it so that when you created an installer for the program, it put all the required dll files in with the installer. I havent used .net much, so not sure if they have that option, but I wwould think that there is a way around it somehow. With older VB programs, you just needed the associated VB runtime library's in either the windows system/system32 folder or the programs compiled folder location. With .net, I am not sure how you get around this short of including the .net installer with the program. I would think that in order to get around it someone would have to compile a dll for the exe file to run as well, as where with older VB, the dll files already existed that you ran against and could just include them with your installer. Sort of off topic, but if they can get it to run on Linux without .net, then there should be a way to do this on windows as well: http://www.linux.com/articles/53582 Quote Link to comment Share on other sites More sharing options...
Angablade Posted May 10, 2008 Share Posted May 10, 2008 .net always has a deployment wizard.. vb6 apps can run on linux through wine well.. and .net apps don't Quote Link to comment Share on other sites More sharing options...
nicatronTg Posted May 10, 2008 Share Posted May 10, 2008 I guess what ever the application is "using" could be packaged in the directory that the program resides. EX: using System.Windows.Forms; using System.IO; //etc Just copy the dlls, and put them in the local directory. The example was in c#, but you get the idea. Quote Link to comment Share on other sites More sharing options...
teknicalissue Posted May 10, 2008 Author Share Posted May 10, 2008 it may be crazy enough to work, let me try that and ill get back to you guys, thanksss Quote Link to comment Share on other sites More sharing options...
nicatronTg Posted May 10, 2008 Share Posted May 10, 2008 it may be crazy enough to work, let me try that and ill get back to you guys, thanksss If it works, let me know. You may also know that the dlls are System.dll, etc, not System.IO.dll . Quote Link to comment Share on other sites More sharing options...
teknicalissue Posted May 10, 2008 Author Share Posted May 10, 2008 yep lol, i used a program called thinstall and used it on my app AND installed .net.. but the exe file came out to be like 400MB and it worked only half of the time lol, maybe its a small step towards an answer?, man i swear threre really has to be something for this lol i also heard that if you write code in C++ and compile it, then you wont need .net, can any one confirm? Quote Link to comment Share on other sites More sharing options...
digip Posted May 10, 2008 Share Posted May 10, 2008 i also heard that if you write code in C++ and compile it, then you wont need .net, can any one confirm? Anything written in C++ can be compiled with a C compiler, so it would not need .net unless your calling something from a .net library or resource somehow. Quote Link to comment Share on other sites More sharing options...
teknicalissue Posted May 10, 2008 Author Share Posted May 10, 2008 ah ok, thanksss Quote Link to comment Share on other sites More sharing options...
Sparda Posted May 10, 2008 Share Posted May 10, 2008 using a linux analogy for a computer problem is like using a bowling analogy for baseball You need gtk for windows if you want to run Pidgin on windows. Quote Link to comment Share on other sites More sharing options...
SomeoneE1se Posted May 10, 2008 Share Posted May 10, 2008 You need gtk for windows if you want to run Pidgin on windows. pidgin doesn't install it by default? Quote Link to comment Share on other sites More sharing options...
nicatronTg Posted May 12, 2008 Share Posted May 12, 2008 pidgin doesn't install it by default? As I recall, it does install gtk for Windows during the setup, but first it checks that you don't already have it. Quote Link to comment Share on other sites More sharing options...
Sparda Posted May 12, 2008 Share Posted May 12, 2008 pidgin doesn't install it by default? It has to other wise it can't run. Quote Link to comment Share on other sites More sharing options...
teknicalissue Posted May 12, 2008 Author Share Posted May 12, 2008 no, i compiled it and included the dll's but over all the program doesn't work ( its a browser.. ) *sigh.. any more ideas guys? i know xenocode does it perfectly but its too expensive =/ Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted May 13, 2008 Share Posted May 13, 2008 If you're writing a Visual Basic.NET application anyone using the application will NEED the .NET Framework, there is no way around it. Visual Basic 6 is no longer supported by Microsoft. Quote Link to comment Share on other sites More sharing options...
teknicalissue Posted May 13, 2008 Author Share Posted May 13, 2008 im not using VB6 im using VS2008, the newest thing thats out (as far as i know) and like i said theres a way around it because the program xenocode actaully re-compiles ( i think) so it would have . net within the program, making it a stand alone.. thinstall did it too but it didn't work right lol Quote Link to comment Share on other sites More sharing options...
digip Posted May 15, 2008 Share Posted May 15, 2008 im not using VB6 im using VS2008, the newest thing thats out (as far as i know) and like i said theres a way around it because the program xenocode actaully re-compiles ( i think) so it would have . net within the program, making it a stand alone.. thinstall did it too but it didn't work right lol Visual Studio 2008 uses the .NET framework, and they will need .NET framework to run them unless the resources are coded into the app or installed with the deployment package. VB6 was by far much easier to deploy and most apps worked on XP without having to worry about installing any runtime files unless you used older resources in the app, like a Rich Text Box vs the normal text box control. Quote Link to comment Share on other sites More sharing options...
Steve8x Posted June 13, 2008 Share Posted June 13, 2008 Well you didn't specify what your are coding in, if its VB you should change to something more powerful! like C++ for example! MASM32 also excellent choice :) I strongly hate VB with a passion, its some str8 up script kiddie shit! learn a real language and stop messing around... VB can't create more than a fancy GUI which does practically nothing... so if thats what intrigues you learn Win32 API and draw your windows with code, RegisterClassEx, CreateWindowEx, its easier than it seems at first, and you'll enjoy making GUI applications much more when you understand the little details behind it... Well I write my C++ programs with Microsoft Visual C++ 2008 And yes on my old computer any program I made with 2008 would not run! I solved the problem by installing the Microsoft Visual C++ 2008 Redistributable Package! available for download directly from Microsoft link: http://www.microsoft.com/downloads/details...;displaylang=en Quote Link to comment Share on other sites More sharing options...
metatron Posted June 13, 2008 Share Posted June 13, 2008 Well you didn't specify what your are coding in, if its VB you should change to something more powerful! like C++ for example! MASM32 also excellent choice :) I strongly hate VB with a passion, its some str8 up script kiddie shit! learn a real language and stop messing around... VB can't create more than a fancy GUI which does practically nothing... so if thats what intrigues you learn Win32 API and draw your windows with code, RegisterClassEx, CreateWindowEx, its easier than it seems at first, and you'll enjoy making GUI applications much more when you understand the little details behind it... Well I write my C++ programs with Microsoft Visual C++ 2008 And yes on my old computer any program I made with 2008 would not run! I solved the problem by installing the Microsoft Visual C++ 2008 Redistributable Package! available for download directly from Microsoft link: http://www.microsoft.com/downloads/details...;displaylang=en Are you high or just retarded, lol I've been coding since the 80's and have learned nearly every language under the sun and although I do mainly code in Python, C/C++ and ASM and don't really like VB as it has alway teached bad practices "VB can't create more than a fancy GUI which does practically nothing..." is just a load of shit, you can code lot's of useful things in VB, hell you could create a whole MS Office rip off in it, your not going to be coding an OS in it anytime soon but if your witting an app for Windows it can be done in VB. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.