Can't open SWAPI samples
Can't open SWAPI samples
(OP)
I am trying to learn this macro and API stuff by looking at samples, but when I downloaded the sample, I can't open the files. I downloaded a SpotLightonAPI file that contained 6 files:
BeamSectMod.frm
BeamSectMod.vbp
BeamSectMod.vbw
Rectangle.sldprt
SWW02Spotlight on API.ppt
Tee.sldasm
The file contains tips on creating drawings via a macro, so I wanted to look at the code. But, it won't let me (I can open the ppt and SW files, but not the macro files). Do I need to download a VB editor to do this?
Thanks!
Joe
BeamSectMod.frm
BeamSectMod.vbp
BeamSectMod.vbw
Rectangle.sldprt
SWW02Spotlight on API.ppt
Tee.sldasm
The file contains tips on creating drawings via a macro, so I wanted to look at the code. But, it won't let me (I can open the ppt and SW files, but not the macro files). Do I need to download a VB editor to do this?
Thanks!
Joe






RE: Can't open SWAPI samples
Longer answer: Maybe not. I don't know a whole lot about it, but you may be able to view the code by opening the .frm file in a text editor. I think it depends on the version of VB used to create the files.
RE: Can't open SWAPI samples
There may still be hope. You can import the form "BeamSectMod.frm into a new macro and see the form and its related code. It should be as simple as drag-and-dropping the file into the "modules" folder in your VBA macro editor.
RE: Can't open SWAPI samples
Back to the point, I was able to open it in the text editor, thanks! I will start looking through it and maybe just try little segments of it at a time.
Thanks again guys!
Joe