Search results

  1. G

    Question XML-RPC error

    Hi Guys, I'm using the xml-rpc protocol to connect to a website's api: code for button: Dim proxy As ISapeXmlRpc = XmlRpcProxyGen.Create(Of ISapeXmlRpc)() 'proxy.UseIntTag = True Dim userId As Integer = proxy.SapeLogin(formMain.txtUser.Text.Trim()...
  2. G

    Question POP3 Connecting and retrieving

    Hi Guys, I am coding a small application to connetc to a pop3 sever via tcpClient: '// INITIATE THE TCPCLIENT AND CONNECT TO THE POP3 SERVER Dim myTcpClient As New TcpClient() myTcpClient.Connect(txtBoxMailServer.Text...
  3. G

    Extracting value from email body using regex

    Hi Guys, I have never been the greatest with regex, in my application what i am trying to do is find the value after: "username:" e.g. username: graham23s The very basic code i have so far is: Dim emailSource As New Regex("(?<=""username:"").*?", _...
  4. G

    Question Connecting to email server using IMAP

    Hi Guys, I have been trying to do this for day snow but iu keep coming up against brick walls lol, i have downloaded a few .dd's the latest being from: Connecting with IMAP Server - Aspose.Email for .NET - Documentation - Aspose.com i downloaded the files and added a reference as shown, there...
  5. G

    Question Passing string.text fields to use in module file

    Hi Guys, I have been coding a small program to login to pop servers using IMAP, my very basic code is: Imports System.IO Imports System.Net.Sockets Imports System.Text Imports System.Net.Security Imports System.Net Imports Limilabs.Mail Imports Limilabs.Client.IMAP Public Class formMain...
  6. G

    Session' is not declared. It may be inaccessible due to its protection level

    Hi GUys, After a few years away from programming i have dusted of visual studio and have got back in to it :) What i am doing is logging in to my pop3 account to retrieve the emails, i have added an association with openpop.net: OpenPop.NET | Free Communications software downloads at...
  7. G

    Question Proxy WebRequest

    Hi Guys, I have maybe 3 POST requests in a piece of code, in each httpwebrequest i have: '// Has proxies been used? If (formProxies.listViewProxies.Items.Count > 0) Then '// Initialise the random user...
  8. G

    Question Lopping XML into Listview

    Hi Guys, i have my xml like: <?xml version="1.0" encoding="utf-8" ?> <cities> <city> <name>Aberdeen</name> <code>UK</code> </city> <city> <name>Belfast</name> <code>UK</code> </city> </cities> code: '// Create an instance of...
  9. G

    302 Redirects

    Hi Guys, I have been at this for a while now and can't seem to locate the problem, i'm doing an httpwebrequest to login to a site: code: Try 'Make a request for the desired web page Dim POSTRequest As HttpWebRequest =...
  10. G

    WebRequest Question

    Hi Guys, I have managed to learn about the httpwebrequest way of logging into a website as opposed to the webbrowser control. code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Start [create the request]...
Top Bottom