VB AddIns File Name

How I find filename of  VBInstance.ActiveCodePane.CodeModule ?
LVL 1
mancioAsked:
Who is Participating?
 
mancioAuthor Commented:
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
 
aikimarkCommented:
Not sure what you mean.  Please explain in more detail.
0
 
mancioAuthor Commented:
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
aikimarkCommented:
add-ins for what Office product?

What is active schedule?
0
 
mancioAuthor Commented:
to VB6
0
 
aikimarkCommented:
to VB6
VB6 is not an Office product
0
 
mancioAuthor Commented:
I chose visual basic classic not Office
0
 
aikimarkCommented:
Are you trying writing an Excel add-in using VB6?
0
 
mancioAuthor Commented:
No, I am writing a vb6 Add-In
0
 
aikimarkCommented:
Dev studio?
0
 
aikimarkCommented:
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
 
aikimarkCommented:
well...you could create a very simple add-in and then see what files are created.
0
 
mancioAuthor Commented:
I find this soluction. but I don't know if is correct always
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.