pritchard9 Posted February 25, 2009 Share Posted February 25, 2009 Im doing my computing studies coursework at the moment. It's really simple - just knock up a simple GUI, and design and implement a program for rating computer systems, all in VB. However, I think ive made thee biggest, noobiest mistake in the world. I only saved the project.. So i only went File > Save project as.. I expected that to also save the form aswell. So i took the saved files home to do some basic bug-fixing, and to optimize the code a little, and it's refusing to open due to the lack of "form1.frm". Am I missing something? Im afraid that I havent saved it properly, and have to start it again.. Thanks. Quote Link to comment Share on other sites More sharing options...
lopez1364 Posted February 25, 2009 Share Posted February 25, 2009 Yes you are missing the whole project. You should have libraries and forms. Always make sure how you save them. Quote Link to comment Share on other sites More sharing options...
pritchard9 Posted February 25, 2009 Author Share Posted February 25, 2009 Thanks for the fast reply. Aaaw man, bad times! Now i just gotta pray that i saved it on the computer i was working on.. When I open just the .vbp file, i does give the me address to a "form1.frm" file, so that gives me hope i guess. Thanks again. Quote Link to comment Share on other sites More sharing options...
Sparda Posted February 25, 2009 Share Posted February 25, 2009 Netbeans does a similar thing if you use it's custom layout. if you use normal layouts you can throw the .java files at any IDE. Quote Link to comment Share on other sites More sharing options...
pritchard9 Posted February 26, 2009 Author Share Posted February 26, 2009 Okay. Turns out I had saved it, just not put it onto my USB drive *blushes* Sooo I took it home, and fired up "Microsoft Visual Studio 2008". But its all weird. Its not recognising basic commands that were recogised at school, like "print" and "cls". Any ideas? Are the changes between versions big enough that programs written in old versions cant be run in newer ones? EDIT: I think ive worked it out. At school, i was working with VB6. At home, I have VB.net in Visual Studio 2008. Is there a difference? NOOOB.. Thanks again. Quote Link to comment Share on other sites More sharing options...
SomethingToChatWith Posted February 28, 2009 Share Posted February 28, 2009 yes, there are differences between vb6 and vb.net, so you'll need to convert the code, but if you start fixing things in vs 2008 don't be surprised when you take it back and find you can't run it on your school's computers. Quote Link to comment Share on other sites More sharing options...
dr0p Posted February 28, 2009 Share Posted February 28, 2009 VB6 and VB.Net are completely incompatable, so unless you want to convert your code each time you add something on one end you're going to have to get VB6 which is very hard to find legit since it's like forever old. Just checked on eBay, it would run you ~$180 which is absurd. Quote Link to comment Share on other sites More sharing options...
SomethingToChatWith Posted February 28, 2009 Share Posted February 28, 2009 Or if you don't mind not having the assitance of the ide at home and are just working on code (rather than design), open the code file in notepad and work on it. Quote Link to comment Share on other sites More sharing options...
pritchard9 Posted February 28, 2009 Author Share Posted February 28, 2009 Cheers for all the replies :). Had a look for VB6 myself, and its pretty hard to get. Well, legitimately, anyways. Ive seen a few "portable" versions kicking about. Its tempting, but I think ill just wait until i get back to school to work on it. Again, thanks for the replies. Much appreciated. Quote Link to comment Share on other sites More sharing options...
SomethingToChatWith Posted February 28, 2009 Share Posted February 28, 2009 I got a copy, but I'm not about to post it up to get in trouble. Hope you understand.... Best of luck with your studies. Why the heck are they teaching you vb6? You should be learning vb.net, most preferably 2008 though thier already working towards the 2010 version of visual studio.... its just about impossible to keep up with these things. Make sure you take what you learn in vb6 and play around in vs 2008 at home so get used to the differences between the two since .net is the present and future. Quote Link to comment Share on other sites More sharing options...
Deveant Posted February 28, 2009 Share Posted February 28, 2009 I had the same issue at my old school, they were still teaching VB6, when .net '06 was released. The students campaigned for '06 Express to be installed. Finally it was, but yay the teacher didnt know how to use it... Quote Link to comment Share on other sites More sharing options...
pritchard9 Posted February 28, 2009 Author Share Posted February 28, 2009 I got a copy, but I'm not about to post it up to get in trouble. Hope you understand.... Best of luck with your studies. Why the heck are they teaching you vb6? You should be learning vb.net, most preferably 2008 though thier already working towards the 2010 version of visual studio.... its just about impossible to keep up with these things. Make sure you take what you learn in vb6 and play around in vs 2008 at home so get used to the differences between the two since .net is the present and future. Yeah, i understand. MS will hunt you down.. But I gave in to temptation and downloaded me one, so im all good now :). Yeah, thanks for the advice. If VB6 is as old and outdated as you say, I dont know why Im being taught it either. I guess its only a Higher course in secondary school (from scotland :)), so its not vitally important. No doubt that when i get older and onto further education, il dabble in many more programming languages. Thanks. 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.