Solved

VB AddIns File Name

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

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 45

Expert Comment

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

What is active schedule?
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 1

Author Comment

by:mancio
ID: 41811066
to VB6
0
 
LVL 45

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 45

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 45

Expert Comment

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

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 45

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now