CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 1999
    Posts
    6

    Buttons on DHTML Application not working

    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?


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Buttons on DHTML Application not working

    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.


  3. #3
    Join Date
    Jul 1999
    Posts
    6

    Re: Buttons on DHTML Application not working

    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 ... ?


  4. #4
    Join Date
    Jun 2000
    Posts
    2

    How can I make DHTML Edit work in VC++


    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
    [email protected]


  5. #5
    Join Date
    Oct 2002
    Location
    Serbia & Montenegro
    Posts
    64

    Question Re: Buttons on DHTML Application not working

    Quote Originally Posted by Lothar Haensler
    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
    Option Explicit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured