Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links



How to create a Smart Tag DLL in Visual Basic?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-02-2010
warehouse peon's Avatar
Member
 
Join Date: Aug 2006
Posts: 111
How to create a Smart Tag DLL in Visual Basic?

Hello friends,
I have done many programs in Visual Basic. But still i am getting problem while creating the DLL in Visual Basic. Last time you all guys helped me a lot, so I thought that this time also you can help me.!! Now I am stuck while making the Smart Tag DLL. I want to create this so that I can use it in Office XP. Please tell me how to create a Smart Tag DLL in Visual Basic? Thanks in Advance.!!
__________________
|===================|
|YAY if that made sense...|
|===================|
Reply With Quote
  #2  
Old 27-02-2010
Warner's Avatar
Member
 
Join Date: Mar 2008
Posts: 349
Re: How to create a Smart Tag DLL in Visual Basic?

Every text-based communication contains letters, numbers, and symbols, but the real power of communication comes within its context. Smart Tags are a technology introduced with Office XP that provide Office users more interactivity with the content of their Office documents. The new smart tags feature in Microsoft Office XP is a powerful tool for adding this context to your Office documents, or build new contexts of your own. A Smart Tag is an element of text in an Office document that is recognized as having custom actions associated with it.
Reply With Quote
  #3  
Old 27-02-2010
MindSpace's Avatar
Member
 
Join Date: Feb 2008
Posts: 1,832
Re: How to create a Smart Tag DLL in Visual Basic?

You can extend the capabilities of Office XP by developing your own Smart Tag Recognizer/Action dynamic-link library (DLL) for use in Office documents. You can create a smart tag recognizer by using Extensible Markup Language (XML) in association with the smart tag XML list schema, or by using Hypertext Markup Language (HTML) inside a Web page. But according to me these solutions aren't very extensible. Excel 2002 and Word 2002 are the only Office XP applications that support Smart Tags. However, you can apply the information that is presented in this article to Smart Tag development for any application that adopts the Smart Tag technology.
Reply With Quote
  #4  
Old 27-02-2010
opaper's Avatar
Member
 
Join Date: May 2008
Posts: 2,362
Re: How to create a Smart Tag DLL in Visual Basic?

If you want to automate programmatic access to smart tags, your best choice is to create a dynamic-link library (DLL). A Smart Tag DLL is a standard Component Object Model (COM) DLL that implements two special interfaces: ISmartTagRecognizer and ISmartTagAction. To develop a smart tag DLL, in addition to Office XP, you will need a Component Object Model (COM) development system such as Microsoft Visual Basic 6.0 Professional Edition or later because the Microsoft Visual Basic for Applications development environment in Office does not provide the ability to create DLLs. To create smart tags, Office XP provides the Microsoft Smart Tags 1.0 type library, which consists of a collection of properties and methods grouped into interfaces.
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #5  
Old 27-02-2010
Reegan's Avatar
Member
 
Join Date: Oct 2005
Posts: 2,299
Re: How to create a Smart Tag DLL in Visual Basic?

As mentioned earlier, two main interfaces in the Microsoft Smart Tags 1.0 type library are the ISmartTagRecognizer interface, which recognizes character strings as smart-tag actionable by marking recognized strings with a dotted purple underline and displaying the Smart Tag Actions button, and the ISmartTagAction interface, which both provides a list of actions when the Smart Tag Actions button is clicked and carries out the selected action from the list. Once you develop your first smart tag DLL, then you will have to create a DLL project. You will have to use Visual Basic 6.0 for creating this DLL.
Reply With Quote
  #6  
Old 27-02-2010
kyosang's Avatar
Member
 
Join Date: Jul 2006
Posts: 364
Re: How to create a Smart Tag DLL in Visual Basic?

To create and set up the DLL project, you should follow the steps given below :
  1. Double-click on ActiveX DLL, presented in the New Project dialog box.
  2. Then click Project1 Properties on the Project menu.
  3. In the Project Name box, type MicrosoftWebSite. Then click OK.
  4. In the Properties window, in the (Name) box, type over Class1 and change it to SmartTagRecognizer.
  5. Then click References, which will be in the Project menu.
  6. Then select Microsoft Smart Tags 1.0 Type Library, and then click OK.
  7. In the Properties window, in the (Name) box, type over Class1 and change it to SmartTagAction.
  8. On the Project menu, click MicrosoftWebSite Properties. On the Component tab, click Project Compatibility. Then click OK.
__________________
"When they give you ruled paper, write the other way..." J.R.J.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to create a Smart Tag DLL in Visual Basic?"
Thread Thread Starter Forum Replies Last Post
How to create installation package of application in visual basic 6.0 Badrinath18 Software Development 5 02-07-2011 08:28 PM
How to create Windows DLL with Visual Basic? Flaco Software Development 4 27-02-2010 04:39 AM
How to Create ActiveX Controls in Visual Basic 6 geokilla Software Development 3 30-09-2009 04:36 PM
Create ActiveX dll with Visual Basic B_Hodge Software Development 2 08-05-2009 11:28 PM
How to create an .exe file in visual basic kasha_i Software Development 3 22-04-2009 12:53 AM


All times are GMT +5.5. The time now is 03:54 AM.