Solved

moving a cab file to a web server

Posted on 2001-09-13
12
232 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
[X]
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
  • 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 9

Expert Comment

by:Nitin Sontakke
ID: 6479857
Yes, you can. Use FTP for that.
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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 9

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 9

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

734 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