We help IT Professionals succeed at work.

Error in DHTML project: Method 'QueryStatus' of object 'IDHTMLEdit' failed

brucesilver
brucesilver asked
on
519 Views
Last Modified: 2007-12-19
I don't know much about the DOM and that side of things, and I can't seem to figure out why the Microsoft vbedit DHTML project refuses to give a context menu for selected tables, and produces the error:

Method 'QueryStatus' of object 'IDHTMLEdit' failed

whenever a table is selected and the "Table" menu is selected.

The project can be found at http://www.mentalis.org/vbexamples/vbexample.php?vbexample=VBEDIT&category=SOURCE

Thanks, Bruce
Comment
Watch Question

Commented:
I don't have problem to run.

On which line you have problem?

Author

Commented:
Insert a table. Click on "Table" menu option. The error occurs in: Sub UpdateMenu at

state = DHTMLEdit1.QueryStatus(command)

err returns: Method 'QueryStatus' of object 'IDHTMLEdit' failed

Also, no specific context menu for table row insertion, delete, etc.

If this error is not reproducible on your machine, any idea on what must be lacking on mine to produce this error would be much appreciated!




Commented:
What os you are using, VB and SP

Author

Commented:
Win XP home SP1
VB 6 SP5

Commented:
I use XP prof SP1
VB 6 SP5


What's the version of your DHTMLED.OCX

Mine is 6.1.0.9211
on
C:\Program Files\Common Files\Microsoft Shared\Triedit\DHTMLED.OCX

Author

Commented:
My version is 6.1.0.8243. I will download a more recent version. In the meantime, any input will be appreciated.

Thanks, Bruce

Author

Commented:
Just found and updated to your version. No change.

Commented:
No clue here. I cannot reproduce the problem.

I can insert table to the form control

Author

Commented:
Just upped the ante

Author

Commented:
I have answered this question myself. Found out that there were several patches (Hotfixes) I installed for IE 6 that were causing this problem. I re-downloaded IE 6 and re-installed. The problem went away.

Thanks for efforts anyway, EDDYKT!!
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.