 |
|
 |
I've been looking to the longer period. What I still miss is the HTML validation. I did have a written Extends Methods that done. Otherwise is still much room for expansion. Around but a good thing. Congratulations and thank you.
Best regards Rene http://weblog.drescher-hackel.de
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hello,
Can I insert tables? If yes, how can I do it?
---------------------------------------------- When the sorrow takes me I'm embracing the darkness alone Please - take me home
[Embraced By Darkness - Saturnus]
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
for a list of what you can and cant do go to this link:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WEBDEV.v10.en/dhtml/workshop/author/dhtml/reference/commandids.htm
in local vs2005 documentation. The MSDN one is a broken link so i had to find it in local help.
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
 |
I copied an image from MSWord but it doesn't show. It just display an empty box. Any idea how can I fix this Thanks
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
I copied an image from MSWord but it doesn't show. It just display an empty box. Any idea how can I fix this Thanks
|
| Sign In·View Thread·PermaLink | 2.33/5 (3 votes) |
|
|
|
 |
|
|
 |
|
 |
Hi!, this article is great but i have a big problem, when you reference shdocvw.dll it gets referenced to the version you have on the development machine.
On my machine i have XP with SP2 (shdocvw.dll v7.xx.xx) and i recently installed the aplication on a windows XP without SP2 (shdocvw.dll v6.xx.xx) and when i open the form that has the editor it gives and error and asks for the version 7.xx of shdocvw.dll.
Is there a way to use the version that is available on the machine i make deploy to instead of looking for that specific version?
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
hey i want to develop an html editor in other language then english.can anybody help me how to do this?
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hello, I would like to create a editor that allows you to introduce text with form (black,...) and later use the text for generating a new Document.
How can i create this component? i use WindowsForms fro my GUI application.
|
| Sign In·View Thread·PermaLink | 1.33/5 (3 votes) |
|
|
|
 |
|
 |
Hi,
first thank you for your application.
unfortunatly, it removes all tags before & after <body> tag in the html code...
do u have any solution to get rid of my problem ?
thank you !
Kevin
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
oh sorry i have the solution, if someone is interested with...
u just have to replace :
string str = "<body>" + doc.IHTMLDocument2_body.innerHTML + "</body>";
with
string str = doc.documentElement.outerHTML;
c ya
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi,
In usual editors (like Word or FrontPage, maybe), when the cursor is moved to a piece of text that is bold or underlined, you'd have the corresponding toolbar items checked.
I was wondering how to implement this functionality in this particular editor. I know about the queryCommandState() or Value() or Text() functions, but when do I use it? I can't seem to get events like onselectionchange working properly.
Has anybody tried this before?
Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
hello please explain how to The Microsoft Web Control found in: c:\windows\system32\shdocvw.dll (add as a COM control). MSHTML: c:\windows\system32\MSHTML.tlb (add as a COM reference).
espesially about msgtml because i didn`t get it
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
when i compile the code i get the InvalidCastException error relating to the doc = (MSHTML.HTMLDocumentClass)this.axWebBrowser1.Document; line of your code...
any idea what would cause this problem and how to fix it?
this control looks great and could really help me out if i can get it to work...
thanks,
Pasquale
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
There is a bug that sometimes happnes. The HTML page is not loaded yet, when the form tries to cast the HTMLDocumentClass (while it's still empty). The reaso is that the Borwser Control opens the page in a seperate thread. Change the form_Load of the form to this:
private void Form1_Load(object sender, System.EventArgs e) { object path = Directory.GetCurrentDirectory() + "\\test.htm"; object missing = System.Reflection.Missing.Value; this.axWebBrowser1.Navigate2(ref path, ref missing, ref missing, ref missing, ref missing); int start = Environment.TickCount; while ((axWebBrowser1.ReadyState == SHDocVw.tagREADYSTATE.READYSTATE_LOADING) && (start > Environment.TickCount-5000)) { System.Windows.Forms.Application.DoEvents(); } mshtml.HTMLDocumentClass doc; doc = (mshtml.HTMLDocumentClass)this.axWebBrowser1.Document; doc.designMode = "On"; // This turns the control into an editor }
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I tried your suggestion, the build succeeded, but when it started to run the application in debug mode, it gave me the same error about the InvalidCastException was unhandled.
it gives this information regarding the error:
"Unable to cast COM object of type 'System.__ComObject' to class type 'MSHTML.HTMLDocumentClass'. COM components that enter the CLR and do not support IProvideClassInfo or that do not have any interop assembly registered will be wrapped in the __ComObject type. Instances of this type cannot be cast to any other class; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface."
thanks for all the help. i hope this information helps
Pasquale
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
 |
What Windows version are you using, and what IE is installed? seems like the document is not an HTMLDocumentClass object and I really don't know why.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Windows XP SP2, IE6 SP2 with all the latest security updates...
also .net 2.0 framework. hope this helps..
thanks again.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I figured it out...
if you replace all the MSHTML.HTMLDocumentClass with MSHTML.HTMLDocument it will compile and work fine.
i guess it was a code change between .net 1.1 and 2.0 or something...
not sure on the theory, just now it worked for me.
Thanks for the help.
Pasquale
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
thank you for the post.. I had the same issue with another project and this resolved my issue. I will try to pay it forward. 
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi! I'm an italian guy so sorry for my very poor english... I have a compile error:post-build event failed Could you help me?
Best regards
Pietro
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
1. Right click the project in the solution explorer 2. Display it's properties 3. Click on "Build Events" 4. Delete the Post-Build event command line 5. After compiling, make sure to copy the file test.htm to the Debug folder. This is what the post-build event is trying to do and for somre reason can't do it.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |