Link to home
Start Free TrialLog in
Avatar of bobdylan75
bobdylan75Flag for Afghanistan

asked on

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
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

<<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.
Avatar of bobdylan75

ASKER

JDEttamn thnaks,
but now it says: Entry point not found.??
What?
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?
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.
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.
But my user control doesnt work in any application, all office pack, all vs2005 solution, and regsvr32..
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?
ASKER CERTIFIED SOLUTION
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
ok ;).
thanks!