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..
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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>

bobdylan75Author Commented:
JDEttamn thnaks,
but now it says: Entry point not found.??
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?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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.
bobdylan75Author Commented:
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.

bobdylan75Author Commented:
But my user control doesnt work in any application, all office pack, all vs2005 solution, and regsvr32..
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 usercontrol.
Isn't it?
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.


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.
Jim (JDettman) has told you that, so you should give him the points.
bobdylan75Author Commented:
ok ;).
bobdylan75Author Commented:
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.