Link to home
Start Free TrialLog in
Avatar of augblay
augblay

asked on

moving a cab file to a web server

i have created an activex control on my desktop machine and compiled it as a cab for internet distribution.

now i have to place this cab file on the webserver, how do i do that?

Avatar of peteyhiggins
peteyhiggins

Set up an ftp virtual directory from within iis manager that points to the folder the cab file is in.  Then provide a hyperlink to that file from wherever users will go to download the file.
Avatar of augblay

ASKER

can't i just copy that folder unto the server and then point them to that in my web server. my desktop is not always on the network, so your solutions will not work
Avatar of Nitin Sontakke
Yes, you can. Use FTP for that.
You should make sure that the folder you use for ftp is on the webserver, not your local machine.
Avatar of augblay

ASKER

won't the guid generated by the setup program change since i am moving that from one machine to another? if yes, how can i get a new guid for this activex control with just copying the internet package folder to the web server
To upload and/or download files to a web server you can also use HTTP.  There are some free and commercial third party components that do this using ASP.

Anthony
Avatar of augblay

ASKER

i think i am being misunderstood, my problem is not about uploading and downloading, my problem is about migrating an activex control cab file from one machine to another web server. my concern is about the GUID when calling the the control in html from another server.

right now this is how i am calling it on my server.


<OBJECT id=chameleon style="LEFT: 0px; TOP: 0px" codeBase=control.CAB#version=1,0,0,0
     classid=CLSID:561F2239-D54A-451C-A514-3D51ECA1D3BF>
OBJECT>
ASKER CERTIFIED SOLUTION
Avatar of peteyhiggins
peteyhiggins

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
augblay,

To prevent happening this in future do following:

Project | Properties | Component tab, select "Binary compatibility" and in text box tell vb the location of your current compiled version

This prevents generating new GUID between compilations.
Create your package, then run P&DW again and select deplyment on first screen.
Avatar of augblay

ASKER

i did that , although the control works fine on my local machine, it does not show up when i upload it to the server. i am calling the html that was generated by the package and deployment wizard
Have you registered the control on Server?
Do you have an access to server registry?
Can you please search for the GUID in html in registry? You must find it.

Did you unregister the previous control before registering the new one?