PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
Re: Run a program within outlook
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
Re: Run a program within outlook
![]() |
Re: Run a program within outlook |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I've managed to load the Addin template from the office 2000 CD and it
seems to work OK (i.e. I have a new toolbar button that brings up a window) but before I get any further, I just wanted to confirm what I meant in my original post and whether it is possible. Rather than having a window that pops up with my program, I would like to actually embed it into the explorer window. So just as when you click on inbox in the folder view you get a list of e-mails in the right hand side, when you click on timesheet in the folder view, I want my program to appear within Outlook on the right hand side of the window. Is this possible? Does the ItemsCB do this? If so, which function should I look in? Otherwise, are there any other examples about that would show me this? Thanks, Jonathan "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:<ubv373#ODHA.2768@tk2msftngp13.phx.gbl>... > Please post some of the preceding thread when you post, otherwise it's > impossible to follow a thread. Thanks. > > If you use the template ItemsCB I pointed you to then adding your code > to that shouldn't be very hard. In your case if you want something to > happen when you click on a folder you would be trapping the > NewExplorer event and doing whatever you want to do when the > ActiveExplorer is your folder. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Lead Author, Professional Outlook 2000 Programming, Wrox Press > Lead Author, Beginning VB 6 Application Development, Wrox Press > Attachment Options > http://www.slovaktech.com/attachmentoptions.htm > Extended Reminders > http://www.slovaktech.com/extendedreminders.htm > > > "jadams" <junkaddress10@hotmail.com> wrote in message > news:213b8522.0306250907.5c3b95f4@posting.google.com... > > Thanks for the response. > > > > Do you think it would take much work to take the current application > > and turn it into a COM addin? > > > > The objective is to have an extra folder in Outlook saying something > > like 'Timesheet' and when you click it, it loads our program within > > Outlook. > > > > Not particularly useful I know (just as easy to open it from the > start > > menu) but it would look quite impressive. > > > > Jonathan |
|
|
|
#2 |
|
Guest
Posts: n/a
|
If you want to replace one of the panes in Outlook you can't do it. By
folder view do you mean the Folder List? The only thing that can go in the Folder List is a folder, and they are listed alphabetically. You could make a folder and use a folder home page to display an HTML page. I'm still not clear on what you want to do. If when your folder is selected as the ActiveExplorer you want to start some EXE you can do that. Just use the BeforeFolderSwitch event and see if it's your folder that is being switched to. You can then run your app using a Shell command or Windows scripting. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Lead Author, Professional Outlook 2000 Programming, Wrox Press Lead Author, Beginning VB 6 Application Development, Wrox Press Attachment Options http://www.slovaktech.com/attachmentoptions.htm Extended Reminders http://www.slovaktech.com/extendedreminders.htm "jadams" <junkaddress10@hotmail.com> wrote in message news:213b8522.0307090908.6a8c5f3a@posting.google.com... > I've managed to load the Addin template from the office 2000 CD and it > seems to work OK (i.e. I have a new toolbar button that brings up a > window) but before I get any further, I just wanted to confirm what I > meant in my original post and whether it is possible. > > Rather than having a window that pops up with my program, I would like > to actually embed it into the explorer window. So just as when you > click on inbox in the folder view you get a list of e-mails in the > right hand side, when you click on timesheet in the folder view, I > want my program to appear within Outlook on the right hand side of the > window. Is this possible? Does the ItemsCB do this? If so, which > function should I look in? Otherwise, are there any other examples > about that would show me this? > > Thanks, > > Jonathan |
|
|
|
#3 |
|
Guest
Posts: n/a
|
I mean when Timesheet is selected in the folder list (it would appear,
say, below the tasks folder item), my program appears embedded in the right hand pane (i.e. where you get the lists of e-mails, contacts, tasks etc), not as a seperate window. If you can't directly run a program in a pane, would another way of doing it be to turn the program into an activex document dll (I've seen a wizard for doing this) and making it the home page for an Outlook folder? Thanks for your help, Jonathan "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:<ePbfzElRDHA.632@TK2MSFTNGP12.phx.gbl>... > If you want to replace one of the panes in Outlook you can't do it. By > folder view do you mean the Folder List? The only thing that can go in > the Folder List is a folder, and they are listed alphabetically. You > could make a folder and use a folder home page to display an HTML > page. > > I'm still not clear on what you want to do. If when your folder is > selected as the ActiveExplorer you want to start some EXE you can do > that. Just use the BeforeFolderSwitch event and see if it's your > folder that is being switched to. You can then run your app using a > Shell command or Windows scripting. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Lead Author, Professional Outlook 2000 Programming, Wrox Press > Lead Author, Beginning VB 6 Application Development, Wrox Press > Attachment Options > http://www.slovaktech.com/attachmentoptions.htm > Extended Reminders > http://www.slovaktech.com/extendedreminders.htm > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
A home page for an Outlook folder has to be a Web page or the
equivalent. An ActiveX control would not do it. You also could just start your program and display a form, say a VB form. It wouldn't be in the Outlook pane but it would show a UI when your program was run. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Lead Author, Professional Outlook 2000 Programming, Wrox Press Lead Author, Beginning VB 6 Application Development, Wrox Press Attachment Options http://www.slovaktech.com/attachmentoptions.htm Extended Reminders http://www.slovaktech.com/extendedreminders.htm "jadams" <junkaddress10@hotmail.com> wrote in message news:213b8522.0307100025.56463a0e@posting.google.com... > I mean when Timesheet is selected in the folder list (it would appear, > say, below the tasks folder item), my program appears embedded in the > right hand pane (i.e. where you get the lists of e-mails, contacts, > tasks etc), not as a seperate window. > > If you can't directly run a program in a pane, would another way of > doing it be to turn the program into an activex document dll (I've > seen a wizard for doing this) and making it the home page for an > Outlook folder? > > Thanks for your help, > > Jonathan |
|
|
|
#5 |
|
Guest
Posts: n/a
|
OK, it looks like this is not going to work then.
Still, I have learned something about Outlook addins by now. Thanks very much for all of your help. Jonathan Adams "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:<Ok3QDQuRDHA.1720@TK2MSFTNGP10.phx.gbl>... > A home page for an Outlook folder has to be a Web page or the > equivalent. An ActiveX control would not do it. > > You also could just start your program and display a form, say a VB > form. It wouldn't be in the Outlook pane but it would show a UI when > your program was run. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Lead Author, Professional Outlook 2000 Programming, Wrox Press > Lead Author, Beginning VB 6 Application Development, Wrox Press > Attachment Options > http://www.slovaktech.com/attachmentoptions.htm > Extended Reminders > http://www.slovaktech.com/extendedreminders.htm > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

