Click here to Skip to main content
11,647,170 members (67,823 online)
   

C#

 
AnswerRe: DotSpatial.Positioning.NmeaInterpreter Pin
Eddy Vluggen1-Mar-13 4:57
mvpEddy Vluggen1-Mar-13 4:57 
GeneralRe: DotSpatial.Positioning.NmeaInterpreter Pin
loctrice1-Mar-13 5:04
memberloctrice1-Mar-13 5:04 
GeneralRe: DotSpatial.Positioning.NmeaInterpreter Pin
Eddy Vluggen1-Mar-13 5:10
mvpEddy Vluggen1-Mar-13 5:10 
Questionsdk Pin
RAJESHSELVARAJ28-Feb-13 23:04
memberRAJESHSELVARAJ28-Feb-13 23:04 
AnswerRe: sdk Pin
Pete O'Hanlon28-Feb-13 23:24
protectorPete O'Hanlon28-Feb-13 23:24 
AnswerRe: sdk Pin
Dave Kreskowiak1-Mar-13 2:21
mvpDave Kreskowiak1-Mar-13 2:21 
QuestionIssue using the StreamWritter Class Pin
TwiztedFreek28-Feb-13 13:16
memberTwiztedFreek28-Feb-13 13:16 
AnswerRe: Issue using the StreamWritter Class Pin
TwiztedFreek28-Feb-13 13:18
memberTwiztedFreek28-Feb-13 13:18 
AnswerRe: Issue using the StreamWritter Class Pin
Garth J Lancaster28-Feb-13 14:08
memberGarth J Lancaster28-Feb-13 14:08 
AnswerRe: Issue using the StreamWritter Class Pin
Jegan Thiyagesan28-Feb-13 23:33
memberJegan Thiyagesan28-Feb-13 23:33 
AnswerRe: Issue using the StreamWritter Class Pin
Keith Barrow1-Mar-13 1:06
mentorKeith Barrow1-Mar-13 1:06 
AnswerRe: Issue using the StreamWritter Class Pin
Defens931-Mar-13 9:35
memberDefens931-Mar-13 9:35 
QuestionCopy username from text file to website Pin
Muhammad Sayyam28-Feb-13 2:17
memberMuhammad Sayyam28-Feb-13 2:17 
AnswerRe: Copy username from text file to website Pin
DaveyM6928-Feb-13 3:07
mentorDaveyM6928-Feb-13 3:07 
Are you trying to automatically fill and submit a login form?

If so, you can use a WebBrowser control to do this:
new WebBrowser().Navigate(
    url,
    "_blank",
    Encoding.Default.GetBytes(
        "username=" + username +
        "&userpass=" + userpass),
    "Content-Type: application/x-www-form-urlencoded");
where url, username and userpass are string variables containing the data. Obviously change the names of the fields to what the names are of the input fields of the original HTML form, and add other fields as required.
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: Copy username from text file to website Pin
Richard MacCutchan28-Feb-13 3:23
mvpRichard MacCutchan28-Feb-13 3:23 
GeneralRe: Copy username from text file to website Pin
DaveyM6928-Feb-13 10:30
mentorDaveyM6928-Feb-13 10:30 
GeneralRe: Copy username from text file to website Pin
Muhammad Sayyam2-Mar-13 20:19
memberMuhammad Sayyam2-Mar-13 20:19 
GeneralRe: Copy username from text file to website Pin
DaveyM695-Mar-13 3:08
mentorDaveyM695-Mar-13 3:08 
GeneralRe: Copy username from text file to website Pin
DaveyM697-Mar-13 21:51
mentorDaveyM697-Mar-13 21:51 
Questiontooth numbers Pin
Jassim Rahma28-Feb-13 0:35
memberJassim Rahma28-Feb-13 0:35 
AnswerRe: tooth numbers Pin
Pete O'Hanlon28-Feb-13 1:11
protectorPete O'Hanlon28-Feb-13 1:11 
AnswerRe: tooth numbers Pin
GuyThiebaut28-Feb-13 2:03
memberGuyThiebaut28-Feb-13 2:03 
QuestionVS2012, C# Office 2007 problem Pin
Daytona67527-Feb-13 9:34
memberDaytona67527-Feb-13 9:34 
AnswerRe: VS2012, C# Office 2007 problem Pin
Richard MacCutchan27-Feb-13 21:58
mvpRichard MacCutchan27-Feb-13 21:58 
AnswerRe: VS2012, C# Office 2007 problem Pin
OriginalGriff27-Feb-13 22:40
mvpOriginalGriff27-Feb-13 22:40 
Questionc# field type is less accessible than field (SOLVED!) Pin
jojoba201127-Feb-13 9:25
memberjojoba201127-Feb-13 9:25 
AnswerRe: c# field type is less accessible than field Pin
Jibesh27-Feb-13 9:39
memberJibesh27-Feb-13 9:39 
AnswerRe: c# field type is less accessible than field Pin
Richard Deeming27-Feb-13 9:41
memberRichard Deeming27-Feb-13 9:41 
AnswerRe: c# field type is less accessible than field Pin
Matt T Heffron27-Feb-13 9:49
memberMatt T Heffron27-Feb-13 9:49 
Question[DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah26-Feb-13 20:04
membershoab.shah26-Feb-13 20:04 
AnswerRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan26-Feb-13 22:33
mvpRichard MacCutchan26-Feb-13 22:33 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah26-Feb-13 23:20
membershoab.shah26-Feb-13 23:20 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan26-Feb-13 23:37
mvpRichard MacCutchan26-Feb-13 23:37 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon26-Feb-13 23:46
protectorPete O'Hanlon26-Feb-13 23:46 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 0:12
membershoab.shah27-Feb-13 0:12 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon27-Feb-13 0:15
protectorPete O'Hanlon27-Feb-13 0:15 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 0:18
membershoab.shah27-Feb-13 0:18 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Pete O'Hanlon27-Feb-13 0:32
protectorPete O'Hanlon27-Feb-13 0:32 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 1:07
membershoab.shah27-Feb-13 1:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Richard MacCutchan27-Feb-13 3:46
mvpRichard MacCutchan27-Feb-13 3:46 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak27-Feb-13 1:07
mvpDave Kreskowiak27-Feb-13 1:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 1:10
membershoab.shah27-Feb-13 1:10 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak27-Feb-13 1:19
mvpDave Kreskowiak27-Feb-13 1:19 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
shoab.shah27-Feb-13 19:07
membershoab.shah27-Feb-13 19:07 
GeneralRe: [DllImport("NetApi32.dll"... throws exception for first few times Pin
Dave Kreskowiak28-Feb-13 1:29
mvpDave Kreskowiak28-Feb-13 1:29 
QuestionC# datetime compared to sql server datetime Pin
classy_dog26-Feb-13 18:45
memberclassy_dog26-Feb-13 18:45 
AnswerRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon26-Feb-13 19:36
protectorPete O'Hanlon26-Feb-13 19:36 
AnswerRe: C# datetime compared to sql server datetime Pin
manghal26-Feb-13 23:11
membermanghal26-Feb-13 23:11 
GeneralRe: C# datetime compared to sql server datetime Pin
Pete O'Hanlon27-Feb-13 0:07
protectorPete O'Hanlon27-Feb-13 0:07 
GeneralRe: C# datetime compared to sql server datetime Pin
classy_dog27-Feb-13 2:04
memberclassy_dog27-Feb-13 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150804.2 | Last Updated 4 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid