Click to See Complete Forum and Search --> : Buttons on DHTML Application not working
Peter Scholtz
July 29th, 1999, 09:13 AM
I made a VB DHTML Application. It works fine on my development PC (VS6, Win 98, IE5) but on the test PC the buttons don't work. Visually it looks like it clicks but the events aren't fired!
Any ideas?
Lothar Haensler
July 29th, 1999, 10:49 AM
a DHTML app is a COM object (an ActivexDLL).
Thus, you need to create an Internet Package using the PDWizard (in VB6). Did you do that?
and, did you reference your CAB File in the codebase attribute of your object tag?
IE needs the CAB file to download it and install the ActiveXDLL on the client's machine.
Peter Scholtz
July 30th, 1999, 03:07 AM
Yes, I did use the Package & Deployment Wizard with the Internet Package option. It created a index.htm which has the CAB file referenced. The download works when you connect. The DHTML page displays fine but the buttons don't work. They appear to click but the events aren't fired!
I'm guessing there's missing .DLL's ... ?
Rafat
August 11th, 2000, 05:34 PM
I have a question about DHTML and I am having hardtime finding a solution to it. All I am trying is to use DHTML Edit Control to display HTML file on my dialog box this is what I am doing
CDHTMLEdit testDHTML;
DWORD dwStyle = WS_VISIBLE | WS_CHILD;
CRect rect;
GetClientRect(&rect);
testDHTML.Create(NULL, dwStyle,rect, this, IDR_DHTMLSTRING);
COleVariant j = COleVariant("");
COleVariant m = COleVariant("d:\\test4\\Samples.htm");
// testDHTML.SetDocumentHTML("d:\\test4\\Samples.htm");
testDHTML.LoadDocument(m,NULL);
it does not work Can you please help
Thanks
rafat.rob@kla-tencor.com
Jovan
August 30th, 2004, 09:58 AM
a DHTML app is a COM object (an ActivexDLL).
Thus, you need to create an Internet Package using the PDWizard (in VB6). Did you do that?
and, did you reference your CAB File in the codebase attribute of your object tag?
IE needs the CAB file to download it and install the ActiveXDLL on the client's machine.
Hi Lothar,
I don't know much about DHTML developing... what do you mean by "reference your CAB File in the codebase attribute of your object tag"? I have the same problem as Peter Scholtz.
Please help...
Regards,
Jovan
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.