VB6 vs VB .NET? Starting with Bot programming.

Thanks for Download Links..C# is a Good Language to Program Bots...But Now a days People use .net..still Do what you are comfortable with, as for sample I still use Adobe Photoshop 7...and VS 2003 Old version..So the main point what I am comfortable with and easy to use..Like I hate Vista and Love XP...as I am comfortable with XP..
 
the development process is so fast that no language can beat it!

Saying stuff like that is a sign of inexperience. I can think of at least 5 different languages that can beat it for different types of development off the top of my head.

It depends on what you want to do at the end of the day. My advise is if you know C++ then stick with that, you wont be limited to one platform, your software wont require any runtimes, and after all windows itself is created in C/C++. C# is nothing but a screwed up version of C++ for .net
 
Saying stuff like that is a sign of inexperience. I can think of at least 5 different languages that can beat it for different types of development off the top of my head.

It depends on what you want to do at the end of the day. My advise is if you know C++ then stick with that, you wont be limited to one platform, your software wont require any runtimes, and after all windows itself is created in C/C++. C# is nothing but a screwed up version of C++ for .net

I still stand behind my word if we are talking about desktop applications related bots, scrapers etc. Developing with Visual Studio is extremely easy and it has all kinds of extensions and features for code snippets, automatic class generation etc. + learning C# is really easy when compared to C/C++ or Delphi. On the other hand I have to admit that IDE's like C++ Builder and Embarcadero Delphi are also great.

There's no doubt that C++ is better for most stuff but it's much harder to master and while you can do much more it usually requires more work. If OP talks about really simple bots there's no reason to stick only with C++. As you said "it depends on what you want to do". OP wants to create simple bots, so there's no need to learn a complex language when there are more effective solutions available. C# is fast to learn and easy to use and some unofficial studies have shown that it's actually faster than C++ in some cases. Naturally C++ is still a lot faster in may cases.

I think that people have been arguing about the best programming language for decades and it's just worthless. Each and every language has its pros and cons and everything is not black and white. In this case C# is as good choice as C++ or maybe even better.
 
Last edited:
I still stand behind my word if we are talking about desktop applications related bots, scrapers etc. Developing with Visual Studio is extremely easy and it has all kinds of extensions and features for code snippets, automatic class generation etc. + learning C# is really easy when compared to C/C++ or Delphi. On the other hand I have to admit that IDE's like C++ Builder and Embarcadero Delphi are also great.

There's no doubt that C++ is better for most stuff but it's much harder to master and while you can do much more it usually requires more work. If OP talks about really simple bots there's no reason to stick only with C++. As you said "it depends on what you want to do". OP wants to create simple bots, so there's no need to learn a complex language when there are more effective solutions available. C# is fast to learn and easy to use and some unofficial studies have shown that it's actually faster than C++ in some cases. Naturally C++ is still a lot faster in may cases.

I think that people have been arguing about the best programming language for decades and it's just worthless. Each and every language has its pros and cons and everything is not black and white. In this case C# is as good choice as C++ or maybe even better.

Opinions are welcome bro, but if you don't know what you are actually talking about then just leave it where it is. For you to say that learning C# is easier than Delphi is absolutely absurd. C# is still from the C family so syntax wise it's just about the same while Delphi reads like English.

A simple for loop in Delphi

Code:
Var
  I : integer;
begin
  for I := 0 to 10 do
showmessage('C# Sucks!');
end;

In C#

Code:
class MainClass
{
    static void Main()
    {        
        for(int i=0; i<5; i++) 
        {
            Console.WriteLine("I Suck!");      
        }
    }
}

I also disagree that it would take more work for the OP to do more work in C++ than it would in C# , ESPECIALLY if C++ is what he already knows. I see no reason to change to an inferior language for the sake of simplicity when C# really isn't much more simple. The only thing I can think of that would make it simpler is having garbage collection but if the OP has been studying C++ already the I am pretty sure he's learned how to manage his own memory by now.

For the record I have not problem with C#, you can do most things with it - but to recommend it over C++ when someone has already begun learning it really just doesn't make any sense IMO. I also try my best to stray away from anything related to .net as it will be a pain in the arse later on when you decide you want to do any low level stuff with it, but hey - like they say, opinions are like assholes!
 
I have to say that I totally confused Delphi with some other programming language. My father used to program with Delphi for years so I should have known better. Well, shit happens!

And just to clarify, my recommendations were based on an assumption that OP knows relatively little C++, because when I was in a beginner's C++ course in the University it only scratched the surface and most of it was about the basic concepts of programming (we started by coding simple algorithms with pseudo code). I may as well be wrong, programming courses vary a lot! So if he's already familiar with stuff like memory management I would never recommend to start learning C# :) It's not a coincidence that Windows has loads of C++ code in it!

I'd also add that since Delphi's syntax is more like VB than C#/C/C++ it might not be too hard for OP to learn..
 
So apparently it's real tough war of languages, a never ending debate (just like Mac vs Windows).

