Solved

VB AddIns File Name

Posted on 2016-09-21
13
27 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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 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

21 Experts available now in Live!

Get 1:1 Help Now