Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DHTML Edit Control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
DHTML Edit Control
Miscellaneous
Thread ID:
00471216
Message ID:
00471216
Views:
554
I discovered the DHTML editing control, kinda. I looked at http://msdn.microsoft.com/workshop/author/dhtml/edit/ref/cncpt.asp#Using_the_DHTML_Editing_Control and tried to VFPize some of the sample code. It's not working too well.

I have VFP6/SP4, IE5.5. I created a dummy form and a dummy .html file. Then I dropped the "safe for scripting" control on my form. Then I dropped a command button with this in in the click() event:
ThisForm.DHTMLEdit.LoadURL("d:\wintemp\o.html")     
  && OLE Error Code 0x800c000d: Unknown COM status code
And this:
ThisForm.DHTMLEdit.LoadURL("d:\wintemp\o.html",.t.) 
  && OLE Error Code 0x80002000e: Invalid number of parameters
Help?

Hey waitaminit, why would I want to even use this instead of an edit box? I'm not seeing any new functionality in here...

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform