![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Outlook 2007 - Our document management system has an Outlook exchange client
extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. |
Ads |
#2
|
|||
|
|||
![]()
Any mechanism to invoke the .dll programmatically would have to be exposed
by the original programmer of that .dll. In other words, it's not something we can help you with. You'll need to ask the creator of the document management system. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hlock" wrote in message news ![]() Outlook 2007 - Our document management system has an Outlook exchange client extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. |
#3
|
|||
|
|||
![]()
Oh boy - it seemed too easy. All we wanted to do was "click" on the toolbar
button through visual basic rather than actually clicking on it with the mouse. "Sue Mosher [MVP]" wrote: Any mechanism to invoke the .dll programmatically would have to be exposed by the original programmer of that .dll. In other words, it's not something we can help you with. You'll need to ask the creator of the document management system. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hlock" wrote in message news ![]() Outlook 2007 - Our document management system has an Outlook exchange client extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. . |
#4
|
|||
|
|||
![]()
Clicking on the button might be possible, but that's not the way I read your
request. If that's all you want to do, tell us the name of the toolbar and the caption the button uses, including any accelerator keys. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hlock" wrote in message ... Oh boy - it seemed too easy. All we wanted to do was "click" on the toolbar button through visual basic rather than actually clicking on it with the mouse. "Sue Mosher [MVP]" wrote: Any mechanism to invoke the .dll programmatically would have to be exposed by the original programmer of that .dll. In other words, it's not something we can help you with. You'll need to ask the creator of the document management system. "hlock" wrote in message news ![]() Outlook 2007 - Our document management system has an Outlook exchange client extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. |
#5
|
|||
|
|||
![]()
We'll take what we can get. The addin is being very difficult. The button
is on the Standard Toolbar and is captioned "Save to Vignette IDM". The addin is also under the File menu captioned "Save to Vignette IDM". No other key strokes. Other info - the registry key has a value name of TOWER E-MAIL CAPTURE and a value data of 4.0;C:\Program Files\Tower\ttoutext.dll;1;01000010000000;11000001 00. Is there anything else you need? "Sue Mosher [MVP]" wrote: Clicking on the button might be possible, but that's not the way I read your request. If that's all you want to do, tell us the name of the toolbar and the caption the button uses, including any accelerator keys. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hlock" wrote in message ... Oh boy - it seemed too easy. All we wanted to do was "click" on the toolbar button through visual basic rather than actually clicking on it with the mouse. "Sue Mosher [MVP]" wrote: Any mechanism to invoke the .dll programmatically would have to be exposed by the original programmer of that .dll. In other words, it's not something we can help you with. You'll need to ask the creator of the document management system. "hlock" wrote in message news ![]() client extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. . |
#6
|
|||
|
|||
![]()
This VBA macro should execute that button on the Standard toolbar in an
Explorer window: Sub RunIt() Dim cb As Office.CommandBar Dim cbb As Office.CommandBarButton Dim ctrl As Office.CommandBarControl Dim exp As Outlook.Explorer Set exp = Application.ActiveExplorer Set cb = exp.CommandBars("Standard") For Each ctrl In cb.Controls If ctrl.Caption = "Save to Vignette IDM" Then Set cbb = ctrl cbb.Execute Exit For End If Next Set cb = Nothing Set cbb = Nothing Set ctrl = Nothing Set exp = Nothing End Sub -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hlock" wrote in message ... We'll take what we can get. The addin is being very difficult. The button is on the Standard Toolbar and is captioned "Save to Vignette IDM". The addin is also under the File menu captioned "Save to Vignette IDM". No other key strokes. Other info - the registry key has a value name of TOWER CAPTURE and a value data of 4.0;C:\Program Files\Tower\ttoutext.dll;1;01000010000000;11000001 00. Is there anything else you need? "Sue Mosher [MVP]" wrote: Clicking on the button might be possible, but that's not the way I read your request. If that's all you want to do, tell us the name of the toolbar and the caption the button uses, including any accelerator keys. "hlock" wrote in message ... Oh boy - it seemed too easy. All we wanted to do was "click" on the toolbar button through visual basic rather than actually clicking on it with the mouse. "Sue Mosher [MVP]" wrote: Any mechanism to invoke the .dll programmatically would have to be exposed by the original programmer of that .dll. In other words, it's not something we can help you with. You'll need to ask the creator of the document management system. "hlock" wrote in message news ![]() exchange client extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. |
#7
|
|||
|
|||
![]()
Works like a charm! Now how would I do this if the email was open. The same
"Save to Vignette IDM" is located on the Ribbon on the Add-Ins tab in the Toolbar Commands group. Thank you so much. "Sue Mosher [MVP]" wrote: This VBA macro should execute that button on the Standard toolbar in an Explorer window: Sub RunIt() Dim cb As Office.CommandBar Dim cbb As Office.CommandBarButton Dim ctrl As Office.CommandBarControl Dim exp As Outlook.Explorer Set exp = Application.ActiveExplorer Set cb = exp.CommandBars("Standard") For Each ctrl In cb.Controls If ctrl.Caption = "Save to Vignette IDM" Then Set cbb = ctrl cbb.Execute Exit For End If Next Set cb = Nothing Set cbb = Nothing Set ctrl = Nothing Set exp = Nothing End Sub -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hlock" wrote in message ... We'll take what we can get. The addin is being very difficult. The button is on the Standard Toolbar and is captioned "Save to Vignette IDM". The addin is also under the File menu captioned "Save to Vignette IDM". No other key strokes. Other info - the registry key has a value name of TOWER CAPTURE and a value data of 4.0;C:\Program Files\Tower\ttoutext.dll;1;01000010000000;11000001 00. Is there anything else you need? "Sue Mosher [MVP]" wrote: Clicking on the button might be possible, but that's not the way I read your request. If that's all you want to do, tell us the name of the toolbar and the caption the button uses, including any accelerator keys. "hlock" wrote in message ... Oh boy - it seemed too easy. All we wanted to do was "click" on the toolbar button through visual basic rather than actually clicking on it with the mouse. "Sue Mosher [MVP]" wrote: Any mechanism to invoke the .dll programmatically would have to be exposed by the original programmer of that .dll. In other words, it's not something we can help you with. You'll need to ask the creator of the document management system. "hlock" wrote in message news ![]() exchange client extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. . |
#8
|
|||
|
|||
![]()
Commands on the Ribbon can't be executed programmatically from VBA, AFAIK.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "hlock" wrote in message ... Works like a charm! Now how would I do this if the email was open. The same "Save to Vignette IDM" is located on the Ribbon on the Add-Ins tab in the Toolbar Commands group. Thank you so much. "Sue Mosher [MVP]" wrote: This VBA macro should execute that button on the Standard toolbar in an Explorer window: Sub RunIt() Dim cb As Office.CommandBar Dim cbb As Office.CommandBarButton Dim ctrl As Office.CommandBarControl Dim exp As Outlook.Explorer Set exp = Application.ActiveExplorer Set cb = exp.CommandBars("Standard") For Each ctrl In cb.Controls If ctrl.Caption = "Save to Vignette IDM" Then Set cbb = ctrl cbb.Execute Exit For End If Next Set cb = Nothing Set cbb = Nothing Set ctrl = Nothing Set exp = Nothing End Sub "hlock" wrote in message ... We'll take what we can get. The addin is being very difficult. The button is on the Standard Toolbar and is captioned "Save to Vignette IDM". The addin is also under the File menu captioned "Save to Vignette IDM". No other key strokes. Other info - the registry key has a value name of TOWER CAPTURE and a value data of 4.0;C:\Program Files\Tower\ttoutext.dll;1;01000010000000;11000001 00. Is there anything else you need? "Sue Mosher [MVP]" wrote: Clicking on the button might be possible, but that's not the way I read your request. If that's all you want to do, tell us the name of the toolbar and the caption the button uses, including any accelerator keys. "hlock" wrote in message ... Oh boy - it seemed too easy. All we wanted to do was "click" on the toolbar button through visual basic rather than actually clicking on it with the mouse. "Sue Mosher [MVP]" wrote: Any mechanism to invoke the .dll programmatically would have to be exposed by the original programmer of that .dll. In other words, it's not something we can help you with. You'll need to ask the creator of the document management system. "hlock" wrote in message news ![]() exchange client extension that allows us to import an email directly to the document management system. We click on an email, click on the command button and the import dialogue box launches. After searching, I found that the ECE points to a .dll in regedit. Ultimately, we want to create a macro that asks the user to import attachments. If the user chooses Yes, that ece above runs. If the user chooses No, another macro runs. How do I write the code to invoke the .dll when the user chooses Yes. Not being very literate in programming, I would appreciate any help. Thanks. . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turn off reminders programatically | Adrian[_2_] | Outlook and VBA | 8 | February 26th 08 08:27 PM |
Import Vcard programatically | GSK | Outlook and VBA | 1 | February 12th 08 06:57 PM |
Get PST Display Name programatically | [email protected] | Outlook and VBA | 1 | March 21st 07 01:43 PM |
How to customize Views programatically? | Lucas Campos | Outlook and VBA | 8 | May 31st 06 03:48 PM |
Compact .PST Programatically | ScoSha | Outlook and VBA | 1 | February 1st 06 10:16 PM |