Solved

moving a cab file to a web server

Posted on 2001-09-13
12
227 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 6

Expert Comment

by:Nitin Sontakke
ID: 6479857
Yes, you can. Use FTP for that.
0
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 6

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 6

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB error "Type mismatch" 2 49
Visual Basic Excel Formatting error 4 83
Best way to parse out a json string in VB6? 10 111
Adding to a VBA? 6 61
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now