Solved

moving a cab file to a web server

Posted on 2001-09-13
12
226 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
Comment Utility
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
Comment Utility
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
Comment Utility
Yes, you can. Use FTP for that.
0
 
LVL 3

Expert Comment

by:peteyhiggins
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:augblay
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Create your package, then run P&DW again and select deplyment on first screen.
0
 
LVL 1

Author Comment

by:augblay
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
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…

763 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

12 Experts available now in Live!

Get 1:1 Help Now