Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

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
0
brucesilver
Asked:
brucesilver
  • 6
  • 4
1 Solution
 
EDDYKTCommented:
I don't have problem to run.

On which line you have problem?
0
 
brucesilverAuthor 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!




0
 
EDDYKTCommented:
What os you are using, VB and SP
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
brucesilverAuthor Commented:
Win XP home SP1
VB 6 SP5
0
 
EDDYKTCommented:
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
0
 
brucesilverAuthor 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
0
 
brucesilverAuthor Commented:
Just found and updated to your version. No change.
0
 
EDDYKTCommented:
No clue here. I cannot reproduce the problem.

I can insert table to the form control
0
 
brucesilverAuthor Commented:
Just upped the ante
0
 
brucesilverAuthor 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!!
0
 
NetminderCommented:
User resolved; closed, 100 points refunded.

Netminder
Site Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now