Results 1 to 6 of 6

Thread: Word app

  1. #1

    Thread Starter
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Resolved Word app

    Hi all,

    I'm writing a tool for use in Word, but I'm not sure as to whether I'm going about it in the best way. At the moment, I have it written in VBA (with userforms etc) and I run it from a macro. I've assigned the macro to buttons on the toolbar and put it in the Tools menu, then saved it as a template which I'll put in the Startup folder. It works fine. The problem is that I need to set the macro settings to Low to allow it to run, otherwise I need a certificate. I could make my own and then tell the end-users to Trust it, but I'm not sure that's a very professional thing to do if someone has just bought your software. Alternatively, I could buy a certificate from Verisign (I like it - who says you can't buy trust?) but I don't want to. Is there an alternative way of going about this whole thing?

    zaza
    Last edited by zaza; Feb 3rd, 2005 at 07:52 AM.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Word app

    I think you need to make it a Word Add-In and you may be able to get around
    the security level issue. Yes, asking the users to keep the security at Low or
    for them to trust it is not very professional and is exposing them to risk.

    HTH
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Lively Member
    Join Date
    Sep 2004
    Posts
    74

    Re: Word app

    If you are writing for word 97 and older then this is the only way.

    If you are writing for word 2000 and younger then you could consider writing an Office COM add-in, check out the MSDN site for information on this subject.
    You'l either need Visual C++ 6.0, VB.net (nVB6 is not capable (if i'm correct) or an copy of office developer to create an office com add-in.

    With an Com add-in you are not depended on macro's or templates.

  4. #4

    Thread Starter
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Word app

    Cheers,

    Sadly I only have VB.Net Standard, which won't let me make COM add ins.
    Oh well.

    zaza

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Word app

    Oh, if your running .NET 2003 you can always get Visual Studio Tools for Office 2003 (VSTO 2003).
    It is an extension of VS where you get a few more options to create a .NET
    project on, like an Excel or Word dll project. It makes Office automation a
    heck of allot easier and you can take it up a notch with all its new features.
    Definately worth the investment if you are doing enough Office projects.

    I am running it and I think it a valuable VS.NET tool!

    HTH
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

    Thread Starter
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Word app

    Ah, good show.

    Cheers RobDog

    zaza

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width