Results 1 to 7 of 7

Thread: Embedding an OCX file into a html page

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 1999
    Posts
    34

    Embedding an OCX file into a html page

    Hi, how do I go about embedding an OCX into a html File.

    thanks in advance

    MICK

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Compile your user control
    Using the Application Setup Wizard do a "Create Internet Download Setup"

    When it is finshed you should have a .CAB file which you can place in the same dir as your web page

    INclude you control like this...
    project1.htm:
    Code:
    <object id="project1" 
    	classid="clsid:DF6EC058-4861-11D5-8214-0060B06B95DB" 
    	width="150" height="100" 
    	CODEBASE="project1.cab">
    </object>
    to find the clsid, open regedit and search for project1.ocx and copy the class id name when it is found
    Mark
    -------------------

  3. #3
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609

    how?

    i dont seem to have the Application Setup Wizard called "Create Internet Download Setup". what can i do?

  4. #4
    scoutt
    Guest
    if I'm not mistaken it is in your package and develope wizard. one of the screens where it asks you if you want a cab or internet setup. I maybe wrong though.

  5. #5
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    oh yeh, i have seen that internet setup thing somewhere, i'll hunt it down and fugure it out, thanx

  6. #6
    scoutt
    Guest
    no problem

  7. #7
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    hehe, found it. t was where u said the second time, thanx

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