Search:

Type: Posts; User: VB.NET Developer

Page 1 of 8 1 2 3 4

Search: Search took 0.03 seconds.

  1. VS 2010 Re: Textbox doesnt showing correct result

    I still dont get it, but it doesnt matter since Ill be generating random consecutive sequences and check it that way. But THANKS for your willingness.
    Partially solved!
  2. VS 2010 Re: Textbox doesnt showing correct result

    Im sorry, Im suffering from dyscalculia and thus this is out of reach for me.
    But I have applided quadratic formula, but maybe incorrectly.
    Whats the correct formula? for number 11685574 I dont...
  3. VS 2010 Re: Textbox doesnt showing correct result

    Result of n*(n+1)/2 for 11685574 is: 68276325697525 so it doesnt match...
    There must be a solution without loop.
    Or I can start generating random sequences, but this will be as a last resort...
  4. VS 2010 Re: Textbox doesnt showing correct result

    I thought that converting code and doing some minor tweaking will be enough...
    How can it be speeded up without loop? Ive looked at ...
  5. VS 2010 Re: Textbox doesnt showing correct result

    Commenting out printConsecutive call does nothing:

    Private Sub findConsecutive(ByVal N As Long)
    Dim q2 As New System.Text.StringBuilder
    For last = 1 To N - 1
    For...
  6. VS 2010 Re: Textbox doesnt showing correct result

    Ive tried, but process is still slow... for example with number 458841

    Private Sub printConsecutive(ByVal last As Long, ByVal first As Long)
    Dim q As New System.Text.StringBuilder()
    ...
  7. VS 2010 Re: Textbox doesnt showing correct result

    Thanks, with += it works! Friend will be glad! Another question:
    Process is slow for small numbers - for example 11685574 takes long to display. Im sure that I had similar problem, but I dont...
  8. VS 2010 [RESOLVED] Textbox doesnt showing correct result

    Hi,
    this code I need to compile to one of my friend doesnt work properly - it doesnt print all numbers - only the last one and starting number.


    Private Sub Button1_Click(sender As...
  9. Replies
    8
    Views
    1,411

    VS 2010 Re: Convert TypeScript to VB.NET

    Sure, I thought about this, but conversion looks like this:


    Class Vector
    End Class
    publicstaticrotate(v:= Vector, center:= Vector, angle:= number)
    :Vector
    {Dim dx
    :number = (v.x - center.x)...
  10. Replies
    8
    Views
    1,411

    VS 2010 Re: Convert TypeScript to VB.NET

    Sure, but I was wrong.
    I want to convert .TS files from random projects.
  11. Replies
    8
    Views
    1,411

    VS 2010 Re: Convert TypeScript to VB.NET

    Yeah, Ive noticed that before. I want to convert some random TS files.
  12. Replies
    8
    Views
    1,411

    VS 2010 Convert TypeScript to VB.NET

    Hello,
    I want to convert these TS codes to VB.NET. Ive tried many compilers and converters, but I was unable to do that. Thanks.
    Sorry for throwing a lot of code...


    import Vector =...
  13. VS 2010 Re: Replace text inside brackets

    Thanks paul, this works!


    TextBox4.Text = (System.Text.RegularExpressions.Regex.Replace(TextBox4.Text, "\(.+\)", TextBox_5.Text))
  14. VS 2010 Re: Replace text inside brackets

    Yes, only one set of brackets.
  15. VS 2010 [RESOLVED] Replace text inside brackets

    Hi,
    stupid question, but how can I replace?

    (THIS-IS-A-SENTENCE),but it is for 147th place in content.
    with

    (NO-SENTENCE),but it is for 147th place in content.

    incl.brackets, not only text...
  16. Re: vb.net align imported coordinates to an image

    Better to show us your code...
  17. VS 2010 Pass parameter to another form within app without opening it

    Hi,
    I want to show text in second form textbox within form1, but without opening form2.

    Form2.Show()
    Form2.TextBox3.Text = "working!"
  18. VS 2010 Function does not return value in all code paths error

    Hi,
    I am facing "issue" "Function does not return value in all code paths" when clicking on a button. It is not really an issue since it works fine within app itself. The problem is when executing...
  19. Re: [RESOLVED] Allocating more memory in notepad

    Most likely there was some misconfiguration somewhere... on my brand new win10 notepad openens large files pretty fast!
  20. Replies
    17
    Views
    2,541

    VS 2010 Re: Improper calculation

    Finally, I was able to solve my issue. The problem was in expression itself.
    This
    ...
  21. Replies
    17
    Views
    2,541

    VS 2010 Re: Improper calculation

    I mean OPERATOR ( add, subtract, multiply, divide etc.) precedence value (precedence=1, precedence=2 etc.).

    This:

    New Token() With {.Operation = New Token.MathOperation(AddressOf...
  22. Replies
    17
    Views
    2,541

    VS 2010 Re: Improper calculation

    In dday9 s code theres a precedence value.

    New Token() With {.Operation = New Token.MathOperation(AddressOf AddNumbers), .Pattern = "^\+$", .Precedence = 1, .Type = Token.TokenType.Operator,...
  23. Replies
    17
    Views
    2,541

    VS 2010 Re: Improper calculation

    I have looked via your code and I have tried to alter the precedence from 2 to 1 and vice versa, but no luck.
  24. Replies
    17
    Views
    2,541

    VS 2010 Re: Improper calculation

    Yeah, I didnt noticed that, sorry, but even when I have used
    ...
  25. Replies
    17
    Views
    2,541

    VS 2010 Re: Improper calculation

    Thanks, I have successfully rewritten your EE to GUI, but it does not work...
    original expression
    ...
  26. Replies
    17
    Views
    2,541

    VS 2010 Re: Improper calculation

    That is not an option, since I have EE with BigInteger - I will be using it also.
    Problem is that I have a long list of strings for EE and computing LONG list of even small values takes veeeery...
  27. Replies
    15
    Views
    3,498

    Re: Many old unresolved threads

    Sure, thats one problem.
    But I am talking about threads where members seeking for help, but another posts were posted... and that thread is forgotten... even though is not resolved yet.
  28. Replies
    15
    Views
    3,498

    Many old unresolved threads

    Hi,
    There are a lot of unresolved threads for example https://www.vbforums.com/showthread.php?695401-Looking-up-data-from-one-Excel-Sheet-and-putting-on-another

    Even thought this thread is old,...
  29. Replies
    17
    Views
    2,541

    VS 2010 [RESOLVED] Improper calculation

    Hi,
    I am having issues with expression evaluator - it gives me incorrect results. For example - 1+2+3+4+5+6+7+8+9*10+11+12+13+14+15+16+17+18+19*20 etc up to 200 gives me correct result 265181.
    ...
  30. VS 2010 Re: Inserting lot of characters into multiline textbox is very slow

    @Shaggy Hiker,
    the same situation woith multiline removed.

    @wes4dbt,
    I have tried that prior, but it does not helped me at all - even when the number was significantly higher than string.
  31. VS 2010 Re: Inserting lot of characters into multiline textbox is very slow

    Pasting to RichTextBox solved the issue. But I am interested why its not possible to do that via textbox multiline.
  32. VS 2010 Re: Inserting lot of characters into multiline textbox is very slow

    Sure, but I have tried to paste text from clipboard to a blank txt document and it was without delays - only 5 seconds.
  33. VS 2010 Re: Inserting lot of characters into multiline textbox is very slow

    Sure, I have some idea to split large text into smaller blocks and load it that way, but Id like to know if it is possible to load a very long string at once.

    I have opened txt file with 6 000 000...
  34. VS 2010 Re: Inserting lot of characters into multiline textbox is very slow

    By pasting already copied long text via ctrl+v into textbox.
  35. VS 2010 Re: Inserting lot of characters into multiline textbox is very slow

    I want to build LTFV - large text file v iewer.
  36. VS 2010 Re: Inserting lot of characters into multiline textbox is very slow

    I have created new project just with textbox1 multiline and the problem is still here... it is not related to any code at all. Text that I have does not contains spaces, but I think its irrelevant -...
  37. VS 2010 [RESOLVED] Inserting lot of characters into multiline textbox is very slow

    Hi,
    everytime Im putting lot of text (letters, numbers, characters) into multiline textbox - copy, paste (more than 500,000), insertion process in painfully slow and app freezes...
    How can it be...
  38. Replies
    6
    Views
    1,867

    Re: Basic url opening in VS 2019

    Not neccessarily. The most simplest approach is to use

    Process.Start (https://www.google.com)
    and it opens that website in your default browser.

    btw, if your problem has been already solved,...
  39. Replies
    6
    Views
    1,401

    VS 2010 Re: Square decomposition brute force

    Yes and its just my personal project.
  40. Replies
    6
    Views
    1,401

    VS 2010 Re: Square decomposition brute force

    If I enter "6" into number of squares textbox, the software outputs your result:
    2104: 45 8 3 2 1 1
    2104: 42 18 4 0 0 0
    etc.
    In my first post it is with 4 squares.
Results 1 to 40 of 299
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width