Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Visual Basic (VB 4/5/6) » API » Creating an API for a windows application


Creating an API for a windows applicationExpand / Collapse
Author
Message
Posted 7/4/2008 12:28:49 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #25340
Posted 7/4/2008 4:51:32 PM


Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum 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.
Post #25341
Posted 7/23/2008 10:57:01 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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. 
Post #25459
Posted 7/24/2008 7:13:22 AM


Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum 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.
Post #25460
Posted 7/26/2008 8:22:00 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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. 
Post #25474
Posted 10/22/2008 5:14:09 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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.
Post #26047
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Brian, Peter

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 7:12pm