472,110 Members | 2,203 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

"You do not have a license to use this ActiveX control"

A friend of mine is having this problem on his machine - it works fine on my
machine. The above message appears when he tries to inset the "Microsoft
Internet Transfer Control" (Inet) into a Windows form. It was enabled in
the "Add item to Toolbox..." in Visual Studio.Net 2003 (tried both VB and
C#).

We tried Regsvr32 msinet.ocx on his machine. Still does not work, although
it registers it. I don't remember if I did that on my machine or not.

Any ideas on how to fix this? Also, on the target machines, will we have to
register the OCX as well? Can that be done in the installation process?

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com
Mar 1 '07 #1
4 5493
On Mar 1, 12:37 am, "Anil Gupte" <anil-l...@icinema.comwrote:
A friend of mine is having this problem on his machine - it works fine on my
machine. The above message appears when he tries to inset the "Microsoft
Internet Transfer Control" (Inet) into a Windows form. It was enabled in
the "Add item to Toolbox..." in Visual Studio.Net 2003 (tried both VB and
C#).

We tried Regsvr32 msinet.ocx on his machine. Still does not work, although
it registers it. I don't remember if I did that on my machine or not.

Any ideas on how to fix this? Also, on the target machines, will we have to
register the OCX as well? Can that be done in the installation process?

Thanx,
--
Anil Guptewww.keeninc.netwww.icinema.com
To my knowledge that component came with Visual Basic 5 or 6,
Professional edition. Does your friend have a valid license for VB 5
or 6 professional? Perhaps that is why he is not allowed to use that
control. I could be wrong however.

As an alternative, you can use the HttpWebRequest and FtpWebRequest
classes found in the System.Net namespace.

Chris

Mar 1 '07 #2
Any ideas on how to use those? I could not find anything seful on the web,
and I tried the help file without much success also. I tried the following
example provided:
Dim myrequest As WebRequest = WebRequest.Create("http://www.icinema.com")

Dim myresponse As WebResponse = myrequest.GetResponse

And I also tried this:

Dim myReq As HttpWebRequest =
CType(WebRequest.Create("http://www.icinema.com/"), HttpWebRequest)

They give me a response, but where is the content of the web page?

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com

"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
On Mar 1, 12:37 am, "Anil Gupte" <anil-l...@icinema.comwrote:
>A friend of mine is having this problem on his machine - it works fine on
my
machine. The above message appears when he tries to inset the "Microsoft
Internet Transfer Control" (Inet) into a Windows form. It was enabled in
the "Add item to Toolbox..." in Visual Studio.Net 2003 (tried both VB and
C#).

We tried Regsvr32 msinet.ocx on his machine. Still does not work,
although
it registers it. I don't remember if I did that on my machine or not.

Any ideas on how to fix this? Also, on the target machines, will we have
to
register the OCX as well? Can that be done in the installation process?

Thanx,
--
Anil Guptewww.keeninc.netwww.icinema.com

To my knowledge that component came with Visual Basic 5 or 6,
Professional edition. Does your friend have a valid license for VB 5
or 6 professional? Perhaps that is why he is not allowed to use that
control. I could be wrong however.

As an alternative, you can use the HttpWebRequest and FtpWebRequest
classes found in the System.Net namespace.

Chris

Mar 2 '07 #3
On 2007-03-01, Anil Gupte <an*******@icinema.comwrote:
A friend of mine is having this problem on his machine - it works fine on my
machine. The above message appears when he tries to inset the "Microsoft
Internet Transfer Control" (Inet) into a Windows form. It was enabled in
the "Add item to Toolbox..." in Visual Studio.Net 2003 (tried both VB and
C#).

We tried Regsvr32 msinet.ocx on his machine. Still does not work, although
it registers it. I don't remember if I did that on my machine or not.

Any ideas on how to fix this? Also, on the target machines, will we have to
register the OCX as well? Can that be done in the installation process?

Thanx,
Hmmm, what functionality is he trying to achieve by using the Inet Transfer
Control? The reason I ask, is that it is very likely that you can achieve the
same thing inside the framework.

--
Tom Shelton
Mar 7 '07 #4
What he is trying to do is to basically "Screen Scrape". In other words,
get a page from a website and then parse it - then put anything relevant
found into a database. I think I have discovered some functions that
substitute for the Inet control. They are WebRequest and WebResponse, and
the most promising candidate is WebClient. I have not checked with him in
the last couple of days, but he was still having trouble figuring out those
functions.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Tom Shelton" <to*********@comcastXXXXXXX.netwrote in message
news:76******************************@comcast.com. ..
On 2007-03-01, Anil Gupte <an*******@icinema.comwrote:
>A friend of mine is having this problem on his machine - it works fine on
my
machine. The above message appears when he tries to inset the "Microsoft
Internet Transfer Control" (Inet) into a Windows form. It was enabled in
the "Add item to Toolbox..." in Visual Studio.Net 2003 (tried both VB and
C#).

We tried Regsvr32 msinet.ocx on his machine. Still does not work,
although
it registers it. I don't remember if I did that on my machine or not.

Any ideas on how to fix this? Also, on the target machines, will we have
to
register the OCX as well? Can that be done in the installation process?

Thanx,

Hmmm, what functionality is he trying to achieve by using the Inet
Transfer
Control? The reason I ask, is that it is very likely that you can achieve
the
same thing inside the framework.

--
Tom Shelton

Mar 7 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by J. Muenchbourg | last post: by
3 posts views Thread by Stefan Slapeta | last post: by
3 posts views Thread by =?Utf-8?B?ZG5vcnJpcw==?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.