Solved

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

Posted on 2004-04-12
12
404 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vb6 programatically bring window to front 8 70
Paint/Redraw window while dragging 16 76
Windows 10 start screen issues 9 54
Determine Range to Select 5 48
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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…

776 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