Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to add a new form that a programmer sent me for a specific UIButtonControl. When I import the form into Visual Basic following the steps they sent me, it imports the form as a module instead of a new form. when I try to use the new UIButtonControl button that I created with the module, it gives me this error: Compile Error. Invalid outside procedure. Both the programmer and myself feel it is because visual basic is bringing the form in as a module instead of a form, can anyone help me fix this please?

share|improve this question
    
are you both developing in VBA? Or has the programmer created the form in VB6 and you are importing it into VBA? In VBA, this should be a straight forward export - import (the form export generated 2 files .frm and .frx) –  Jakub Dec 16 '10 at 13:35
add comment

1 Answer 1

If you are both using VBA you could have the programmer save the form and the code in the document. He could then send you the document complete with the UI button and the form so you could test it on your end.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.