Search:

Type: Posts; User: graham23s

Page 1 of 11 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    408

    Passing txtBox values between forms

    I have always had trouble with this issue, i think i need to learn how it works, i have FormMain (my main form) and a second form (FormAddUrls) when i open form2 (FormAddUrls) i want to pass the...
  2. Replies
    5
    Views
    1,137

    VS 2010 Re: Ternary Operator

    Hey DD,

    I'm reading the .txt file line at a time, I don't need the value after the pipe just before :) so if it has the pipe, I need to split it to get the string value: tenDomain(0).ToString but...
  3. Replies
    5
    Views
    1,137

    VS 2010 Ternary Operator

    Hey Guys,

    I'm trying to use the Ternary Operator in a line of code:


    Dim tenDomain() As String = If(objReader.ReadLine().Contains("|"), objReader.ReadLine().Split("|"c), objReader.ReadLine())...
  4. VS 2013 Re: StreamWriter conversion error

    ahhhhhhhh geez so it is! thanks a lot mate i thought i was going crazy for a sec lol

    Thanks D :)

    Graham
  5. VS 2013 [RESOLVED] StreamWriter conversion error

    Hi Guys,

    I don't know why this simple code isn't working:



    Private Sub btnPreviewText_Click(sender As Object, e As EventArgs) Handles btnPreviewText.Click
    ' validation
    ...
  6. VS 2010 Re: Get last line in multitextbox

    Thanks DB that worked great :)

    cheers

    Graham
  7. VS 2010 [RESOLVED] Get last line in multitextbox

    Hi Guys,

    I have a multiline textbox which looks like:

    line1

    line2

    line3
  8. Replies
    0
    Views
    538

    VS 2010 regex single line string

    Hi Guys,

    I'm lost on what I'm doing wrong with this simple regex string:



    For Each row As DataGridViewRow In dataGridProjects.Rows
    '...
  9. Replies
    1
    Views
    1,255

    HtmlAgilityPack Scraping table data

    Hi Guys,

    I'm not sure if anyone uses the HtmlAgilityPack but I'm trying to scrape the data from multiple tables named the same class: class="msg-row"



    <div style="margin:5px 0;"><div...
  10. Replies
    1
    Views
    710

    VS 2010 Basic currency conversion

    Hi Guys,

    I'm not the greatest with conversions lol

    I have my basic code:



    '// Currency converter.
    If...
  11. Replies
    1
    Views
    819

    VS 2010 Converting Unix Time

    Hi Guys,

    In one of the api request I use, the time needs to be in unix+300, this works well if your in the UK, but in foreign servers/pc's it errors out as unix time by default is in GMT time (so...
  12. Replies
    3
    Views
    725

    VS 2010 Re: POP3 Retrieving messages

    Hi J,

    When I do: Messagebox.show(Message) I should display the email body, I tried the same credentials in the openPOP.dll test application and it worked fine, I checked the response and it's +OK,...
  13. Replies
    3
    Views
    725

    VS 2010 POP3 Retrieving messages

    Hi Guys,

    I have coded the pop3 code to connect and retrieve messages:



    Try
    '// INITIATE THE TCPCLIENT AND CONNECT TO THE POP3 SERVER
    Dim...
  14. Replies
    4
    Views
    930

    VS 2010 Re: RegEX Setup Errors

    Hey G,

    Oh man I found it out, the project was called RegEx I changed the name and it was fixed lol

    thanks buddy :)

    Graham
  15. Replies
    4
    Views
    930

    VS 2010 Re: RegEX Setup Errors

    Hi G,

    On the "Dim findTable As New RegEx" one it gives me correction options which are "Change 'RegEx' to RegulerExpressions.Regex" this removes the error, but the first 3 are still there with no...
  16. Replies
    3
    Views
    798

    VS 2010 Re: RegEx Grabbing Values Within Groups

    Thanks for the info Paul I'm getting along a lot better *touch wood* lol

    cheers

    Graham
  17. Replies
    4
    Views
    930

    VS 2010 [RESOLVED] RegEX Setup Errors

    Hi Guys,

    This is strange, I opened up a new project in VS2010 and imported the text.regularExpressions I get an error with simple code:



    Imports System.IO
    Imports System.Net
    Imports...
  18. Replies
    3
    Views
    798

    VS 2010 RegEx Grabbing Values Within Groups

    Hi Guys,

    I'm trying to learn more about regular expresssions, I'm parsing some HTML tables like:

    An example:


    ...
  19. Replies
    4
    Views
    940

    VS 2010 Re: Adding SubItems to listview

    Hi J,

    What I'm trying to do is fill the 4th column in with data, the first 3 columns are populated already so if I did:



    Dim lv As ListViewItem =...
  20. Replies
    4
    Views
    940

    VS 2010 Adding SubItems to listview

    Hi Guys,

    I know how to add items to a listview all at the one time like:



    Dim lv As New ListViewItem("value1")
    lv.SubItems.Add("value2")
    lv.SubItems.Add("value3")
  21. Replies
    5
    Views
    671

    VS 2010 Re: Late binding error

    Ah thank you very much guys :)

    This did it: For Each ci As ListViewItem In listViewCategories.CheckedItems rookie mistake again lol

    Thanks for the detailed information to SH, I use listviews a...
  22. Replies
    5
    Views
    671

    VS 2010 Re: Late binding error

    Hi Mate,

    It does it's like:

    1 - value1
    2 - value2
    etc

    I can't figure it out either, there is barely any code to conflict lol (I would have though!)
  23. Replies
    5
    Views
    671

    VS 2010 [RESOLVED] Late binding error

    Hi Guys,

    This is a strange one, I'm getting a late binding error on this code:



    Imports System
    Imports System.IO
    Imports System.Net
    Imports System.Text
  24. Replies
    1
    Views
    1,146

    Math Ceiling Error

    Hi Guys,

    I know I'm missing something stupid here lol

    Code:



    Public Function returnPagesInTotal(ByVal html As String) As String
    Dim flag As String = String.Empty
  25. VS 2010 Re: Conversions from 'String' to 'Integer' error

    Hi Paul,

    I managed to get the values using:

    MessageBox.Show(projectSites(0)("site_url").ToString)
    MessageBox.Show(projectSites(1)("site_url").ToString)

    I can manually grab those (because i...
  26. VS 2010 Re: Conversions from 'String' to 'Integer' error

    Hi Paul,

    When I do: MessageBox.Show(projectSites(0).ToString) the error does go away but shows me "CookComputing.XmlRpc.XmlRpcStruct" the name of the .dll I'm using, you are right it definitely...
  27. VS 2010 Conversions from 'String' to 'Integer' error

    Hey Guys,

    This is a brain teaser lol

    I'm sending through an ID via a function:

    My code:
  28. VS 2010 Re: Value of type 'Integer' cannot be converted to '1-dimensional array'

    Thanks for the help guys! I had to refactor a bit of code and got it working :)

    cheers

    Graham
  29. Replies
    0
    Views
    863

    VS 2010 XML-RPC error

    Hi Guys,

    I'm using the xml-rpc protocol on a site:

    code for button:



    Dim proxy As ISapeXmlRpc = XmlRpcProxyGen.Create(Of ISapeXmlRpc)()
    'proxy.UseIntTag = True
  30. VS 2010 Re: Value of type 'Integer' cannot be converted to '1-dimensional array'

    Hey Guys,

    I did a bit more reading on what needs passed to the function, it's an "associative array" I have done:



    Dim params As New Dictionary(Of String, String)
    ...
  31. VS 2010 [RESOLVED] Value of type 'Integer' cannot be converted to '1-dimensional array'

    Hi Guys,

    I have come across this error: "Value of type 'Integer' cannot be converted to '1-dimensional array of CookComputing.XmlRpc.XmlRpcStruct'"

    In my code here:



    Dim proxy As...
  32. VS 2010 Re: Foreach loop getting specific results

    Hey SH,

    That was it :) thanks matey :)

    Graham
  33. VS 2010 [RESOLVED] Foreach loop getting specific results

    Hey Guys,

    I'm using the xml-rpc protocol to connect to my website, I retieve the value/keys using a foreach:



    Dim userBalance As XmlRpcStruct = proxy.GetBalance()
    ...
  34. Replies
    2
    Views
    866

    VS 2010 Re: Character Encoding

    Hi J,

    Ah I see, this is what I'm seeing in the debug text box:



    };

    $('#container').find('a,span,abbr,img').filter('[title]').tooltip(window.tooltip_options);
  35. Replies
    2
    Views
    866

    VS 2010 Character Encoding

    Hi Guys,

    What i'm doing is trying to display Russian character encoding in a text box, this for example:


    Ссылок

    Turns into:
  36. Replies
    2
    Views
    615

    VS 2010 Non english regex

    Hi Guys,

    I'm working on a Russian site and I'm trying to use regex on these lines:


    title="Дата создания: 29.09.2014">PROJECT NAME<img

    I'm trying to grab the project name in the html, the...
  37. Replies
    0
    Views
    873

    VS 2010 Programmatically logging into wordpress

    Hi Guys,

    I thought this task would be easy enough as i have done a good few login to website applications, i have a good few wordpress sites up and i'm trying to automate certain tasks on each.
    ...
  38. Replies
    10
    Views
    1,187

    VS 2010 Re: Download a list 100 items at a time

    "I'm ever drunk or confused." by the looks of it both lol

    Graham
  39. Replies
    10
    Views
    1,187

    VS 2010 Re: Download a list 100 items at a time

    Hey I,

    I'm grabbing the pending deletion domain names each day from: http://www.namejet.com/Pages/Downloads.aspx like: http://www.namejet.com/Download/5-30-2014.txt i'm running a few checks on...
  40. Replies
    10
    Views
    1,187

    VS 2010 Re: Download a list 100 items at a time

    Hey Guys,

    Cheers SH, i was trying to rack the brains on the best way to do it, that is a much better idea! i never even thought lol it takes seconds to download the entire list (96257) for today's...
Results 1 to 40 of 417
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width