Re: Modify Popup menu to change current tool ?



A couple of more comments
1. add-ins do require compilers.
2. vba code can live in stencils, stencils do not have to have shapes associated with them. That means when you want your code you can open your 'custom' stencil with it's embedded vba.
3. yes, documents dervied from templates inherit the code (at least last time I looked).
al

"art" <art@xxxxxxxx> wrote in message news:1190267336.020349.203720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Al,

Thanks for the reply! You have flushed out my problem a little
further. I did not know about addins and that they have persistence. I
am not sure what you mean about a template. Does that mean all
documents derived from a template would inherit the vba code ?

Well, I still do not know what I want or need. If some other addin
language works and does not need a compiler I'd be happy with that. If
it comes to loading a macro vb script each time i open certain files ,
I could live with that but I prefer to make it persistent.

Okay I believe you are probable right about it being doable with the
sdf examples, so that is a big help . It gives me the confidence to
try it. I spend hours making a silly script work that will load in
directory of images and put four images per autocreated page. I am not
a great vba programmer but with examples and a lot of (this is
hopefully where the usenet group maybe helpful) hacking around time
I'll probably arrive at something.

Art

On Sep 19, 3:13 pm, "Al Edlund" <edl...@xxxxxxxxxxxxx> wrote:
well, let's kinda put our arms around what I think I read,

"examples of visio vba code" - infers that you want to write it in vba which
conflicts with "Plus have this functionality automatically start when I run
visio". The reason is that vba runs in a document, so you would have open
the same document template everytime. To reach the objective of "opens when
visio starts" would suggest you should investigate writing it as as an
addin.

The desire to create custom menus is doable with examples in the visio sdk.

al

"art" <a...@xxxxxxxx> wrote in message

news:1190219854.484048.32570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



> Hi,
> I am hoping to not have to spend hours perusing examples of visio vba
> code , google posts and documentation to achieve something that should
> be trivial. I'll probably end up wasting a day on this, so thanks in
> advance for any help.

> I use a tablet pc with visio and think that visio is a fantastic if
> not the best tablet pc piece of software. I would like however the
> right mouse popup menu in the document window to have some of the
> toolbar tools available for selection. I'd like to be able to right
> mouse and change between an standard ink pen , 2 out of 3 selectors ,
> and the pen eraser tools. Plus have this functionality automatically
> start when I run visio. I know it is possible and since I am not an
> expert I am hoping someone can point me in the right direction at
> least.

> cheers,
> art- Hide quoted text -

- Show quoted text -



.



Relevant Pages

  • Re: How to constrain the drawing of edges
    ... You will need to use VBA to determine if the connection is allowed. ... Need stencils or ideas? ... Common Visio Questions http://www.mvps.org/visio/common_questions.htm ...
    (microsoft.public.visio.developer)
  • Re: Class Inherits
    ... Need stencils or ideas? ... Need VBA examples? ... Visio Wishlist http://visio.mvps.org/wish_list.htm ... This posting is provided "AS IS" with no warranties, and confers no ...
    (microsoft.public.visio.developer.vba)
  • Re: Run-Time Error 438 Problem
    ... following VBA error is ... >this is the first form where VBA code is encountered and ... > Microsoft Access 10.0 Object Library ... > Microsoft Visual Basic for Applications Extensibility ...
    (microsoft.public.office.developer.vba)
  • Re: VBA -vs- VB
    ... I found it in the order of 50% to 100% increase, depending of course what the VBA code is. ... You should be comparing Excel to standalone VB. ... Excel can do calculation far faster than VBA. ...
    (microsoft.public.excel.programming)
  • RE: adding record via form
    ... I would stay away from using VBA, since you can just bind your form directly ... Make three text boxes called Hire_Date, SSN, & Salary. ... automatically saved to table A. And all that with only one line of VBA code! ...
    (microsoft.public.access.forms)

Loading