Search:

Type: Posts; User: Empyreal

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    7
    Views
    1,259

    VS 2010 Re: WebBrowser - Multiple Navigations

    Alright; that gave me a few ideas. I'll try them out, see what I come up with and update this post with the results when I'm done. Thanks for your help so far.
  2. Replies
    7
    Views
    1,259

    VS 2010 Re: WebBrowser - Multiple Navigations

    Ok, I have a list of websites. What the program does is navigate to each of those websites in the list, retrieve the innertext of an HtmlElement, then navigate to another page depending on data...
  3. Replies
    7
    Views
    1,259

    VS 2010 Re: WebBrowser - Multiple Navigations

    I guess that could work, but since the load time for each page is variable, this method would either navigate to the next page before it was done loading, or leave a lot of extra time between...
  4. Replies
    7
    Views
    1,259

    VS 2010 WebBrowser - Multiple Navigations

    Here's the situation: I need to navigate to a list of sites and retrieve data from them; I know how to retrieve the data, but I'm unsure of the best way to navigate to each of these sites.
    ...
  5. Replies
    5
    Views
    945

    VS 2010 Re: Splitting an Image

    I went ahead and tried a few of the other overloads and found one that worked. Here is the modified code.

    Dim DestRect As New RectangleF(0, 0, (ImageFile.Width / 3), (ImageFile.Height / 3))
    Dim...
  6. Replies
    5
    Views
    945

    VS 2010 Re: Splitting an Image

    I'm not sure how to use DrawImageUnscaled to draw only a specific portion of an image. It doesn't seem to have arguments that are similar to the DrawImage function.

    Edit: Alright; I'll try using a...
  7. Replies
    5
    Views
    945

    VS 2010 Re: Splitting an Image

    bump
  8. Replies
    5
    Views
    945

    VS 2010 [RESOLVED] Splitting an Image

    I'm trying to split an image into 9 smaller images; the code I wrote works fine for an image with dimensions that are evenly divisible by 3 (i.e. 150x150), but seems to cut stuff off for images with...
  9. Replies
    14
    Views
    1,074

    VS 2008 Re: ByVal Problems

    Wow; that could get really confusing. I think I understand it enough for now, I'll keep this in mind should I come across this again. Thanks everyone. Thread resolved.
  10. Replies
    14
    Views
    1,074

    VS 2008 Re: ByVal Problems

    This post is EXTREMELY confusing.

    @Shaggy Hiker: I get it now, thanks for the explanation.

    I just want to confirm that I can use:

    Dim NewList As New List(Of Integer)...
  11. Replies
    14
    Views
    1,074

    VS 2008 Re: ByVal Problems

    To be blunt, that sucks. Is this a known error or is this just "how it works."
  12. Replies
    14
    Views
    1,074

    VS 2008 [RESOLVED] ByVal Problems

    I was making a program just to experiment with assorted sorting algorithms, and I found that even though I was using ByVal (not ByRef) my list was being sorted outside of the function I was sorting...
  13. Replies
    3
    Views
    591

    VS 2008 Re: problems with if and stuff

    There are a number of things wrong with this; first, both of your current if blocks have similar conditions in them, for this reason, I'd pull them out and make a nested if stated; second, the '&'...
  14. Replies
    16
    Views
    5,160

    Re: Optional Parameters - Type: List

    Wow; that was simply an excellent answer. Thread resolved. Thanks everyone for your help.

    Now everything makes sense.
  15. Replies
    16
    Views
    5,160

    Re: Optional Parameters - Type: List

    @Tassa: Haha; I'm kind of disappointed in myself that that worked. But do you have any idea on how to give it a default value of something other than nothing?

    @Kebo: If you ever figure out that...
  16. Replies
    16
    Views
    5,160

    Re: Optional Parameters - Type: List

    Yes; all optional parameters need default values, but I'm unsure of how to give a list a default value when it is a parameter.

    I thought it'd be something like this:

    Optional ByRef...
  17. Replies
    16
    Views
    5,160

    Re: Optional Parameters - Type: List

    I understand there are advantages to using overloaded functions, but I'm not extending my function any more than that one optional parameter. Another reason I decided to use an optional parameter...
  18. Replies
    16
    Views
    5,160

    Re: Optional Parameters - Type: List

    Ok, now I get it. But that seems kind of redundant. I mean what you suggested is exactly what the optional parameter is for. I was more looking for a solution than a workaround.
  19. Replies
    16
    Views
    5,160

    Re: Optional Parameters - Type: List

    I don't understand how what you suggested pertains to my question.
  20. Replies
    16
    Views
    5,160

    [RESOLVED] Optional Parameters - Type: List

    Is it possible to have an optional parameter of the type list?

    Ex.

    Private Function TestFunction(Optional ByRef MyList As List(Of Double))

    The real problem is giving the list a default...
  21. Replies
    41
    Views
    2,979

    VS 2008 Re: [RESOLVED] Mouse keeps clicking

    What will it be clicking on?
  22. Replies
    41
    Views
    2,979

    VS 2008 Re: [RESOLVED] Mouse keeps clicking

    We know. Why?
  23. Replies
    41
    Views
    2,979

    VS 2008 Re: [RESOLVED] Mouse keeps clicking

    This is getting ridiculous; stop telling us what it does. We know. What are you going to use it for? Why do you want to send a click for every click you make? "Just because" is not a valid answer.
  24. Replies
    6
    Views
    606

    Re: Help - (Quick question) - Color changing

    By color do you mean the color of the text, the background color, or another specific part of the control?

    Most controls have a forecolor and backcolor property that will change the color of the...
  25. VS 2008 Re: how to use regex or an array to display some output from an arithmetic input?

    If Me.txtEquation.Text <> String.Empty Then
    Me.txtSeperated.Text = "<number> "

    For Each EquChar In Me.txtEquation.Text
    Dim OperatorMatch As Match = Regex.Match(EquChar,...
  26. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    http://www.regular-expressions.info/anchors.html
    Above is another site with a really good explanation of anchors. Look at the "Using ^ and $ as Start of Line and End of Line Anchors" section.
  27. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    Well, yes it wouldn't match the newline character, but isn't that what the "$" does?
  28. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    No, that's the period (.). The star (*) matches the character(s) preceding it 0 or more times.

    I.e. "[a-z]*" would match "a", "abfds", "asdlfkdjalskfjasladfgklad", and so on.
  29. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    Your right; it did work. But why?
  30. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    Thanks for that site; I'll actually probably use that a lot now =P

    I set up a simple test to compare that site to Vb.net:

    Regex: "^[a-z]*$"

    Text:
    "testone
    testtwo
    testthree"
  31. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    I'm talking about the multiline option in the regex class. Sorry, should have been more specific but I forgot all about the multiline property of the textbox =P

    Anyway, I'm not trying to use regex...
  32. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    I could do that, but, to my understanding, that's exactly what the multiline option does, so why go through all that trouble?
  33. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    Bump
  34. Replies
    18
    Views
    1,885

    VS 2008 Re: Multiline Regex Matching

    If this was my string:

    "oneword
    twoword
    threeword"

    Your regex would return the following matches:

    (0)"oneword
    twoword
  35. Replies
    18
    Views
    1,885

    VS 2008 Multiline Regex Matching

    I've been working with Regex and I've run into something that doesn't make sense to me; I either misunderstood how the Multiline option works, I'm not using it right, or it really just doesn't work...
  36. VS 2008 Re: Remove all character except numbers and decimals?

    Assuming you only want valid decimals, this would be a better approach:

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
    ...
  37. Replies
    3
    Views
    516

    VS 2008 Re: ComboBox Help

    You could change the DropDownStyle of the combobox to DropDownList; then the user won't be able to type in anything at all.
  38. Replies
    2
    Views
    522

    Re: Making a new form?

    Create another form:
    Dim AnotherForm As New Form

    Show the form:
    AnotherForm.Show()

    Hide the form:
    AnotherForm.Hide()

    Close the form:
  39. Replies
    4
    Views
    615

    VS 2008 Re: Removing Buttons created in a thread

    The for each statement uses an enumerator, which is used to handle a collection of objects that do NOT change; so when you remove a control, the size of the enumerator changes, and you get an error;...
  40. Replies
    3
    Views
    506

    VS 2008 Re: How do I double quote?

    TextBox1.Text = "Process.Start(""Http://Google.com"")"

    Probably could have easily found the answer to this by searching...

    Good search engine: http://www.google.com
Results 1 to 40 of 138
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width