Catouch
asked on
Getting/Sending info to internet
Hi Experts,
I need to create a program in VB where i can connect to a web site, pass on a user name and pwd to that site and get back an integer that says if my pwd was accepted.
How can I do this?
Thanks
I need to create a program in VB where i can connect to a web site, pass on a user name and pwd to that site and get back an integer that says if my pwd was accepted.
How can I do this?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Robbert, thanks for the help, it's what I need.
I'll leave this quesion open for a while, but I'll give you the points.
Do you know of any methods like that to post a file on the server?
Thanks allready
Catouch
I'll leave this quesion open for a while, but I'll give you the points.
Do you know of any methods like that to post a file on the server?
Thanks allready
Catouch
ASKER
Found everything i needed,
Thanks
Thanks
Pass the return parameters using variants:
Public Function CheckLogin(ByVal sUserName As String, ByVal sPassword As String) As Variant
'some coding for checking here
CheckLogin = bLoggedInOk
End Function
Put the DLL in MTS on the IIS server.
Create an asp page for a login.
In the submit of the form do something like:
Dim oLogin, bResult
Set oLogin = Server.CreateObject("Login
bResult = CBool(oLogin.CheckLogin(wi
If Not bResult Then
window.location = "loginfailure.asp"
Else
window.location = "loginsuccesfull.asp"
End If
D'Mzzl!
RoverM