Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

moving a cab file to a web server

Posted on 2001-09-13
12
230 Views
Last Modified: 2010-05-02
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?

0
Comment
Question by:augblay
  • 4
  • 3
  • 3
  • +2
12 Comments
 
LVL 3

Expert Comment

by:peteyhiggins
ID: 6479817
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.
0
 
LVL 1

Author Comment

by:augblay
ID: 6479834
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
0
 
LVL 7

Expert Comment

by:Nitin Sontakke
ID: 6479857
Yes, you can. Use FTP for that.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 3

Expert Comment

by:peteyhiggins
ID: 6479860
You should make sure that the folder you use for ftp is on the webserver, not your local machine.
0
 
LVL 1

Author Comment

by:augblay
ID: 6479882
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
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6479902
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
0
 
LVL 1

Author Comment

by:augblay
ID: 6479934
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>
0
 
LVL 3

Accepted Solution

by:
peteyhiggins earned 100 total points
ID: 6480041
I believe that the GUID is created when you compile your file.  Each computer that it is used on will access it via the same GUID.  There shouldn't be an issue about it having a different one when it's on different servers.

If I'm wrong about this, then you can just go into the registry on the web server and check what the GUID is for it there.  This will also let you know whether or not this changes between machines.  That fact that it's called a 'Global' Unique IDentifier leads me to think that it won't.
0
 
LVL 7

Expert Comment

by:Nitin Sontakke
ID: 6480074
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.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6480509
Create your package, then run P&DW again and select deplyment on first screen.
0
 
LVL 1

Author Comment

by:augblay
ID: 6511215
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
0
 
LVL 7

Expert Comment

by:Nitin Sontakke
ID: 6511985
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?

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question