Results 1 to 3 of 3

Thread: Automating a VBP via VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Adelaide, South Australia
    Posts
    8

    Question Automating a VBP via VB

    Dear Brains Inc.

    I am very keen to know if someone knows how to automate VB, just like you use VBA to automate Word Access Excel etc.
    Can you use a VB program to work on another VB program???
    If so how??
    I want to start and get ready for VB Net and have an idea how to accelerate the process, but it hinges on whether I can use VB on a VBP.

    All help gladly accepted

    Cheers
    Michael

  2. #2
    jim mcnamara
    Guest
    I had wondered about this last fall, myself.


    You'd have to learn how the VB vitual machine and the associated COM objects work. For example, every VB app has a hidden window that you cannot access directly. You can see it in spy++. I assume SendMessage works with it.

    I've been able to find only a few straight dll functions associated with VB. Virtually everything is completely undocumented. OLEVIEW and dependency walker are not a whole lot of help.


    As a weak alternative, you can use SendMessage to create and control puppet windows, but this is not really an answer.

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You may also find some useful information searching for tutorials on Visual Basic Add-Ins. When you make addins you can work with parts of the visual basic COM objects and interface which may give you ideas on how to get started. Good Luck.

Posting Permissions

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



Click Here to Expand Forum to Full Width