Solved

VB AddIns File Name

Posted on 2016-09-21
13
31 Views
Last Modified: 2016-10-02
How I find filename of  VBInstance.ActiveCodePane.CodeModule ?
0
Comment
Question by:mancio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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 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

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!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 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