Solved

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

Posted on 2004-04-12
12
412 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
0
Comment
Question by:brucesilver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
12 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 10804718
I don't have problem to run.

On which line you have problem?
0
 

Author Comment

by:brucesilver
ID: 10805240
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
 
LVL 26

Expert Comment

by:EDDYKT
ID: 10805245
What os you are using, VB and SP
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:brucesilver
ID: 10805322
Win XP home SP1
VB 6 SP5
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 10805463
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
 

Author Comment

by:brucesilver
ID: 10805571
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
 

Author Comment

by:brucesilver
ID: 10805687
Just found and updated to your version. No change.
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 10805724
No clue here. I cannot reproduce the problem.

I can insert table to the form control
0
 

Author Comment

by:brucesilver
ID: 10805839
Just upped the ante
0
 

Author Comment

by:brucesilver
ID: 10829205
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
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 10830436
User resolved; closed, 100 points refunded.

Netminder
Site Admin
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question