Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i enable the activex control in my IE browser?

Status
Not open for further replies.

sreeky

Programmer
Aug 8, 2001
77
US
how do i enable the activex control in my IE browser?
 
How to enable ActiveX controls in your Internet Explorer Browser.
1. In Internet Explorer, from the Tools menu select Internet Options.

2. Click on the Security tab.

3. Click on Internet or Local intranet, depending on how you access the Internet.

4. Click Custom Level.

5. The first 5 items refer to ActiveX controls. Pick and choose the settings you want.

6. Click OK (NOT Reset).

7. Exit and re-run your browser.

- Omicron -
 
sreeky, are you done or you asked of doing that with javascript? Victor
 
i am trying to spell check my html form.......
this is my code:
<html>
<head>
<SCRIPT LANGUAGE=vbscript>
<!--
'SpellChecker
' PURPOSE: This function accepts Text da
' ta for which spell checking has to be do
' ne.
' Return's Spelling corrected data
'
function SpellChecker(TextValue)

Dim objWordobject
Dim objDocobject
Dim strReturnValue
'Create a new instance of word Application
Set objWordobject = CreateObject(&quot;Word.Application&quot;)
objWordobject.WindowState = 2
objWordobject.Visible = True
'Create a new instance of Document
Set objDocobject = objWordobject.Document.Add( , , 1, True)
objDocobject.Content=TextValue
objDocobject.CheckSpelling
'Return spell check completed text data
strReturnValue = objDocobject.Content
'Close Word Document
objDocobject.Close False
'Set Document To nothing
Set objDocobject = Nothing
'Quit Word
objWordobject.Application.Quit True
'Set word object To nothing
Set objWordobject= Nothing
SpellChecker=strReturnValue
End function
-->
</SCRIPT>
</head>
<body>
<!--Word.Basic
word.Application-->
<FORM name=&quot;frm&quot;><center><TEXTAREA name=x Cols=&quot;80&quot; rows=&quot;10&quot;></TEXTAREA>
<INPUT TYPE=&quot;button&quot; name=&quot;Spell Check&quot; value=&quot;Spell Check&quot; onClick=&quot;frm.x.value=SpellChecker(frm.x.value)&quot;></center>
</form>
</body>
</html>

i am getting an error :
ActiveX compnent can't create object: &quot;word.Application&quot;

how do i make it work??

-sreeky
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top