Communications :: Winhttp Login Site ?

Apr 17, 2012

I'm trying to login this site [url] via winhttp.

How can I login to this site via winhttp?

My code;



Build An Application That Will Login To A Web Site, Navigate The Site And Download Files?

Mar 26, 2010

I am not sure if this is possiable but I am looking to build an application that will login to a web site, navigate the site and download files. I would like to do this all in code and able to run multiple instances of the program to get information from many different web sites. Is something like this possiable in

View 3 Replies View Related

Make A Webbrowser Login On A Site (filling Textbox And Clicking Login)?

Jun 18, 2011

I've been trying to make a app that logs into a website. So far it didn't work for me.I have trouble because:

- The "pin" (username) box on the site doesn't have an ID. (Can't use getelementbyid)

- The picture doesn't have an ID either

Codes I've tried:

With WebBrowser1.Document
.All("pin").InnerText = "mypinhere"
End With
End Sub

This should have, in my opinion, filled in the textbox. Now I need to click the login button?Also I found this in the source of the site:

<img src="/media/img/text_AccountPin.gif" alt="Account Pin" width="93" height="10" border="0"> <input type="text" name="pin" class="form" size="15"> </p>

As we can see, it says


So I should be able to use "getelementbytagname" right?Also, the formId is logmein (log me in)

<form id="logmein"....

This is what I came up with:

Dim webbrowserDocForm As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("logmein")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlValue As String = curElement.GetAttribute("Value").ToString


in the next code it's tagname is "input" or "text"? Because I found:

<input type="text" name="pin" class="form" size="15"> </p>

Code for filling in:

webbrowserDocForm = WebBrowser1.document.GetElementsByTagName("text")
For Each curElement As HtmlElement In webbrowserDocForm
Dim controlName As String = curElement.GetAttribute("name").ToString


It doesn't give me any errors no more, but it doesn't work either.

View 3 Replies View Related

Login Directly From One Site Another Site?

Oct 21, 2010

when i am surfing in one site,i want to see the another URL...without going URL directly access the login......for example this is the login page url i want know automatic login to this page [URL]

View 1 Replies View Related

Communications :: Write Program That Will Upload A File To A FTP Site That Has SSL

Jun 19, 2008

I'm trying to write a program that will upload a file to a FTP site that has SSL (explicit, although I'm not sure what this means).The sample code and explanations I've Googled always assume when it's SSL that I'm using a client certificate. But I have no certificate to load.I simply need to login, accept their certificate and upload my file.When I accept their certificate am I actually installing it on the client? For example of FileZilla a box pops up and I just click on accept, then my login is complete.

View 1 Replies View Related

Trying To Login - Site Via App

Jan 19, 2010

I am trying to login to hotmail via my app. I am pretty new and couldnt find any information on this nothing I have tried has worked.

View 4 Replies View Related

How To Login The Site At The Same Time

Jul 17, 2009

I am making a program with some account details stored and the webbrowser so that I could be able to access to the website. I would like to know how I can be able to login the same site at the same time with many accounts when the account details stored on cookies?

View 7 Replies View Related

Login To Site At Same Time?

Jul 17, 2009

I am making a program with account details stored and the webbrowser so that I could be able to access to the website. I would like to know how I can be able to login the same site at the same time with many accounts when the account details stored on cookies?

View 5 Replies View Related

Communications :: WebRequest/webresponse After Login?

Dec 5, 2011

I made a small console program to login into a website.After figuring out on how to successfully login to the website i ran into a other problem... that problem is visiting the inbox page.The problem is as follow: when i visit the page i get logged out :sMy problem is i think that i don't know how to pass the cookie/session correctly since this is not a post/submit action...When i debug the site and click on the hyperlink i only get get response.

View 1 Replies View Related

Accessing A Site That Requires Login

Mar 13, 2012

