Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 1st, 2005, 06:55 AM
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with a 'word' application

Hi
Thanks in advance for all the help offered.

I am writing an application that will accept a scrambled couple of letters (max 13) and then bring back all of the possible words that could be constructed.

I have completed the front-end and placed the 'dictionary' into an MS ACCESS database. All fine...

I know that I have to write an algorithm to accomplish the task but I am stuck at double and triple letter combinations. (eg: brionsstsipuc)

Anyone done something like this before? Any help would be appreciated.

Regards

Bruce
 
Old February 18th, 2005, 09:01 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anubhav.kumar
Default

hi Bruce,

Can you elaborate your actual confusion. The example you gave doesn't enlight the point where you stuck

Anubhav Kumar
 
Old February 18th, 2005, 10:14 AM
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Anubhav

Thanks for your response, at this point the program (application) is an idea that I have for a "puzzle solver". I have no code yet and are busy planning the logical flow of the application.

As stated before I have finalized what I wanted the front-end to look like as well as creating a dictionary (database).

I was actually looking for assistance and guidance with the algorithm that need to be created to match possible words to the ones found in the database - and thought that if someone has maybe done something similar then I could always learn from their experience.

Thanks for the offer - I hope that I was more clear in this posting.

Regards

Bruce
 
Old February 19th, 2005, 05:30 PM
Authorized User
 
Join Date: Jul 2004
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to chipset Send a message via MSN to chipset Send a message via Yahoo to chipset
Default

Hi Bruce,
i can't realy write the fullvalgorith for you cause am in the middle of an Exam in school
tell you what! i will give the procedures.

[quote]quote:match possible words to the ones found in the database [/qoute]
- i think this will have to do with a little bit of database programming
- Connection to the database
Code:
Public Rs as New Recordset
Public SQLstm as String
Public sConnection as String

  sConnection = "your Connectionstring to the database"
  SQLstm = "SELECT * FROM [Dictionary]"
  Rs.CursorLocation=2
  Rs.Open SQLstm, sConnection, 2, 3
- for the check routine,

Code:
Private Sub txtEmailAddress_Change()
  Rs.Filter = "[field name] Like '%" & txtEmailAddress & "'"
- for advance result and speed,
- you can have fields list from A - Z
- then check the First letter of the search string
- Locate the right Field with the Letter
- then make your search

i don't really understand this statement
Quote:
I know that I have to write an algorithm to accomplish the task but I am stuck at double and triple letter combinations. (eg: brionsstsipuc)

you can tell me what you think.

Arowolo





Similar Threads
Thread Thread Starter Forum Replies Last Post
open a Ms Word Application from browser Sheikh Abdul Jaweed Beginning VB 6 1 December 15th, 2006 02:19 PM
open Ms Word Application on IE Sheikh Abdul Jaweed Javascript 0 December 11th, 2006 06:39 AM
use CreateObject("word.application") in ASP Andraw Classic ASP Basics 10 January 14th, 2005 08:11 PM
Word application kekohchaa VS.NET 2002/2003 1 July 1st, 2004 07:14 AM
Reading word document from a java application meenu Pro JSP 1 March 22nd, 2004 05:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.