bobdylan75
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
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
ASKER
JDEttamn thnaks,
but now it says: Entry point not found.??
What?
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?
What does it do?
How did you create it?
Are you sure you have designed it so that it is compatible with Access 2007?
ASKER
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.
Now I made a simple user control, a simple "hello world" user control.
ASKER
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.
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.
ASKER
But my user control doesnt work in any application, all office pack, all vs2005 solution, and regsvr32..
ASKER
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?
so... to make an activex I have to use C++ wizard project.. and not VB.net usercontrol.
Isn't it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be deleted for the following reason:
there isn't any solution to my question. Unfortunatly.
there isn't any solution to my question. Unfortunatly.
Jim (JDettman) has told you that, so you should give him the points.
ASKER
ok ;).
ASKER
thanks!
You may need to register it first with regsrv32:
Regsvr32 <OCX File Name>
Jim.