I am trying to create a small program that checks [URL] for a work order every minutes. While I don't know of any API that I can use, I think it would be easy enough to simply check the page and see if there are any new work orders listed. The question I have is how to access the work order page. Every a few minutes field nation logs you out of their website. At that point I am required to log back in again to access my account. How can I automate or bypass this process so that my program and regularly check for new workorders?

View 1 Replies View Related

Auto-login To Java Site?

Jun 10, 2011

i have a code works fine about autologin to a website like this


View 2 Replies View Related

Create A Program That Will Login To A Site?

Aug 16, 2009

Im trying to create a program that will login to a site for me, and cant get it to work for some reason. The code on the site im logging on to looks like this

<!--<p class="pleaselogin">Please Log In!</p>-->
<div style="MARGIN-TOP: 1px; COLOR: rgb(153,0,0); FONT-SIZE: 12px"
><b>Member Login</b></div>
<br>Sign in for more FREE features and tools!<br><br>
<form method="post" action="


View 2 Replies View Related

Fill The Value For The Login Page Of Site?

Dec 7, 2011

im trying to to fill the value for the login page of site here the html code

<input type="text" placeholder="Email" class="login_textbox" name="username" id="username" tabindex="1"> i tried this but doesnt work WebBrowser1.Document.GetElementById("username").Se tAttribute("value", "elvin")

View 1 Replies View Related

Make A Site's Login Form?

Aug 18, 2011

i would like to make a site's login form. But from another site attracts ids. I could not.[URL]

View 4 Replies View Related

Use Webbrowser Site Login Screen?

Feb 13, 2010

automatic login to a website I want to use webbrowser site login screen, but you do not open the popup site is directed to the main page.How can I solve this problem

View 3 Replies View Related

Communications :: WebClient Webpage Login Then Download

Dec 4, 2007

I've been trying for a while to use a method I've found on the net to login to a webpage then download zip files off the page.Here is what I am doing:

strURL = ""
Client = New WebClient()


View 4 Replies View Related - Automatic Logout When Login In Other Site In The Same Server?

Oct 11, 2011

We develop 2 sites in, this both use forms authentication, when a user login in one of this sites it work fine, but if login into the second site, it's logout for the server of the first site, the authentication of both sites have the same usecontrol.

View 1 Replies View Related

Automatically Login To A Website And Then Do A Search On The Site?

Jul 21, 2009

I'm making a winform program to automatically login to a website and then do a search on the site. Problem is, it works for one site but not for another.

Here's the code:

Dim cookies As CookieContainer = New CookieContainer


View 9 Replies View Related

How To Login A Site From A Windows Form Application

Mar 14, 2009

 how to login a site from a windows form application

View 5 Replies View Related

Site Login Webrequest / Response (Aspx)

Feb 27, 2012

For my work i'm making a console program that log in into a a website ([URL]) The problem is i can grab the login page and read out the viewstate & EventValidation But when i try to submit my login details i get a error.

View 1 Replies View Related

VS 2008 Submit Form - Login To A Site

Apr 24, 2010

I want to make a function to login to a site but i can't submit the form this is what i tried:


View 8 Replies View Related

VS 2010 Connect VB App To HTML Site And Login In It?

Mar 27, 2012

I need to connect my VB app to html site and login in it...after that I need to view informations in labels may be it will be with ID or anything alse I do not know...[URL]I only need to log in from VB application form with out any webbrowsers and something alses...

P.s. I have my username and password on this site but I want do log in with my VB app...

View 9 Replies View Related

[2008] Site Requires A Captcha To Login

Mar 2, 2009

I have been testing with logging into my websites using httpwebrequest, i have done it great, but 1 of my sites requires a captcha to login:


View 5 Replies View Related

Auto-login To Sharepoint Site Which Uses Windows Authentication?

Nov 10, 2011

How to login to windows authenticated sharepoint site automatically without prompting for credentials using

View 1 Replies View Related

[2008] Adding WinHTTP To Project?

Jan 11, 2009

