Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
VBA in my own Application
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Markus Glatz  
View profile  
 More options Mar 5 1998, 3:00 am
Newsgroups: microsoft.public.vc.mfc
From: Markus Glatz <mgl...@gwdg.de>
Date: 1998/03/05
Subject: VBA in my own Application

Hello !

Ist there a way to use VBA (VisualBasic for Applications) in my own
Application with an extendet commandset definded by myself ?

Thanks for the Help !

Ciao,
        Markus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jakob Praher  
View profile  
 More options Mar 16 1998, 3:00 am
Newsgroups: microsoft.public.vc.mfc
From: "Jakob Praher" <j...@hapra.at>
Date: 1998/03/16
Subject: Re: VBA in my own Application

Sure you can!

but you have to be familiar with COM (Component Object Model)

As you might know COM works with Interfaces and Objects.
An object has at least 1 Interface:
    IUnknown

In order to communicate with VBA you have to make interface of the type:
    IDispatch

It's a quite big issue you have to deal with, because you have to cast a lot
for instance the:
    VARIANT types (which are not very common in C++ but in VBA)

To sum it up for you:
You need to implement an Automation Server with an IDispatch Inteface and do
your methods there, but MFC is very helpful when implementing this
functions, in particular the Control Wizzard.

But best would be, you check out some books about Automation, COM or
ActiveX.

I hope I could help you:
    bye
        Jack

Markus Glatz schrieb in Nachricht <34FEF34A.6...@gwdg.de>...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »