问题描述
我有一个带有名为cmbWebsites的组合框的表单。
组合框行源来自返回行的选择查询:
0.WebsiteID
1.网站名称
2.网站URL
3.Username
4.Password
仅限网站名称出现在组合框中。其他列设置为零长度。
当用户选择网站时,AfterUpdate事件将触发代码以构建包含所选网站的URL,用户名和密码的字符串,并通过FollowHyperlink方法运行它。
我唯一不知道怎么做的是格式化超链接,以便网站接受用户名和密码并自动获取进入网站;就像Roboform一样。
即使这不是纯粹的MS Access问题,我也无法想象其他Access开发者也没有做过类似的事情。 />
有谁知道如何使用用户名和密码格式化URL,因此FollowHyperlink方法会自动进入网站?
谢谢,
Adam
I have a form with a combo box called "cmbWebsites".
The combo box row source comes from a select query that returns rows:
0.WebsiteID
1.Website Name
2.Website URL
3.Username
4.Password
Only "Website Name" appears in the combo box. The other columns are set to zero length.
When the user selects a website, the AfterUpdate event will trigger code to build a string that contains the URL, Username and Password of the selected website, and runs it through the FollowHyperlink method.
The only thing I don''t know how to do is format the hyperlink so the websites will accept the username and password and automatically get me into the site; like "Roboform".
Even though this isn''t a pure MS Access question, I can''t imagine that other Access developers haven''t done something similar.
Does anyone know how to format a URL with Username and Password, so the FollowHyperlink method automatically gets you into the site?
Thanks,
Adam
推荐答案
这篇关于来自组合框数据 - >使用用户名和密码打开网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!