For some reason, I am having trouble adding the WinHttp dll to my project. I tried changing the framework from 3.5 to 2 but that didnt change anything. When I try to add the COM component as a reference to the project I get this Error.

A reference to 'Microsoft WinHTTP Services, version 5.1' could not be added. This is not a COM component. I'm using vista 64 bit and I made sure the register the dll when I added it to the system32 folder.

View 5 Replies View Related

VS 2008 - Threaded Ping - Click Another Site While Its Still Pinging Them It Doesn't Wait Before It Switches Site

Feb 9, 2010

Ive got an app that holds a list of site we have, At each site there are a few devices. The idea is when they click on a site all the details for the site are loaded and then a second thread sits and pings each device to see if its live. Im trying to do this in a seperate thread so if they click another site while its still pinging them it doesn't wait before it switches site. This all seems to be workling fine except if you click through the sites quickly, when you do that it will eventually come up with


{"Collection was modified; enumeration operation might not execute."}

The error flags up on the "Next" line in "ThreadedPing"

Thread stuff

Public Sub ThreadedPing(ByVal dt As DataTable)

Dim dr As DataRow


View 2 Replies View Related

User Can Change The Update Site With Out Building The Program Again With The New Site?

Oct 13, 2010

When i publish my program i choose to let the application check for updates via a website and if their is one update automatically when the program starts. Is their a way were on the main user form i can make it so that the user can change the update site with out me building the program again with the new site. I want to do this becuase the site i use goes down alot so when i changed the update url no one was able to download the update for the new update server.

View 16 Replies View Related

Internet Explorer - User Click A Command Button To Open IE To A Financial WEB Site And Download Informaion From The Site?

May 19, 2011

I'm deploying a VB.Net app (VS 2010 Pro) that requiers the user click a command button to open IE to a financial WEB site and download informaion from the site. The app works fine in every detail when installed on the development computer. But, on the target computer when the command button is clicked an unhandled exception occurs which says: System.IO. FileNotFoundException:File Not found.My code behind the button is Shell("C:Program Files (x86)Internet Exploreriexplore.exe www,",AppWinStyle.NormalFocus)

