Solved

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

Posted on 2004-04-12
12
397 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
  • 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

930 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now