Rabu, 21 Januari 2015

RE: [MS_AccessPros] dll in c# for activex control

 

Liz, I think your best bet is to treat it as a late-bound; it will not give you intellisense but since you are the author, you don’t need it. I have done this in the past to get VBS to recognize my Dll’s.

Dim new obj as object , set obj =CreateObject(“MyDLL”); then call obj(”my function”)  or “my method” etc.

 

Hth

Steve Conklin

 

 

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Wednesday, January 21, 2015 6:14 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] dll in c# for activex control

 

 

Pros, I’ve written a dll in c# and now want to use this in my Access database.  This is really new to me, and since I couldn’t set a reference through browse to the dll I added a bit of code to declare the function lib for it.  However, now I understand that to expose the methods I need to use ActiveX and I confess I’m new there too.  When I go to insert the activex control, I’m thinking I’m looking for the project id that was specified in my external code, but it doesn’t show up.  So then I guess I need to figure out how to register this dll or something –and then there is some file called ocx that is an active control but my visual studio compiler didn’t build anything like that, just a dll.

 

Anyone have any help?

 

Respectfully,

Liz Ravenwood

Programmer / Analyst

B/E Aerospace | Super First Class Environments

 

1851 S Pantano Road | Tucson, Arizona 85710

Office +1.520.239.4808 |

beaerospace.com

Passion to Innovate. Power to Deliver

 



This email (and all attachments) is for the sole use of the intended recipient(s) and may contain privileged and/or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

__._,_.___

Posted by: Stephen Conklin <stephenmconklin@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

.

__,_._,___

Tidak ada komentar:

Posting Komentar