PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Install Driver Nativo MSSQL Server
Install Driver Nativo MSSQL Server
Started by adrianoboller, Dec., 11 2014 1:29 PM - 2 replies
Connect yourself…
adrianoboller
#1
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on December, 11 2014 - 1:29 PM
Install Driver Nativo MSSQL Server
Report
0
0
adrianoboller
#2
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on April, 23 2016 - 1:03 AM
Prezados,
Para usar outra porta, não a padrão:
Se informar o IP + “,” + Porta (com vírgula) funciona.
Porem, se informar a porta não é possivel informar a instância do MSSQLSERVER:
Tentando informar a instância:
Ser informar a porta correta é possivel informar QUALQUER COISA na instância que não acusa erro de conexão:
Ou seja, use vírgula para definir a nova porta diferente da padrão, ok
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.blogspot.com.br/
Report
0
0
BOLLER
#3
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on August, 10 2017 - 10:09 PM
Detalhes a serem observados:
NextTitle
(
"Atenção"
)
ok1
,
ok2
,
ok3
,
ok4
,
ok5
,
ok6
,
ok7
,
ok8
,
LoginOK
is boolean
//Chumbado
s
GsPaginaInicial
is string
=
"PAGE_Logado"
n
ReturnedValue
is int
=
0
gpwUser is Data Source
<
------------------------------- nao pode ter esse nome na analise igual deve ser diferente
C
NT_GPW
is
C
onnection
C
NT_GPW
..
Provider
=
hNativeAccessSQLServer
C
NT_GPW
..
User
=
"integracao-wd"
C
NT_GPW
..
Password
=
"4s31nt!360"
C
NT_GPW
..
Source
=
"192.168.0.217\360"
C
NT_GPW
..
Database
=
"360_catalogo"
//conectar primeiro no catalogo
C
NT_GPW
..
CryptMethod
=
hCryptNo
// Open the connection
ok1
=
gpwOpenConnection
(
C
NT_GPW
)
ok2
=
HOpenConnection
(
C
NT_GPW
)
IF
ok2
=
False
THEN
Info
(
ErrorOccurred
(
) +
" - "
+
HErrorInfo
(
)
)
END
ok3
=
HChangeConnection
(
gpwUser
,
C
NT_GPW
)
IF
ErrorInfo
(
) >
0
OR
ok3
=
False
Error
(
HErrorInfo
(
) +
CR
+
ErrorInfo
(
)
)
END
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text