By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,009 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,009 IT Pros & Developers. It's quick & easy.

create a small artificial intelligent programme using vb06

P: 21
hello,
is any one can tell me how to create a small artificial intelligent programme using vb06. Can i creatre a artificial intelligent programme using vb6. is that vb06 support to creat a artificial intelligent ?
thank u...
Apr 9 '07 #1
Share this Question
Share on Google+
20 Replies


iburyak
Expert 100+
P: 1,017
Any program written in VB or any other language is artificially intelligent.
The simplest one you can get is:

[PHP]Private Sub Form_Load()
MsgBox "Hello World!"
End Sub[/PHP]

Good Luck.
Apr 9 '07 #2

Expert 5K+
P: 8,434
is any one can tell me how to create a small artificial intelligent programme using vb06. Can i creatre a artificial intelligent programme using vb6. is that vb06 support to creat a artificial intelligent ?
I think you need to learn/define what you mean by an AI program, and how they work. You will probably then find that you can do it in VB6, but may not want to.
Apr 9 '07 #3

P: 21
thanks
friend
Apr 9 '07 #4

P: 6
Please learn Object Oriented Programming. Maybe you can try VS .NET or VS. 2005. Coz, VB6 isn't really OOP Based, but COM Based.
Please correct me ...
Apr 16 '07 #5

P: 12
You cannot write AI in Visual Basic.

If you want to start using AI then you should look at programming languages that are specific to AI. One that I used was prolog with a command prompt application. To get the windows version then you will need strawberry prolog. These are declarative languages that are specific to AI.

I hope that helps,

Steve
Apr 16 '07 #6

Expert 5K+
P: 8,434
You cannot write AI in Visual Basic.
That's rather a sweeping generalisation.

Certainly I wouldn't claim that VB is anything like the best language for creating AI, but you probably can write just about anything you can imagine, with enough work. (You could probably do it in Logo if you were really obsessed.)

If you want to start using AI then you should look at programming languages that are specific to AI. ...
Good advice, sirimanna. Although I still say it's possible to do AI in VB, you'd probably have to be crazy to try.
Apr 16 '07 #7

Expert 5K+
P: 8,434
Thanks for passing along that information, Nathiel.

Note that I've removed your e-mail address from the message as per our site guidelines. This is to prevent it from being harvested by scammers and spammers, who regularly scan this sort of forum.

