Vb.net Gecko代理Ip和端口位于同一文本框中

Vb.net Gecko代理Ip和端口位于同一文本框中,vb.net,textbox,ip,port,gecko,Vb.net,Textbox,Ip,Port,Gecko,我想知道是否有可能制作一个gecko代理并像webbrowser一样在同一个文本框中插入ip和端口。 可能吗 我试过这个密码 Skybound.Gecko.GeckoPreferences.User("network.proxy.type") = 1; Skybound.Gecko.GeckoPreferences.User("network.proxy.http") = TextBox2.Text; Skybound.Gecko.GeckoPreferences.User("network

我想知道是否有可能制作一个gecko代理并像webbrowser一样在同一个文本框中插入ip和端口。 可能吗

我试过这个密码

Skybound.Gecko.GeckoPreferences.User("network.proxy.type") = 1; 
Skybound.Gecko.GeckoPreferences.User("network.proxy.http") = TextBox2.Text; 
Skybound.Gecko.GeckoPreferences.User("network.proxy.http_port") = 8080; 
并试图改变

skybound.gecko.geckopreference.user("network.proxy.http")=textbox2 & ("network.proxy.http_port") = textbox2.text 
将ip和端口放在同一个文本框中不起作用。

尝试: 修改文件:xulrunner.js并添加到末尾:

pref("network.proxy.http", "162.208.49.45");
pref("network.proxy.http_port", 7808);
pref("network.proxy.type", 1);
在导航方法之前,请先编写代码:

    Skybound.Gecko.GeckoPreferences.Default("network.proxy.type") = 1
    Skybound.Gecko.GeckoPreferences.Default("network.proxy.http") = 'You proxy ip'
    Skybound.Gecko.GeckoPreferences.Default("network.proxy.http_port") = Integer.Parse('Proxy_port_in_int')

欢迎来到SO jake!你试过什么?你研究过什么吗?我试过这个代码skybind.Gecko.GeckoPreferences.User(“network.proxy.type”)=1;Skybound.Gecko.GeckoPreferences.User(“network.proxy.http”)=TextBox2.Text;Skybound.Gecko.GeckoPreferences.User(“network.proxy.http_port”)=8080;并尝试更改“skybind.gecko.geckopreference.user”(“network.proxy.http)=textbox2&(“network.proxy.http_port”)=textbox2.text但不正确当您说“但不正确”时,怎么了?此外,编辑您的原始帖子并将您的代码放入他们的日志中,以便更容易看到问题所在。