Aikon Posted February 23, 2012 Author Share Posted February 23, 2012 Greetings!I would like to start off by saying I am "new" to VB scripting, so my questions may seem to have a obvious answer, just not to myself. I hope everyone understands…Right! First question!I was given Visual Studio 2012 for Christmas because I told someone I was a programer. I am a programmer, just not a visual one. They figured it would help me…now it does...I think.There's a question in here somewhere...oh yea! Can I use Visual Studio 2012 to open and edit something created in Visual Basic 6 and then re-save it without error, or very few...?My second question is a little more code based.I noticed there is an 'errorhandler' code in every single section:> …..> ' If debug mode, handle error then exit out> If Options.Debug = 1 Then On Error GoTo errorhandler> .....Does this have to be in every "sub", or can I put a single "if options.debug….." at the top and pray it works? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted February 23, 2012 Share Posted February 23, 2012 I hate to break it to you, but only Visual Basic 6 will work. If you were to open it in Visual Studio and try to "convert" it, you'd probably come up with something so nonsensical and worthless you might as well just rewrite the whole engine yourself.And yes, you do need to put it in every sub/function. The reason is that when a sub(routine) is called it will skip to the error if it exists. Link to comment Share on other sites More sharing options...
Harris6310 Posted February 23, 2012 Share Posted February 23, 2012 You were given Visual Studio 2012 for Christmas even though it doesn't exist yet? Link to comment Share on other sites More sharing options...
Godlord Posted February 24, 2012 Share Posted February 24, 2012 @Harris:> You were given Visual Studio 2012 for Christmas even though it doesn't exist yet?Latest stable release is 2010, actually.Yours faithfully Stephan. Link to comment Share on other sites More sharing options...
Aikon Posted February 24, 2012 Author Share Posted February 24, 2012 Huzzah! You're right! It's 2010 Ultimate.I can open the individual files in the src folders. I haven't attempted to compile anything I've edited yet, until I got more information.So…now I have to go out and find Visual Basic 6 some where? You would think it would be backward-compatible...I guess not.Thank you for the replies. Link to comment Share on other sites More sharing options...
Jeff Posted February 24, 2012 Share Posted February 24, 2012 Don't bother. Just acquire VB6\. The easiest way is illegal. Finding it is nearly impossible. Link to comment Share on other sites More sharing options...
saadhamza Posted February 24, 2012 Share Posted February 24, 2012 I can help you with that, just in case you have trouble acquiring it :P Link to comment Share on other sites More sharing options...
decipher0070 Posted February 24, 2012 Share Posted February 24, 2012 I have the Illegal too !sshh . . .^^ .v,, Link to comment Share on other sites More sharing options...
Aikon Posted February 24, 2012 Author Share Posted February 24, 2012 *coughs lightly*I didn't know the forum policies on pirating software, so I avoided the topic…I just "found" VB6 on "kijiji". I will install it now, and see what I can do with it tommorow afternoon when I get home from an appointment. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted February 24, 2012 Share Posted February 24, 2012 @Aikon:> I didn't know the forum policies on pirating software, so I avoided the topic…Policy is not to give links, but it's OK to mention that such links exist or give a pointer on how such a link could be obtained. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now