Link to home
Start Free TrialLog in
Avatar of a930077
a930077

asked on

Doubt about Active X Publications with VB

I want to public an Activex exe application, i have generated the vbd file, the cab file and the html file:

      project.htm
      project.cab
      project.vbd

I have used the Application Wizard and there aren't error's.
I have  'project compatibility option' in the projct properties.
All my class are publics.

I can see the web  in the web server and since my local PC, but I cannot see the web since another PC.
(The .vbd file isn't visible)

Perhaps... Do I need more cabs file?
Or  I need to generate the lpk file ?

                                                      Thnaks in advance
Avatar of dirtdart
dirtdart

did you use the same code that is provided in project.htm?  If you didn't include the source code, then the control probably isn't installing on other machines because it can't find the code.
Avatar of a930077

ASKER

Maybe I haven't understand your comment,I think that I used the same code, my project.exe is included in the project.cab file and the html file calls the project.vbd .

I think that my problem is in the *.vbd file or perhaps i have an
old Web Server ...

                                         THANKS
My comment, though, is about the html page.  In the html page (project.htm), there is an <object> tag representing your activex control.  In this <object> tag, there is a parameter called CodeBase that will be pointing to a location.  If this location doesn't correspond to the location of your code in relation to the machine you are trying to run it on, then the code will not execute.  For example, if your activex control is stored at http://www.somewhere.com/activex/project.vbd, then your codebase parameter should look like this:
CodeBase = "http://www.somewhere.com/activex/project.vbd"

Avatar of a930077

ASKER

It isn't my problem, the codebase it's correct, moreover it's generated for the Application Wizard.
In my PC i also can see the project.vbd directly like but in anothers PC's I cannot.

                                  Thanks
ASKER CERTIFIED SOLUTION
Avatar of Ivan081397
Ivan081397

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My files are in the Root Publishing Folder.
Perhaps the problem is tha my Web Server isn't the Microsoft Information server, It's EMWAC Http Web Server 0.991.
Anybody Knows if this could be the problem?

                                     
Avatar of a930077

ASKER

My files are in the Root Publishing Folder.
Perhaps the problem is that my Web Server isn't the Microsoft Information server, It's EMWAC Http Web Server 0.991.
Anybody Knows if this could be the problem?

                                     
Avatar of a930077

ASKER

Bought This Question.