[英]Open “small” browser from Outlook
I am going to make an Outlook add-in very soon. 我将很快制作一个Outlook加载项。 It has the option, that if a user press a button, a browser should be opened, and the user should fill out the required forms on the URL.
它具有选项,如果用户按下按钮,则应打开浏览器,并且用户应在URL上填写所需的表格。
Now I don't imagine it is any problem to open a browser from Outlook itself. 现在,我不认为从Outlook本身打开浏览器没有任何问题。 But I suppose that if you just open a link, then the whole browser will be loaded up, with all tabs, full size and so on.
但是我想,如果您只是打开一个链接,则将加载整个浏览器,包括所有选项卡,完整大小等。
Is it possible to just open a small browser window, almost like a popup? 是否可以仅打开一个小的浏览器窗口,就像弹出窗口一样? No tabs or anything.
没有标签或任何东西。 It should just use the users default browser.
它应该只使用用户默认的浏览器。
I hope you understand my question, and can guide me to a solution :) 希望您能理解我的问题,并可以指导我解决问题:)
Create and display a custom form. 创建并显示自定义表单。 You can use a browser control in that window.
您可以在该窗口中使用浏览器控件。
To answer you question, take a look at the WebBrowser class. 要回答您的问题,请看一下WebBrowser类。 You can put it in a simple windows forms application.
您可以将其放在一个简单的Windows窗体应用程序中。
However, unless you have specific requirements to use a specialized browser, I would simply let the system default browser handle any links. 但是,除非您有使用特殊浏览器的特定要求,否则我将只让系统默认浏览器处理任何链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.