brucesilver
asked on
Error in DHTML project: Method 'QueryStatus' of object 'IDHTMLEdit' failed
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
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
ASKER
Insert a table. Click on "Table" menu option. The error occurs in: Sub UpdateMenu at
state = DHTMLEdit1.QueryStatus(com mand)
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!
state = DHTMLEdit1.QueryStatus(com
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!
What os you are using, VB and SP
ASKER
Win XP home SP1
VB 6 SP5
VB 6 SP5
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
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
ASKER
My version is 6.1.0.8243. I will download a more recent version. In the meantime, any input will be appreciated.
Thanks, Bruce
Thanks, Bruce
ASKER
Just found and updated to your version. No change.
No clue here. I cannot reproduce the problem.
I can insert table to the form control
I can insert table to the form control
ASKER
Just upped the ante
ASKER
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!!
Thanks for efforts anyway, EDDYKT!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
On which line you have problem?