If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > registering from a .cab

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-02, 07:25
fhunth fhunth is offline
Registered User
 
Join Date: Oct 2002
Location: Argentina
Posts: 72
Angry registering from a .cab

Hi:

I am trying to download & create an object on a html file from a cab file.

I tested it changing the CODEBASE parameter so as to get the cab file from my local hard disk and it works ok.
But when i change the CODEBASE so as to get it from a http://....
it can not download&create the object.

Here is the html page.Thanks


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>






<p><object id="InetFtp" name="InetFtp"
classid="clsid:48E59293-9880-11CF-9754-00AA00C00908"
codebase="http://fhunth.tripod.com/msinet.cab" align="baseline" border="0">
If you see this text then your browser is not handling the msinet ActiveX properly.
</object>
</p>

<script language =vbscript>

Dim qSent

InetFtp.URL = "ftp://ftp.tripod.com"

</script>

</body>
</html>
Reply With Quote
  #2 (permalink)  
Old 11-18-02, 00:20
pleavesley pleavesley is offline
Registered User
 
Join Date: Nov 2002
Posts: 1
Re: registering from a .cab

Check your Browser security settings. If you are using IE then changing the codebase from local to "http:// etc" may change it to Internet zone and the permissions for downloading unsigned Active X cabs may be blocked.

Otherwise your code looks OK.


Quote:
Originally posted by fhunth
Hi:

I am trying to download & create an object on a html file from a cab file.

I tested it changing the CODEBASE parameter so as to get the cab file from my local hard disk and it works ok.
But when i change the CODEBASE so as to get it from a http://....
it can not download&create the object.

Here is the html page.Thanks


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>






<p><object id="InetFtp" name="InetFtp"
classid="clsid:48E59293-9880-11CF-9754-00AA00C00908"
codebase="http://fhunth.tripod.com/msinet.cab" align="baseline" border="0">
If you see this text then your browser is not handling the msinet ActiveX properly.
</object>
</p>

<script language =vbscript>

Dim qSent

InetFtp.URL = "ftp://ftp.tripod.com"

</script>

</body>
</html>
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On