This works fine on the development computer. Do I need a way to code this as a relative path? If so,can you tell me how this is done?Throughout the app I have written relative paths to needed files using paths like (Open(Environment. GEtFolderPath (Environment. SpecialFoldder.Desktop) + "File Name). They all work fine when deployed.

View 7 Replies View Related

Label Staging Site To Prevent It From Being Used As If It Were The Production Site

May 18, 2012

I'm being asked to maintain several internal-only web apps for my company. For testing, after making my changes, I've created some staging sites which make use of separate databases. As such, if my users were to mistakenly use this site as if it were the production site, they may enter important data and wonder where it "disappeared" to thinking it was the production server.

I'd like to create a big banner of some sort across the top of the staging site (which ONLY appears on the staging site) to remind my users that they are on the test site. I'd like recommendations on the best way to do this, with the following considerations:

IDE: Visual Studio 2008
Server: Windows 2003 with IIS 6
Language: VB.NET 2.0

View 2 Replies View Related

Open Site When Click (Visit Site Button)

Jan 8, 2010

i want to know how can i code my button when i click it will open my site ... i Think i was clear.

View 1 Replies View Related

Communications :: Send A Command Via RS232 Communications

Jan 26, 2009

I am using VB2008 Express and am curious how to send a command via RS232 communications. The string that I need to send is 02h PON 03h. The start and end bits are 02h and 03h.

How can I convert 02h and 03h to its ascii form. In hyperterminal, I use the sequence {(hold)ALT 0 0 2} on the number pad to send the start bit.

I am using this code currently without the start and end bits


View 8 Replies View Related

Cannot Open Database Requested In Login 'Database1' / Login Fails / Login Failed For User 'sa'

Mar 1, 2011

I got the above error when i deploy my web application into windows server 2003. How do i resolve it? [code]

View 3 Replies View Related

Forms :: Enter Login Details Login Page Just Refreshes Itself And Login Wasn't Proceed?

Dec 13, 2010

I had a problem with WebBrowser component. Basically, it works improperly when try to log in on one web-site (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site). I am working with Visual Studio 2010 Professional. I created a simple WebBrowser trying to access the indicated web-site. The problem begins. Well, the website loads, but when you go to the login page (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site) and try to log in, it doesn't work. I mean, when I enter the login details the login page just refreshes itself and the login wasn't proceed. The same login page appear with every login attempt. The is the current problem!I check with Google, it works. But, it doesn't work with Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site! Why?

View 14 Replies View Related

Getting Error: "Cannot Open Database "MainDB" Requested By The Login. The Login Failed. Login Failed For User 'D630Admin'."

Mar 15, 2012

I created a SQL DB named MainDB.mdf and a small VB 2010 application with some forms and datasets.Everything was working OK until i got a new computer and re-installed Visual Studio 2010 and SQL server 2010 on it.  I copied my DB from the old to the new computer and also copied by VB 2010 project to it.  I used Windows Authentication to connect to the DB in the old computer and also in the new one, i am using different Windows user account names though.

I was able to connect to the DB in the new computer in the Server Explorer section, i created a new connection string to the DB and i can seed there is data in the tables.  When i run my VB 2010 application created in the old computer get error:  

"Cannot open database "MainDB" requested by the login. The login failed. Login failed for user 'D630Admin'."

I need to get rid of that error and be able to add/mod/del data from my DB using my VB application as i used to.

View 5 Replies View Related - Validate User Role During Login Button Click Event In Login Control?

Apr 9, 2011

I have a login control in my webform i uses the roles manager...i have two roles admin and vendors i want when user enter username and password in login control then on login button click event it validates either the user is admin or vendors if vendor is admin then it will redirect to default.aspx other wise stay on login page with error. to do this using ?

View 1 Replies View Related

Login When User Type Password And They Press Enter That Login Code Can Be Activate?

May 29, 2009

how can i login when user type password and they press enter that login code can be activiate. What event can be using for this, i m using button_click event. need textbox typed value and press enter it should be login to that next form.

View 1 Replies View Related

Login System - Make The Registered User To Login His Character Automatically?

Aug 25, 2010

Alright, So with this game I am Making with VB I am Confused on how to make the login system to make the registered user to login to his character automatically other then having to make a new character? Here is my login System code not much[code].....

View 3 Replies View Related

Change Login Code To Support For Multi Access Level Login?

Dec 14, 2009

May i know how to change my below login code to support for multi access level login? So that i can differentiate between manager and normal employees login so that i can enable or disable certain features for different department? I have the below code that can serve as a basic login.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'login code can work

View 5 Replies View Related

IDE :: 2005 - Create A Login Form And Use A Text File As A Database To Login

Oct 10, 2010

I am currently working with 2005. I am trying to create a login form and use a text file as a database to login. The part login form is fine but i can't connected to the text file. When i use my coding with a database such as access or mysql is work fine.


View 4 Replies View Related

Login Landing Page That Subsequently Passes Username/pw To Other Login Pages?

Dec 28, 2011

It is simply a "Y" in the road. If they are Company A, then I want to send the username and password over to that website and log them in as if they typed it in there. If they are Company B, then the same thing but with a different website. I do not know the term for this, so the google results are not very pretty.I can not do this with a query string (not that I'd want to anyway) as I do not want the username/pw to be visible.Here is the other weird thing. This can be done via a simple HTML <FORM> and Submit button as I have tested it. But I want to do it all in VB.NET code. How is it that it is possible with some simple HTML but not possible in VB.NET? I guess it could be a security thing, right? What do the good guys like us do when we legitimately just want our employees to go to one login page, enter their username/pw, and then (based on their username) send them to either pageA.aspx or PageB.aspx which receives their username/pw that they only entered once before on the first page?

View 1 Replies View Related

Copyrights 2005-15, All rights reserved