ActiveX-component msinet.ocx

R

ReidarT

I use msinet.ocx to transfer a file from a local machine to the internet.

On my machine it works OK, but when I try to copy files to another machine,
it does not work.The message is
Run time 429, ActiveXcomponent can't vreate object.
Set ftp = New inet

The msinet.ocx is the same version as on my machine, it is registrered with
regsvr32 msinet.ocx, and registrered sucessfully

regards
reidarT
 
P

Paul Overway

I don't think that your syntax for use of the ocx is correct, but my first
question would be whether or not what you're doing is ethical. I'd be very
suspicious of any software that attempted to transfer files from my PC. Yet
another would be whether any firewall on the target system would prevent
what you are doing anyway.

The normal use of this control would be to place it on a form, and then set
the appropriate control properties for what you are attempting to do, i.e.,
me.Inet1.AccessType = 1, me.Inet1.Document = "some file", etc.....the
Inet1.Execute

Does the same code work on your PC?
 
R

ReidarT

There is nothing suspicious and illegal about this.
I transfer a local access-database from a local machine to the webserver to
show objects on the web.
What I need an answer about is why it works on my stationary and notebook,
but not on my collegue's computer?
We have as far as I know the same settings, but something must be different.
regards
reidarT
 
P

Paul Overway

As I suggested previously, I'd question whether you have different firewall
settings. You should also make sure that the reference is not missing (see
Tools|References).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top