GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 25
→
Trabalhando com o Registro do Windows - Editando o Registro do Windows - Edit Regedit - Mudando o proxy do windows, ativando ou desativando o proxy pela edição no registro do Windows.
Trabalhando com o Registro do Windows - Editando o Registro do Windows - Edit Regedit - Mudando o proxy do windows, ativando ou desativando o proxy pela edição no registro do Windows.
Iniciado por Boller, fev., 07 2023 5:14 PM - 1 resposta
Conecte-se…
Boller
#1
Membro registado
3.660 mensagems
Popularité : +175 (223 votes)
Publicado em fevereiro, 07 2023 - 5:14 PM
Exemplo de como trabalhar com o Registro do Windows - Editando o Registro do Windows - Edit Regedit - Mudando o proxy do windows, ativando ou desativando o proxy pela edição no registro do Windows.
Mudando o proxy do windows, ativando ou desativando o proxy pela edição no registro do Windows.
Mudando para enable ou disable e informando a url e porta do PROXY SERVER
ON:
OFF:
Aplicativo Exemplo:
CODIGO DO BOTAO
/
/
[
HKEY_CURRENT_USER
\
Software
\
Microsoft
\
Windows
\
CurrentVersion
\
Internet Settings
]
/
/
"ProxyEnable"
=
dword
:
00000001
/
/
"ProxyServer"
=
"http://proxy.ce.com.br:8080"
KeyPath is string
=
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\"
ok1
,
ok2 is boolean
ProxyEnable is string
=
"ProxyEnable"
ProxyServer is string
=
"ProxyServer"
ativo_inativo is int
IF RADIO_Ativa_Desativa
=
1
THEN
ativo_inativo
=
1
ELSE
ativo_inativo
=
0
END
IF RegistryExist
(
registryMode64
,
KeyPath
,
ProxyEnable
) =
True
THEN
ok1
=
True
END
RegistrySetValue
(
registryMode64
,
KeyPath
,
ProxyEnable
,
ativo_inativo
,
registryTypeInt
)
IF RegistryExist
(
registryMode64
,
KeyPath
,
ProxyServer
) =
True
ok2
=
True
END
RegistrySetValue
(
registryMode64
,
KeyPath
,
ProxyServer
,
Lower
(
NoSpace
(
EDT_Url_Porta
)
)
,
registryTypeString
)
Info
(
ok1
,
ok2
)
Close
(
)
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Denunciar
0
0
Boller
#2
Membro registado
3.660 mensagems
Popularité : +175 (223 votes)
Publicado em fevereiro, 07 2023 - 5:32 PM
CODIGO FONTE
https://repository.windev.com/publish.awp…
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Denunciar
0
0
→ Voltar para WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto