Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 9th, 2005, 12:02 AM
haliqa haliqa is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 3 haliqa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 38 m 59 sec
Reputation Power: 0
Exclamation i really need help!!!!please!!!

hello,i'm a practical computer science student...

i've been given an assignment on "a library searching system " which only to find any information that link with the content of magazines that provide by the librarian.

so,i need help on how to do the coding on the searching part.....so that,when a person wants to find an information in a magazines they do not have to read all the magazines till they found what they want....

i really need help...please!!!!

Reply With Quote
  #2  
Old August 9th, 2005, 09:53 AM
Darius Darius is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 108 Darius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 16 m 54 sec
Reputation Power: 5
Not enought info., wich kind of files are you talking about?, are you planning to use a database?

You can search tru the file with utilities like grep or you can use databases with some keywords (words that are important to the document, in sort of way like html does).

check on the net about grep, may be of some help.

You also can load the file in an object and search tru it.

Reply With Quote
  #3  
Old August 9th, 2005, 10:36 PM
haliqa haliqa is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 3 haliqa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 38 m 59 sec
Reputation Power: 0
i'm using database....

how can i use databases with some keywords (words that are important to the document, in sort of way like html does)?

that's why i'm asking for the coding...i just dunno how to use the keyword thing....how the html do that??

Reply With Quote
  #4  
Old August 9th, 2005, 11:05 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 29 m 58 sec
Reputation Power: 181
You might try a look around www.mvps.org

The VB and VBA sections are very helpful
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #5  
Old August 10th, 2005, 12:20 PM
Darius Darius is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 108 Darius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 16 m 54 sec
Reputation Power: 5
Quote:
Originally Posted by haliqa
how can i use databases with some keywords

Sorry more info needed, you are using databases, its OK, how much do you know about reading a database?, do you know SQL?, wich database is used?

In SQL you can obtain the data with a select statment.

Select * from DATABASE_NAME where KEYWORD like '%,cat,%'

Use separator "," to be sure that is not catalog or something else insteed of cat.

but in the VisData from VB6 doesn't work (at least my version), so if doesn't work, you have to come across all records and use an instr function to check is such string is there.

Reply With Quote
  #6  
Old August 12th, 2005, 12:19 AM
haliqa haliqa is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 3 haliqa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 38 m 59 sec
Reputation Power: 0
thanx for the help but i didn't get it!

thanx doug g!!!

and for Darius....

i'm not using the sql...

i'm using microsoft access with the vb....and i'm new with vb...

is that mean that i have to type all the keyword inside the vb coding...?

do you mean i have to put all the dictionary keywords content in the string coding?

my assignment are like this....

i have to do a system at my library which is the system is about a search engine for the magazines ....

let's say...if a student want to find an article about drugs....he/she do not have to go through all the magazines in the library....only to find an article about drugs...

so, he/she just has to type the keyword "drug" in my system search engine....and....then, my system will lead he/she to find the article in certain magazines...

so...he/she not wasting the time ...


Quote:
Originally Posted by Darius
Sorry more info needed, you are using databases, its OK, how much do you know about reading a database?, do you know SQL?, wich database is used?

In SQL you can obtain the data with a select statment.

Select * from DATABASE_NAME where KEYWORD like '%,cat,%'

Use separator "," to be sure that is not catalog or something else insteed of cat.

but in the VisData from VB6 doesn't work (at least my version), so if doesn't work, you have to come across all records and use an instr function to check is such string is there.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > i really need help!!!!please!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT