| | |
Codes for "Find" and for "Tip of the day"
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2005
Posts: 1
Reputation:
Solved Threads: 0
I write trying to get help from you, I am trying to learn VB6 and I have been working on this project it is running but there are some commands which are not working like - Find I wrote the codes but when I enter the word and click OK I get the message box but I would like the word to be highlighted, so that I could see it.
For the tip of the day Do I have to write the codes? I have written those of Next and Previous but I do not know what I have to do next. I want the computer to select the words randomly, where do I have to put the data for those random words, do I have to use a different Table or I can instruct the computer to pick words form the Table I have for contents, "that is where the main Data is".
Thak you
Sarah
For the tip of the day Do I have to write the codes? I have written those of Next and Previous but I do not know what I have to do next. I want the computer to select the words randomly, where do I have to put the data for those random words, do I have to use a different Table or I can instruct the computer to pick words form the Table I have for contents, "that is where the main Data is".
Thak you
Sarah
Also, For "Random" Tips of the day, the way to go about it is to read in all the tips from the database or file into an array, then run the randomize function between the lowest and highest element of the array. Then display the tip that is inside that element of the array. I would personally just use an increment counter. Save it in a settings file or the registry, and just add 1. So like, if you have 10 tips, start at 1, then next time, show 2, then 3, then 4. That's how I would do it, but it's not very random
![]() |
Similar Threads
- Help with automatic update problem and more (Viruses, Spyware and other Nasties)
- Tip of the Day (VB.NET)
- google "keyword" question (Search Engine Optimization)
- Help for "Dns Error" and "Cannot find server" (Web Browsers)
- Cannot get rid of "Cannot Find Server" message (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Anti-piracy systems.......
- Next Thread: VB6 submit button sends information to BBChat
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






