Results 1 to 2 of 2

Thread: can you explain whts the difference

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    8

    can you explain whts the difference

    let me explain clearly.when i openened i have chosen ActiveX Control. i put some controls and put code behind that. I made it project1.ocx.when i ran the program by hitting F5. it turned into web page. is that a component that i can distribute. or is that some thing else.whats difference between the activexDLL and activex controls.
    Thanks in advance bye

  2. #2
    Fanatic Member
    Join Date
    Feb 2003
    Location
    Los Angeles, CA
    Posts
    681
    not the most scientific explanation, but here's a start: activex controls (ocx'es) do have an user interface (somehow like a form), and activex dll's dont.

    activex controls need to be 'seated' on a container, usually a form. the reason why your vb ide launches your control in exploere is because you didnt tell it where you want your object to be used. therefore i would suggest to go file > add project, select a standard exe, add your control to a form of your exe, and then right-click on the new project in the 'project group' window and select it for 'set as startup'. this way you can test both your host app and your object at the same time. good luck.

    r

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