Winsock issue

P

Paul

I used a winsock control in my access 2007 application to communicate to a
remote pocket PC. This all works well as long as I'm running on my
development computer. When I transfer to another computer with Access
Runtime, I get the following error on the first line of code that tries to
access the control:

Object doesn't support this property or method

The mswinsck.ocx file is present and resgistered so I am at a lost. Can
someone please help with this issue.
Thanks!
Paul
 
T

Tom van Stiphout

On Fri, 19 Dec 2008 02:29:00 -0800, Paul

Check the version of the ocx.

-Tom.
Microsoft Access MVP
 
P

Paul

Thanks Tom!

The version is 6.0.88.77.
It is the same on both machines, since my install script takes a copy of
mswinsck.ocx from my machine and installs it on the target machine.

Paul
 
M

MikeR

Paul said:
The version is 6.0.88.77.
It is the same on both machines, since my install script takes a copy of
mswinsck.ocx from my machine and installs it on the target machine.

Paul

A missing dependency?

Mike
 
M

MikeR

Paul said:
I am not sure I follow. Do you mean a missing reference?
Thanks,
Paul
I supppose so. I haven't done VB in years, and have lost the terminology. What I mean
is that mswinsck.ocx may call another dll which isn't on your target machine. Here is
a link to a tool which can tell you.

http://www.dependencywalker.com/

Google dependency walker for more info about it. Where did you get the copy you're
installing? I think it's bad practice for instance to take files from your windows
directory and install them on another machine. You might break other stuff on the
target. Can you legally install mswinsck.ocx? You might want to research that.
 
P

Paul

Thank you Mike.
Just so we are clear it is not my intention to illegally distribute any
software. As far as I can tell, if you own legit (and I do) copies of the
development tools, you may distribute this .ocx file. If anyone knows
differently, please let me know.

I will download Dependency Walker and see if it can help with my issue.

Paul
 
M

MikeR

Paul said:
Thank you Mike.
Just so we are clear it is not my intention to illegally distribute any
software. As far as I can tell, if you own legit (and I do) copies of the
development tools, you may distribute this .ocx file. If anyone knows
differently, please let me know.

I will download Dependency Walker and see if it can help with my issue.

Paul
Hi Paul -
I didn't mean to imply you were a desparado - I hang out a lot in one of the
installer newsgroups, and see a lot of traffic where people aren't aware of licensing
issues, especially with MS stuff.
Good luck with DW.

Mike
 

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