Since I've read a lot about .NET, and C# looks kinda easy to grasp, I'll go with it.

But if someone wants to give more insights, this thread is always open. :)

@Subsonic: Your assumption is quite right. I'm just a beginner with C++. I have done only school-level C++ that covers just the basics of OOPs.
 
Last edited:
i advise vb.net you can code good bots using it and it's easy to learn and you can find
a lot of tutorials and source codes , btw senuke coded by vb and scrapebox/xrumer
coded by Delphi .
 
As OP you stated you completed C++ course, my vouch is for C#, as i did C and C++ too and learnt C# as well at beginner stages, my experience is that there is a little difference in syntax between C# and C++ , so i will say go for C# and vb.net later, once u got good grip in C# then you can dominate very well in making your own logic's for bots....
 
i advise vb.net you can code good bots using it and it's easy to learn and you can find
a lot of tutorials and source codes , btw senuke coded by vb and scrapebox/xrumer
coded by Delphi .

Senuke X was coded in C# and dips into VB.net . The original Senuke was VB6.

Regarding Xrumer/Scrapebox - I think that pretty much sums up my case for using Delphi ! :D

In any case, you can code great/shitty software in any language.
 
Last edited:
Regarding Xrumer/Scrapebox - I think that pretty much sums up my case for using Delphi ! :D

Those are some amazing software that took years to develop and still are updated regularly. I'm not looking at building anything that complicated!

I want to code a simple bot that visits a site and registers there, with multithreading, and support for proxies, and should be able to manage memory efficiently (read work on thousands of URLs).
 
Those are some amazing software that took years to develop and still are updated regularly. I'm not looking at building anything that complicated!

I want to code a simple bot that visits a site and registers there, with multithreading, and support for proxies, and should be able to manage memory efficiently (read work on thousands of URLs).

I understand totally. I am just biased towards Delphi to be honest because it's what I use. ;)

If C# is what you prefer than by all means go for it! You won't find many things that you can do with any of the other mentioned languages that you can't do with C# unless you want to start getting to know the windows api. I'm just not a big fan of .Net myself.

For your purposes though it should work just fine.

BTW, if you like C# then Java might fit you well also and it's also cross platform. The above mentioned book is available for Java also. HTTP Programming Recipes for Java Bots pretty easy to find a download link doing a google search. Only thing I hate about java is swing, not bad using Netbeans though.

Regards..
 
Last edited:
I understand totally. I am just biased towards Delphi to be honest because it's what I use. ;)

If C# is what you prefer than by all means go for it! You won't find many things that you can do with any of the other mentioned languages that you can't do with C# unless you want to start getting to know the windows api. I'm just not a big fan of .Net myself.

For your purposes though it should work just fine.

BTW, if you like C# then Java might fit you well also and it's also cross platform. The above mentioned book is available for Java also. http://www.amazon.com/HTTP-Programming-Recipes-Java-Bots/dp/0977320669 pretty easy to find a download link doing a google search. Only thing I hate about java is swing, not bad using Netbeans though.

Regards..

OMG! Another option!

I think I'll start with C# in a couple of days!

Might take me a few months to build a simple app, but yeah, I'll do that!

Thanks everyone for help.

TM
 
You could also give VB.NET a try, if you want to write apps really fast.

I myself use VB.NET mostly for my IM needs, but I do know several other langs as well(C#, C++, Java, ASM).
 
Does anyone have any good resources for bot programming in delphi?
 
Does anyone have any good resources for bot programming in delphi?

I recommend to learn how to use Indy GET and POST, and how to use regular expressions.

With that and Strings/StringLists you'll can build a small WordPress comment poster for example.

Also multi-threading is important to learn.

Beny
 
I recommend to learn how to use Indy GET and POST, and how to use regular expressions.

With that and Strings/StringLists you'll can build a small WordPress comment poster for example.

Also multi-threading is important to learn.

Beny

I would humbly disagree with using/learning indy. Ipworks is much more efficient and easier to use IMO, you really can't make it any simpler. It's also free in the latest version of Delphi.
 
I would humbly disagree with using/learning indy. Ipworks is much more efficient and easier to use IMO, you really can't make it any simpler. It's also free in the latest version of Delphi.

Never tried IP*Works, so it's time to do ! :)
I didn't know it was free with Delphi XE2.

Beny
 
Go with something that you are comfortable with.

I use VB6. I can still create different bots with it. A lot of things can still be done as long as you do your research well.
 
Code:
class MainClass
{
    static void Main()
    {        
        for(int i=0; i<5; i++) 
        {
            Console.WriteLine("I Suck!");      
        }
    }
}

From above,it looks like C# is much similar to C and C++.

And Matrix says he knows C++.So,I would recommend to go for C# as it will be familiar and and you will be having some prior knowledge.
 
After a bit of research, delphi does appear to be the easier language however it seems to lack the resources, tutorials and free scripts compared to c++ or c#. The fact that c# has tutorials specifically for web bots seems to be the deciding factor for me on which direction to go.
 
Back
Top