Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

VB help

Name: ZeroKun 2005-01-19 18:18

Well, again I have a class with VB, this time it is GUI and applications. Our main project involves a dummy company that sells a database program. Basically I need help with making a text box search a database.

Name: Anonymous 2005-01-20 10:40 (sage)

Buy a computer, they have text boxes and databases.

Name: ZeroKun 2005-01-20 13:02

Thanks alot for your nonconstructive comment. Why even bother posting crap like this?

Name: Anonymous 2005-01-20 17:26 (sage)

We won't do your homework for you.

Name: Anonymous 2005-01-20 18:00 (sage)

Not to mention that's a very vague question...

Name: Anonymous 2005-01-20 21:16

Microsoft Access - use VBA and/or SQL to do all the searching for you :)

Name: Anonymous 2005-01-21 9:24 (sage)

Access... ugh...

Name: Arche 2005-01-25 18:48

Well, is this assuming you're loading the database as like... a static text file or something, or an actual database file?

Name: Christy McJesus !DcbLlAZi7U 2005-02-23 10:45

First I'll give a vaguely helpful answer, then I'll flame you.

Am I correct in assuming you are implementing a GUI front end for a DBMS?
The user inputs SQL into a text box?
All you need to do is glue a couple of libraries together.
Look in the VB API. Find how to generate a text box and how to read its contents.
Find how to connect to a database, send SQL queries and read the answer.
Display result to screen. Should take less than 50 lines.

Now the flame: not directed at you so much as your educators. Who the absolute FUDGE teaches VB? If you want to teach people programming that is the last language on earth you should be using. I can understand someone trying it out as a kid, but to actually inflict it upon students who want to learn how to program? That's all kinds of wrong.

Name: deitarion 2005-02-23 20:09

I have to agree with the idiocy of teaching VB but my old high school does and so does my close friend's high school. (He's in Gr. 12 now)

My School:
Grade 10: VB (I was the last person to get the QBasic Course)
Grade 11: C++
Grade 12: Java

My Friend's School:
Grade 10: Turing
Grade 11: VB
Grade 12: C++

At least I managed to learn more from the C++ course than anyone else.

Name: Christy McJesus !DcbLlAZi7U 2005-02-24 8:37

C++ before Java? That's pretty backwards.

Java makes a good first language because it doesn't have to deal with trying to be backwards compatible with C. Once you've learned Java, learning C++ is just a case of making a couple of minor adjustments to the syntax and learning how to get along with Java's API.

Name: Anonymous 2005-02-27 0:01

I was more focused on Fortran, pot, and Quake in HS.

Name: Anonymous 2005-02-28 21:30 (sage)

Java is not a good first language. Don't kid yourself, it's an ugly mess and not for beginners.

Name: Anonymous 2005-03-01 0:48

Pascal is the best language for beginners.

Name: Anonymous 2005-03-01 10:23

PHP would be kind of good too; you can focus on the paradigm without worrying too much for data types yet.

But yeah, any OO for a first language is a bad choice, and Java of all OO languages is a bad choice itself.

Name: Anonymous 2005-03-01 13:41

easy. DoCmd.RunSql will do the trick for you.

Name: Christy McJesus !DcbLlAZi7U 2005-03-08 13:51

Jesus recommends: Lisp.

Name: Anonymous 2007-10-15 7:49

A blast from the past, bitches.

Name: Anonymous 2007-10-15 21:31

>>1
go into /system32 an delete a;ll dfkiles

Name: Anonymous 2007-10-15 23:13

>>19
so are your finger too big for the keyboard, your stoned off your ass, or can you just not type?

Name: Anonymous 2007-10-16 6:51

>>20
all symptoms of an hero

Name: Anonymous 2007-10-16 6:56

>>13
Makes a half-decent second language though.

Name: Anonymous 2007-10-16 7:20

In college, I had to do the exact same project as you. Same language, same premise: Making an Access DB app in Visual Basic 6 for a made-up client.

I dropped out. I suggest you do the same

Name: ZeroKun 2007-10-16 7:34

>>1

Disregard that. I suck cocks.

Name: Anonymous 2007-10-16 9:59

http://www.profsr.com/vb/vbintro.htm

Have a look on that web site, lesson 9 covers a VB Database application.

Name: ZeroKun 2007-10-16 10:01

Nevermind guys, I failed because I couldn't figure out VB's extreme complexity.

Name: Anonymous 2007-10-16 10:02

>>22
Hahaha no.

Name: Anonymous 2007-10-16 10:02

>>25
Timestamps.

Can you read them? I highly doubt the OP is still taking that class.

Name: Anonymous 2010-04-01 18:42

foo

Name: Anonymous 2010-12-06 10:00

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2012-06-11 23:26

VB is shit.

Name: THREAD OVER 2012-06-12 4:28

AND THAT'S A WRAP!

Name: Anonymous 2013-04-20 17:53

check em

Name: Anonymous 2013-04-20 23:28



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Don't change these.
Name: Email:
Entire Thread Thread List