Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-04-12
12
Medium Priority
?
436 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…
Suggested Courses

610 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