|
||
|
|
#1 (permalink) |
|
Forum Novice
|
I have some time off from work and school and I am going to be making some scripts in VB.NET for RunUO. On doing so I will write a little tutorial/converting essay on doing so. BTW if anyone on the forums has any questions regarding VB post here and I will try to offer my advice and assistance.
- Ryan(Not the admin Ryan) |
|
|
|
|
#2 (permalink) | |
|
Account Terminated
|
Quote:
If your good enough to work with VB.NET without help then you should. But writting a guide to help people who cannot even code in C# write code in VB.NET is a mistake. There are very few people who can help them. Thus when they have troble only a few select people can help him. Your welcome to do this guide, just inform people of that fact, that by writing a script in VB.NET they don't gain anything. |
|
|
|
|
|
#4 (permalink) | |
|
Forum Novice
|
Quote:
This tutorial here is pretty simple. In it you are creating a "sample item". Basicly, I am showing side by side comparisons between C# and VB code. It is stated in the introduction that "help will be very very limited in the RunUO forums given the fact that RunUO was founded on C# and therefore supports C# development." This tutorial will not be a primer into writting in VB for RunUO and not meant for amature programmers. This is meant for those that might want to actualy take the time to learn a new programming language on their own(With that limited support) through their own experimentation(Trial and error, something I guess they don't teach in school anymore). Anyways, I feel like I am ranting so I will just stop now. Thanks for your post Phantom your suggestions and comments are welcomed. - Ryan(Not the admin Ryan) |
|
|
|
|
|
#5 (permalink) | |
|
Forum Expert
Join Date: Sep 2002
Location: Houston, Texas
Age: 21
Posts: 3,933
|
Quote:
|
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
|
VB English Paper:
Private Const Imports System Imports System.Text Public Class WhyIHateOracleDBAAndForms End Class Use that code and let me know if it works lol. A+ hurray! |
|
|
|
|
#9 (permalink) | |
|
Join Date: May 2005
Location: Maine
Posts: 783
|
Quote:
I agree! I personally can't stand VB myself, but that doesn't mean other people might not gain something from it. Just like people that know C/C++/C# might say "Why learn VB? It's useless", people that are all into VB could say "Why would you want to do C? It's ugly", or something. The more resources people have, the better all around, IMHO. ![]() |
|
|
|
|
|
#10 (permalink) |
|
Forum Novice
|
I wouldn't say VB is useless... I have been working for a freelance company for about 6 months now and all we work with is VB and ASP. I personaly have written a Administation backend in a project that connects to a Oracle Server. This application was written for Huntsman Chemical(A company of Exxon Mobile) for chromatography related retrieval and storage. Basicly, the project that I have worked with is helping to make the gassoline you put in your car or truck. I wouldn't say that is useless.
Anyways, from a beginners stand point VB might be a little easier to understand. This is the beginning of the class not end it here. Begin your procedure here and end it here. It is pretty straight forward. However, VB does have its draw backs but for the development of simple scripts written for the RunUO community this language should be just fine. I believe this is a untapped resource for the beginners to work with to better understand the fundamentals of programming. |
|
|
|
|
#20 (permalink) |
|
Moderate
Join Date: Nov 2002
Location: USA
Posts: 6,598
|
There is one impact of RunUO scripting in VB verses C# that users should be aware of. Since the compiler processes all C# scripts first and VB scripts second, VB scripts can reference methods and properties from C# scripts--but C# scripts cannot reference methods and properties of VB scripts. They don't yet exist when the C# scripts are processed.
It is actually more a limitation on C#, and may never pose a problem, but it is only an issue if there are VB scripts present. Just wanted to be sure you were aware of that point--it may be good to mention in your tutorial.
__________________
David Forum Moderator The RunUO.com Forum Moderator Team Forum Rules and Guidelines RunUO Forum Search Engine Download RunUO 2.0 RC2 |
|
|
|
|
#22 (permalink) |
|
Join Date: Jan 2006
Posts: 1
|
I think it's stupid to assume that if someone can't code scripts in C# they can't code in VB. I used to be a proffesional VB developer, my VB skills are top notch, I don't know the first thing about c#. I think it's great this guy want's to write a tutorial to help us VB guys out
|
|
|
|
|
#23 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
#24 (permalink) | ||
|
Forum Expert
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 34
Posts: 3,848
|
Quote:
__________________
Quote:
Just a Simple Staff Tool You can leave me messages. Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else." |
||
|
|
|
|
#25 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|