PDA

View Full Version : Insim Help - how to save


motomandd
16th February 2009, 14:36
Hey all, i need help, i didnt want to bug everyone for a cruise insim, so i started to learn on my own, and so i got a base insim from here, and i got it running etc

anyway, i start modifying the code, fixing commands etc

but when i save, it doent change ANYTHING, do i need to recompile somehow? i restart the insim, and it didnt do anything, so i look back into the code, and my changes are stil there,\

sorry if this is a nooby mistake, but im trying to learn instead of begging :P

[SkinCast]
16th February 2009, 14:42
First, what u trying to save ?!

the_angry_angel
16th February 2009, 15:29
Yes, if you edit any of the code you will have to recompile the source.

motomandd
16th February 2009, 15:37
exactly, how do i recompile the code? in visual basics i dont see an option?

DarkTimes
16th February 2009, 15:45
It depends what IDE you're using. If it's Visual Studio you can go to Build > Build Solution. The compiled code will be in the bin\releases directory.

[SkinCast]
16th February 2009, 15:55
Or try Debug pressing F5 (Need server online)

motomandd
16th February 2009, 16:41
i dont see a build option, am i blind or what? can u post a quick screenshot?

Silox
16th February 2009, 16:46
Well.. There is something you have to know:
In an Visual Studio IDE, you have 2 options:
OR you test your program, using F5. This saves your project in a map called Debug, somewhere in your main folder (where the .sln is too)
At this way, you can test your programmes and the IDE will give a nice error where a bug is, ...

OR you can build your solution, which saves your solution in a map called... (What is the name again?)

Screenshot @ http://www.its.niu.edu/its/www/sharedlib/utilities/ldap/usagedoc/images/buildSolutionHtml.gif

This is from an webfile, but the method is the same...

I suggest you keep on scripting and coding until it's really finished. (So use the debug function)

motomandd
16th February 2009, 16:58
OHHH ok, i got express edition, ill get the IDE edition then must have a copy lying around ^^

motomandd
16th February 2009, 20:19
ok, im being a total noob, i got visual studio 2008 and i still dont have a build or debug option, only a save option, what am i doing wrong???

DarkTimes
16th February 2009, 20:38
The Express Editions and the full Visual Studio IDE are practically identical, in respect to the build options anyway. Maybe you should attach a screenshot of what your IDE looks like.

motomandd
16th February 2009, 20:44
http://bildr.no/view/347793

thats the screenie, i have no options

(in case image fails, heres the link)
http://bildr.no/view/347793

DarkTimes
16th February 2009, 20:52
The IDE you're using is Visual Basic Express, but the language is Visual C#. That's why it's not letting you build it. You need to download Visual C# Express.

http://www.microsoft.com/express/vcsharp/

motomandd
16th February 2009, 20:55
DOH! thanks! u just saved me a few months of research :P

motomandd
16th February 2009, 22:13
still no build menu, what am i doing wrong? i got the c# version, and i ctill cant build it

Azzano62
17th February 2009, 07:12
http://www.microsoft.com/express/vcsharp/

theres the link if you have that one already press f6 that will build and then go to debug and debug it and then stop the debug thats how i do it. :D

and i know that works

dougie-lampkin
17th February 2009, 14:29
still no build menu, what am i doing wrong? i got the c# version, and i ctill cant build it

Are you opening the SLN file, or just one of the .cs files? You need to open the SLN, and you should get a "Build" option on the toolbar (see pic). Hope that helps :)

motomandd
17th February 2009, 19:54
yeah, i found that out a minute b4 i saw ur reply :P

Guthix
2nd July 2010, 17:17
Ok, so i got the F2 Cruise insim, but i can't find any .sln file, in what folder is it?
Please answer as quick as possible. I can give you a link if needed