![]() |
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
|
|||
|
|||
![]()
I would like to launch a link to a web application
and browse this page from within (Embedded ) Outlook (using c#). I dont want to use a folder structure and set the homepage . I got a link http://www.outlookcode.com/d/tips/formhyperlink.htm to do this .. Is there any other related links to this . Thanks RK |
Ads |
#2
|
|||
|
|||
![]()
I'm using C++.The same work I do as follows(You can see I do it with OOM):
{ HRESULT hr = S_FALSE; try{ CComPtrOutlook::_Explorer spExplorer ; hr = COOMFunc::ActiveExplorer((LPDISPATCH*)&spExplorer) ; if( S_OK != hr ) throw (hr); //Then we need to have a pointer to the commandbars, that is the toolbars in the UI Office::_CommandBarsPtr spCmdBars = NULL; //CComPtr Office::_CommandBars spCmdBars = NULL; hr = spExplorer-get_CommandBars(&spCmdBars); if(FAILED(hr)) throw (hr); Office::CommandBarPtr spCmdBar = NULL; CComVariant vWeb(_T("Web")); hr = spCmdBars-get_Item(vWeb,&spCmdBar); if( FAILED(hr)) throw (hr); if( NULL == spCmdBar ) throw (S_FALSE); Office::CommandBarControlsPtr spCmdBarCtrls = NULL; spCmdBarCtrls = spCmdBar-GetControls(); if( NULL == spCmdBarCtrls) throw (S_FALSE); Office::CommandBarControlPtr spCmdBarCtrl = NULL; CComVariant vAddr(_T("Address:")); spCmdBarCtrl = spCmdBarCtrls-GetItem(vAddr); if( NULL == spCmdBarCtrl) throw (S_FALSE); //spCmdBarCtrl-PutVisible(VARIANT_FALSE); spCmdBarCtrl-PutEnabled(VARIANT_TRUE); // The really Address control is a combox,so... Office::_CommandBarComboBoxPtr spCmdComboxPtr = spCmdBarCtrl; BSTR bstr = strSearch.AllocSysString();// strSearch is an URL link _bstr_t bsDest; bsDest.Attach(bstr); spCmdComboxPtr-PutText(bsDest); bsDest.Detach(); ::SysFreeString(bstr); spCmdBarCtrl-Execute(); //spCmdBarCtrl-PutVisible(vbVisible); } catch(...) { ShellExecute(NULL, _T("open"), strSearch, 0, 0, 0); } } "RK" ... I would like to launch a link to a web application and browse this page from within (Embedded ) Outlook (using c#). I dont want to use a folder structure and set the homepage . I got a link http://www.outlookcode.com/d/tips/formhyperlink.htm to do this . Is there any other related links to this . Thanks RK |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 opening URLs in new browser window | Nocturnal | Outlook - General Queries | 3 | May 25th 06 08:11 AM |
How do I enable opening a browser from clicking an email link? | Admelior | Outlook - Installation | 2 | April 23rd 06 06:46 PM |
When opening e-mail sometimes get message "locate link browser" | NEED AN ANSWER | Outlook - Installation | 1 | April 19th 06 03:58 AM |
Opening Links In The Wrong Browser | ret2go | Outlook Express | 4 | March 30th 06 02:34 AM |
Opening Link in OE into Designated Browser | Greg Matthews | Outlook Express | 3 | February 7th 06 04:15 AM |