Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB AddIns File Name

Posted on 2016-09-21
13
Medium Priority
?
42 Views
Last Modified: 2016-10-02
How I find filename of  VBInstance.ActiveCodePane.CodeModule ?
0
Comment
Question by:mancio
  • 7
  • 6
13 Comments
 
LVL 46

Expert Comment

by:aikimark
ID: 41810492
Not sure what you mean.  Please explain in more detail.
0
 
LVL 1

Author Comment

by:mancio
ID: 41810563
I'm developing an Add-Ins, but I do not know the name of the file (.bas, frm ...) containing the active schedule (ActiveCodePane),  only found the project file name
0
 
LVL 46

Expert Comment

by:aikimark
ID: 41810663
add-ins for what Office product?

What is active schedule?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:mancio
ID: 41811066
to VB6
0
 
LVL 46

Expert Comment

by:aikimark
ID: 41811115
to VB6
VB6 is not an Office product
0
 
LVL 1

Author Comment

by:mancio
ID: 41811192
I chose visual basic classic not Office
0
 
LVL 46

Expert Comment

by:aikimark
ID: 41811792
Are you trying writing an Excel add-in using VB6?
0
 
LVL 1

Author Comment

by:mancio
ID: 41812370
No, I am writing a vb6 Add-In
0
 
LVL 46

Expert Comment

by:aikimark
ID: 41812385
Dev studio?
0
 
LVL 46

Expert Comment

by:aikimark
ID: 41812399
It's been a long time since I've seen anyone do something like this.  Start with these articles.
https://support.microsoft.com/en-us/kb/189468
http://www.developer.com/net/vb/article.php/1538841/Creating-a-Visual-Basic-6-Add-In.htm
http://www.freevbcode.com/ShowCode.asp?ID=3302

Best advice: use the add-in wizard.
0
 
LVL 1

Accepted Solution

by:
mancio earned 0 total points
ID: 41812498
Tanks , but this is as initial Add-Ins documentation , not reference to file name of code windows.  I find name in VBInstance,SelectedVBComponent.FileNames(1), but I dont know if this is correct ever.
0
 
LVL 46

Expert Comment

by:aikimark
ID: 41813791
well...you could create a very simple add-in and then see what files are created.
0
 
LVL 1

Author Closing Comment

by:mancio
ID: 41825230
I find this soluction. but I don't know if is correct always
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question