As long as you enable the option (not sure whether it's on or off by default), members here can e-mail you by clicking on your screen name then choosing "Send a message via email to...".

(Oops! I've just checked, and it's not enabled. So you'll need to turn it on if desired.)
Jul 5 '07 #8

Robbie
100+
P: 180
Although I still say it's possible to do AI in VB, you'd probably have to be crazy to try.
...and along I come. =P
I've recently managed to make this, I don't know if you would class it as Artificial Intelligence, but it 'understands' what you say.

i.e. It is able to extract the meaning of what you say in order to set variables, and work with them based on what you tell it, to produce new results in human-understandable form... yep.
- Screenshot -

EDIT: In case someone thinks I've just edited the image, I will provide the source code if they want me to...
Jul 7 '07 #9

Expert 5K+
P: 8,434
Is it just me, or is that link really dead?
Jul 9 '07 #10

Robbie
100+
P: 180
Is it just me, or is that link really dead?
Probably. (My crappy server >_<)

ImageShack to the rescue (if it's even worth it)

- Another attempted link -
Jul 9 '07 #11

Expert 5K+
P: 8,434
Hahaha... my work server blocks that one, as an "entertainment site". Never mind, I'll have a look when I get home.
Jul 10 '07 #12

Expert 5K+
P: 8,434
Finally had a look at the screenshot. Looks like a pretty interesting program.
Jul 10 '07 #13

P: 4
[PHP]Private Sub Form_Load()
MsgBox "Hello World!"
End Sub[/PHP]
This is not an AI - an AI teaches itself.
Oct 10 '07 #14

P: 4
is any one can tell me how to create a small artificial intelligent programme using vb06...
In order to create an AI in Visual Basic you will need to use databases, put pre-programmed phrases and have it save anything else you say to it. It then must have to know how to put what you said into context.
Oct 10 '07 #15

Robbie
100+
P: 180
This is not an AI - an AI teaches itself.
No - not necessarily. Generally that kind of program uses 'neural networks' in order to make a decision, based on 'memories' of results of previous decisions it's made. Therefore it will learn the best decision to make for given circumstances.

I'm not sure that a program has to do this to be classed as AI. AI (I thought, at least) simply refers to acting in a way which is human-like or can be regarded as intelligent. Although of course, simply saying 'Hello, world' is certainly not AI.

In order to create an AI in Visual Basic you will need to use databases, put pre-programmed phrases and have it save anything else you say to it. It then must have to know how to put what you said into context.
Why must you use databases? While complex AI programs will surely want to store data outside themselves to remember info between program runs, you don't have to use databases. You could just use text-files. Simple AI programs may not even need to do this. Your last sentence sums up probably the hardest part of programs which allow a human to type anything - the ability to work out what someone actually means, since people can phrase a sentence in many different ways. But you certainly don't have to use databases to do this. ;)
Dec 24 '07 #16

lotus18
100+
P: 866
Even though this forum is quite like a 'Jurassic era', I just want to give my opinion.
Yes I agree with Robbie, AI doesn't necessarily need a database, a file-based system can be enough. That's all thanks. Merry Christmas to all :)

Rey Sean
Dec 24 '07 #17

Ali Rizwan
100+
P: 927
hello,
is any one can tell me how to create a small artificial intelligent programme using vb06. Can i creatre a artificial intelligent programme using vb6. is that vb06 support to creat a artificial intelligent ?
thank u...
What type of intelligent system do you want?
I have an intelligent system with a database, which organizes the system automatically. Fills the blanks automatically with help of keywords not defined but was undefined.
So do you want like that?
Huh?

Regards
>> ALI <<
Dec 24 '07 #18

P: 4
I'm not sure that a program has to do this to be classed as AI. AI (I thought, at least) simply refers to acting in a way which is human-like or can be regarded as intelligent. Although of course, simply saying 'Hello, world' is certainly not AI.

Maybe what we should start calling all the AI are VI. to me an AI is actually an AI when it learns showing true intelligences.

Why must you use databases? While complex AI programs will surely want to store data outside themselves to remember info between program runs, you don't have to use databases. You could just use text-files. Simple AI programs may not even need to do this. Your last sentence sums up probably the hardest part of programs which allow a human to type anything - the ability to work out what someone actually means, since people can phrase a sentence in many different ways. But you certainly don't have to use databases to do this. ;)[/quote]

If you just use an array to store information then eventually that information will repeat itself. it would be much easier to use a database, to share information between multiple forms. i would know i have used both. i am creating an AI for a computer business i am starting. my first version just used arrays. and eventualy everything got old and was very limited
Jan 16 '08 #19

Expert 5K+
P: 8,434
If you just use an array to store information then eventually that information will repeat itself. it would be much easier to use a database, to share information between multiple forms. i would know i have used both. i am creating an AI for a computer business i am starting. my first version just used arrays. and eventualy everything got old and was very limited
But that's not necessarily the fault of the arrays. It could just be in the way you use them. Surely the same problem could easily arise in a database, which in a sense is an array on disk. The design would be more important than the specific tools used to implement it.

Also, keep in mind that other structures such as Collections or Dictionaries offer different functionality to a plain old array.
Jan 16 '08 #20

P: 4
But that's not necessarily the fault of the arrays. It could just be in the way you use them. Surely the same problem could easily arise in a database, which in a sense is an array on disk. The design would be more important than the specific tools used to implement it.

Also, keep in mind that other structures such as Collections or Dictionaries offer different functionality to a plain old array.
ok, but with my AI i will need multiple pages, so you would need a database to link all the pages somehow and you cant do that with just an array. ya a problem can be in the way that you use the array but is vary limited and harder to store data.
Jan 27 '08 #21

Post your reply

Sign in to post your reply or Sign up for a free account.