| | | Forum Newbie
       
Group: Forum Members Last Login: 9/14/2008 6:47:50 PM Posts: 2, Visits: 5 |
| | I am writing a windows application using VB.NET 2005 and I would like to create an API for it, however, I have no clue on where or how to get started. I tried adding a ProgId to my windows form, but when I would try to use CreateObject or GetObject to get a reference to the application, I would receive an error saying "could not create ActiveX object". If anyone has any advice or information to share, I would greatly appreciate it. Thanks! Michael |
| | | | 
Forum God
       
Group: Forum Members Last Login: Today @ 1:10:14 PM Posts: 1,502, Visits: 3,491 |
| Welcome to A1vbcode Michael.  mmathys (7/4/2008) I am writing a windows application using VB.NET 2005 and I would like to create an API for it, however, I have no clue on where or how to get started.Well I very good free program you can download for VB6 is API-Guide as I've said its manly for VB6 but there are a few VB.Net examples. There is also an updated APIViewer. 
Keith http://www.martin2k.co.uk/forums/ I've been programming with VB for 12 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 9/14/2008 6:47:50 PM Posts: 2, Visits: 5 |
| | Thanks for the reply, but I think you misunderstood what I am asking. I am not asking about winAPI, but rather how to create an API for an application I am writing. For example, I would like to have the API be able to raise events in other applications that are integrating with my software when a MDI child window gains or loses focus, or allow an integrating application to detect if my application is even open. |
| | | | 
Forum God
       
Group: Forum Members Last Login: Today @ 1:10:14 PM Posts: 1,502, Visits: 3,491 |
| mmathys (7/23/2008) I am not asking about winAPI, but rather how to create an API for an application I am writing. Well you have to make your own dll then you can have your own API calls to it. I can't recommend any tutorials because I've never made my own dll either. 
Keith http://www.martin2k.co.uk/forums/ I've been programming with VB for 12 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 11/19/2008 10:52:46 PM Posts: 3, Visits: 31 |
| | The forum has an Add Reply box, so I decided to let everyone know, that I have been working on creating an API but I had the .dll file provided for me, by a most kind company, the kind that provide computer stuff. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 10/31/2008 2:28:43 AM Posts: 3, Visits: 3 |
| The forum has an Add Reply box, so I decided to let everyone know, that I have been working on creating an API but I had the .dll file provided for me, by a most kind company, the kind that provide computer stuff.
-------------------------------------------------------------------------
The forum has an Add Reply box, so I decided to let everyone know, that I have been working on creating an API but I had the .dll file provided for me, by a most kind company, the kind that provide computer stuff. |
| |
|
|