+ Reply to Thread
Results 1 to 6 of 6

VB class/object library

  1. #1
    Registered User
    Join Date
    06-07-2010
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2010
    Posts
    44

    VB class/object library

    I know this is an excel programmers form, but I've been helped here by others who are obviously very keen and experienced programmers who I'm sure could help me with this problem too.

    I'm looking to start to branch out my Visual Basic from VBA to using Visual Studio. Can anyone tell me where I would find the equivelint of this Excel VBA reference for all the classes/objects that you can play with in Visual Basic?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: VB class/object library

    Maybe this will get you started.
    http://msdn.microsoft.com/en-us/library/d2tx7z6d.aspx

    Not sure if what you want is how to program office from VS or the actual objects of VS you can program, which is more like program the VBE from VBA.

    If you just want the reference object for VS
    http://msdn.microsoft.com/en-us/library/sh9ywfdk.aspx
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-07-2010
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: VB class/object library

    In that reference library that I linked to it has a list of all the objects that are built into the language and the methods, properties and events, (if any) for all the objects available in VBA for Excel. I know it's probably not completely complete, but it's as good as.

    I'm trying to get a hold of the same sort of set up for the Visual Basic language. I've found this reference library for the Objective-C language. Something pretty much identical for this for VB is what I'm really after.

    So for example, to get a message box up in VB you instantiate a MessageBox class and play with the MessageBox object (I think).

    That's the only class/object I know from VB though, which you can't really do much with! Which is why I'm keen to get a complete list of all the build in objects/classes.

    Also, on a side note, if you know of the same thing for C/C++ then that would be amazing too!
    Last edited by hojkoff; 11-13-2011 at 09:03 AM.

  4. #4
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: VB class/object library

    In Visual Studio you can explore the object browser by pressing CTRL + W, J

    On MSDN, if I wanted to look at the System.Windows.Forms.Messagebox() class on the .Net 4.0 framework then I would start here and drill down to here.
    Hope that helps,

    Colin

    RAD Excel Blog

  5. #5
    Registered User
    Join Date
    06-07-2010
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: VB class/object library

    Thanks Colin,

    From what you've linked too, it looks like unlike VBA for Excel, the full Visual Basic language is A LOT more objects to use.

  6. #6
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: VB class/object library

    There should be plenty in there to keep you busy.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1