Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 5th, 2004, 03:32 PM
Authorized User
Points: 373, Level: 6
Points: 373, Level: 6 Points: 373, Level: 6 Points: 373, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2004
Location: , , .
Posts: 68
Thanks: 1
Thanked 0 Times in 0 Posts
Default Spell checker

Hey guys,

I need to add a spell checker to my content manager.

What do you recommend?

Thanks for your help!

Reply With Quote
  #2 (permalink)  
Old October 11th, 2004, 09:22 AM
Authorized User
 
Join Date: Jul 2004
Location: cleveland, oh, USA.
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I saw someone once use Microsoft Words spell check some how. He added a couple DLL's and the custom.dic to the project. Might search for that. Wish I could be more help.

Reply With Quote
  #3 (permalink)  
Old October 22nd, 2004, 10:49 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Create a button on your form "btnSpell" ... (Titled, "Spell"); specify [event procedure] for event 'On Click'; enter the following VBA code...


Private Sub btnSpell_Click()

    On Error GoTo Err_btnSpell_Click

    Dim ctlSpell As Control

    Set ctlSpell = Screen.PreviousControl
    If TypeOf ctlSpell Is TextBox Then
        If IsNull(Len(ctlSpell)) Or Len(ctlSpell) = 0 Then
            MsgBox "There is nothing to spell check."
            ctlSpell.SetFocus
            Exit Sub
        End If
        With ctlSpell
        .SetFocus
        .SelStart = 0
        .SelLength = Len(ctlSpell)
        End With
        DoCmd.RunCommand acCmdSpelling
    Else
        MsgBox "Spell check is not available for this item."
    End If

    ctlSpell.SetFocus

Exit_btnSpell_Click:
    Exit Sub

Err_btnSpell_Click:
    MsgBox "Error " & Err.Number & ":" & Chr$(13) & Chr$(10) & Err.Description
    Resume Exit_btnSpell_Click

End Sub

Note... to the best of my knowledge... you cannot spell check all fields on a form at once... the above works when a user has his cursor in any one field on a form... it will only spell check that one field...

Reply With Quote
  #4 (permalink)  
Old October 22nd, 2004, 10:53 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry... misread your question... never mind!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
spell checker Star007 Java GUI 0 October 26th, 2004 03:48 PM
Need help with Spell checker in GUI Star007 Java GUI 0 October 26th, 2004 03:46 PM
Spell Checker srotondo Classic ASP Basics 3 October 6th, 2004 08:07 PM
Spell Checker zaeem Classic ASP Basics 3 November 10th, 2003 12:01 PM
Spell Checker Lucy Classic ASP Professional 1 November 3rd, 2003 03:42 PM



All times are GMT -4. The time now is 10:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.