|
-
Jan 27th, 2005, 08:22 AM
#1
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.
-
Jan 27th, 2005, 11:03 PM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jan 28th, 2005, 10:46 AM
#3
Lively Member
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.
-
Feb 3rd, 2005, 07:53 AM
#4
Re: Word app
Cheers,
Sadly I only have VB.Net Standard, which won't let me make COM add ins.
Oh well.
zaza
-
Feb 3rd, 2005, 02:42 PM
#5
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Feb 3rd, 2005, 02:57 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|