Need some help compiling correctly
Hi new to the forum :)
i recently got the freee vis studio 2k5 from ms and im new to writing code .
well i do have an old vb 6 book from a college and ive read a lil , and ive been reading up on some tuts online. well i seen a tut for building your own browser most all of em where for older vb like 6 and under and when i started most the code i tried didnt work BUT to no prevale i did get it to work so i have a working browser i made last night in vb 2k5 .
Sooo i got it wokring i can load pages from the combo box i made and linked to the browser component . i am new but im getting some where . so i build the project i built the solution ive gotten it to run great on my own computer soon ill add the back buttons and stuff thats not what i really need help with . what i basicly need help with is this . i basicly compiled it eh when i build it and it is in the bin debug and the release folders so i can run them fine in there i went into the project properties where you can change the name its compiled to and the resources and compile settintgs and so on in that area i found an area where i could put true to add resources i beleive so i did and it added some dll files to my project.
i figured that would be adding the needed dependancy files it would need to run on some one elses computer with out the need for them to download the netframework 2.0 to run . i rared it all up sent it to my girlfriend and to my sister to see if it would run on their computers . and bolth get diff errors gf gets need netframe work to run sister gets application failed to execute error.
so i geuss what im askn is how do i compile this browser to have the dependancy files with it so i can send it to some one and have it run with out them installing the needed .net framework ive been lookin for info and i probably havent looked hard enough but i was hopen some one here could give me some pointers im basicly new to coding.
in the past ive played alot with hex editors and memory editors to change things in programs like games you know maken trainers and so on but nothing very indepth and this is a whole new ball game really coding like this and editing your memory is 2 diff things complete from what ive seen so far but im really new to this . but im happy i made a browser that works on my pc only took me a night of reading to really get the idea down on how to code a lil in vb hopefully i can go some where with it and become part of the comunity.
any help is greatly appreciated :) tia
Re: Need some help compiling correctly
That is Visual Net, and others need the Framework to run it.
There have been many posts about that, but there isn't much you can do to change it. You should look in the Net forums. There are lots of better ways to use it than using legacy VB code.
Re: Need some help compiling correctly
Welcome to the Forums.
If you use .NET your required to have the Framework installed on the target system. No way around it. You can create a setup
package in .NET to provide the link to download it or you can distribute it but then that will add 20+ Mbs.
If you check out the Application Forums FAQ I have added two links to articles that can walk you through the installation package
creation for .NET apps.
:)
Re: Need some help compiling correctly
hi guys and thanks you know i was reading up on that before i posted about maken installers that will add the dxnetfx package and i did send my sis the 20mb dxnetfx to install and it did work i was just hopen there was another way :\
so that means every program made in vb net will need that thats a lil harsh . or am i mistaken and only certain componets like the browser component i added would need that . either way its ok im just starting out i was thinking wow i made a browser thats only like 2.45mb but now i see to make it work as a distro it would be like 22 but still not that bad but its a light browser .
still fun as heck to start and see something i made work alltho i only wrote a few lines of code it still makes me feel good to see it work :) .
so what other ways can i make say a browser in visual studio that would not need any extra dependancy files or if needed files could i make it in say C# or something else where i could include all the needed files in teh package would i have to re-write some of the base code and aim the componets taht are looking for those special dlls to the home dir of the installed app with the dlls i provide ? heh im probably talkn to much and not reading enough but thanks alot for the help . its so much easier talkn to people that know their poop instead of reading and searching for things i dont totaly know some times im off on my words i need to search for the right answer but we all gotta start some where .
thanks again you guys rock! :bigyello: