user control vs2005 in access2007?

I'm developing a user control in vs2005.
Bu now, what I have to do in orer to use this 'user control' in access2007?
I don't see my control in activex..
thanks
bobdylan75Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
<<Bu now, what I have to do in orer to use this 'user control' in access2007?>>

You may need to register it first with regsrv32:

Regsvr32 <OCX File Name>

Jim.
0
bobdylan75Author Commented:
JDEttamn thnaks,
but now it says: Entry point not found.??
What?
0
Jeffrey CoachmanMIS LiasonCommented:
Then perhaps you should give us more info on this "User Control" you are creating...
What does it do?
How did you create it?

Are you sure you have designed it so that it is compatible with Access 2007?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

bobdylan75Author Commented:
I used visual studio 2005, Autocreate solution, (controls library solution), in VB.NET.
Now I made a simple user control, a simple "hello world" user control.
0
bobdylan75Author Commented:
0
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
Something is wrong with the control then.  When you use regsrv32, DllRegisterServer is called.  If it can't find it in the control, then that's the error message you get.

  Beyond that, I'm out of my depth here as I've never done a Active-x control or COM programming.

  One thing I should mention which Boag2000 alluded to is that in regards to com and active-x, Access is a strange animal in that it doesn't have full support for the IDIspatch interface, which makes many 3rd party controls incompatible with Access.

  That doesn't have anything to do with your present problem however as you haven't even gotten that far yet, but it's something your going to bump into.

Jim.
0
bobdylan75Author Commented:
But my user control doesnt work in any application, all office pack, all vs2005 solution, and regsvr32..
0
bobdylan75Author Commented:
perhaps I undestood thata user control is not an Activex...
so... to make an activex I have to use C++ wizard project.. and not VB.net usercontrol.
Isn't it?
0
Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
<<Isn't it?>>

  Yes.  I just looked and a usercontrol in VB.Net is based on the .Net framework, so there is no way it's going to work in Access.

  To use a control in Access, it must be an Active-X/COM based control.

Jim.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bobdylan75Author Commented:
I've requested that this question be deleted for the following reason:

there isn't any solution to my question. Unfortunatly.
0
peter57rCommented:
Jim (JDettman) has told you that, so you should give him the points.
0
bobdylan75Author Commented:
ok ;).
0
bobdylan75Author Commented:
thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.