dcsimg

Search:

Type: Posts; User: OptionBase1

Page 1 of 13 1 2 3 4

Search: Search took 0.20 seconds.

  1. VS 2019 Re: [RESOLVED] Need to write stringbuilder data as test during debugging.

    :thumb::thumb::thumb:
  2. Replies
    5
    Views
    227

    Re: hELP WITH LOADGRID QUERY

    The tail end of your "Group By" query will look something like this:

    "WHERE [MACHINENUMBER] ='2'GROUP By VendorName"

    You are missing a separating space.
  3. Re: Save Serial Data to Text File

    Bummer.
  4. Re: Save Serial Data to Text File

    Use writeFile.WriteLine instead of writeFile.Write
  5. Re: Save Serial Data to Text File

    Your writeFile command shouldn't be doing another serial port read. It should be writing the data already read from the Serial port that you've done in the code above it.

    That being said, once...
  6. Replies
    8
    Views
    222

    Re: What do really large numbers mean

    1E99 :)

    I've been good at math all my life. I competed in math contests all throughout school including at the national level. To me, 6 quadrillion is exactly as meaningful as 1E99 in most...
  7. Re: Partial prime factorization of big number using trial division

    The same poster posted recently about wanting to generate 100 digit primes in under 4 minutes and several of us attempted to explain why that isn't feasible. So, they come back and then talk about...
  8. VS 2019 Re: Visual Basic Do while loop condition for termination.

    Holy cow. You are doing exactly what I was afraid you are doing in your code.

    This is how the flow of your program should work.

    1. User inputs string to encrypt.
    2. Code takes that string and...
  9. Re: Partial prime factorization of big number using trial division

    Using your code, if someone were to enter a prime number N, your while loop checks if N is divisible by every number from 2 to N.

    Using just Long variables, I ran your code against the number...
  10. VS 2015 Re: Swap Puzzle not swapping pieces after shuffling

    You are much more likely to get help if you post code directly in the thread. Forcing us to download a file from a 3rd party host will cause many members on this site, who would normally be inclined...
  11. Replies
    26
    Views
    693

    VS 2019 Re: is it a Variable or an Array?

    So your code is continuously writing the encrypted results "piecemeal" to a textbox from the go? That is very inefficient. If your code is doing ANYTHING with a UI element (textbox, label, button,...
  12. Replies
    10
    Views
    252

    Re: possible causes with this error

    Do you want people to help you or not? Seems like not.
  13. Replies
    26
    Views
    693

    VS 2019 Re: is it a Variable or an Array?

    The fact that you have 3741 lines of code in your encryption process is sort of a red flag right there. That seems excessive just from the standpoint of me wondering what is all going on in those...
  14. Replies
    26
    Views
    693

    VS 2019 Re: is it a Variable or an Array?

    passel said what I was going to say, worded much better than I could have.

    Basically, if you post code here, you will likely get really good feedback on what can be done to speed it up. If you...
  15. Replies
    26
    Views
    693

    VS 2019 Re: is it a Variable or an Array?

    I think the OP got that sorted from the other thread.

    I think my point may have been missed.

    Imagine you have a friend who has built their own house. They tell you they are having some...
  16. Replies
    26
    Views
    693

    VS 2019 Re: is it a Variable or an Array?

    Assuming this thread is related to this other thread http://www.vbforums.com/showthread.php?882323-VB-Textbox-display-never-reaches-100

    The code you posted in that other thread that you were using...
  17. Replies
    1
    Views
    131

    Re: PHP code showing on web page?

    https://stackoverflow.com/questions/20034065/php-end-tag-is-showing

    https://stackoverflow.com/questions/27031056/why-is-my-webpage-showing-the-very-end-of-my-php-code-at-the-very-top-of-the-pag
    ...
  18. Re: Should we push VB6 forward or hinder VB6 and let it die soon?

    I'm breaking my promise and coming back to make two points.

    One is that I wasn't aware that dreammanor wasn't a native English speaker (which I would posit is a compliment to dreammanor). So I'll...
  19. Replies
    47
    Views
    1,278

    Re: Parsing XML Response Properly

    Not sure of the nuances of GPLv3, but I doubt that that request is binding, since you are posting it on a public forum (he can always claim he never saw it and you can't prove he did since he isn't...
  20. Replies
    19
    Views
    471

    Re: Detecting workstation inactivity time?

    I don't understand that response, because what you are trying to accomplish is reinventing the wheel.

    Windows has the ability to launch a screen saver when a device is idle. But idle isn't just...
  21. Replies
    19
    Views
    471

    Re: Detecting workstation inactivity time?

    Based on the information you've provided (which may not be a complete overview of the scope of what you are working on, which is fine), these are my thoughts.

    Basically you are asking, how can I...
  22. Replies
    19
    Views
    471

    Re: Detecting workstation inactivity time?

    For the sake of clarification for your own benefit for getting relevant help - Are you saying that the customer is in front of a PC, potentially watching a YouTube video, and the cashier is sitting...
  23. Replies
    7
    Views
    327

    Re: Prime number generator for big number

    Yes, that is a good point.

    However, how many primes (approximately) are in the specified range?

    Given a range of whole numbers 1 to n, there are approximately n/ln(n) prime numbers. That also...
  24. Re: Should we push VB6 forward or hinder VB6 and let it die soon?

    My last post in this thread.

    The idea that a person (Elroy, who I'll name even if you won't because he was clearly one of the targets of your complaint) - who has been using VB 6.0 for over 20...
  25. Replies
    19
    Views
    471

    Re: Detecting workstation inactivity time?

    If this is for a device in a customer/cashier environment, why does that matter?
  26. Re: Should we push VB6 forward or hinder VB6 and let it die soon?

    So people still using VB 6.0 are causing VB 6.0 to die faster? By your logic, are people that moved from VB 6.0 to VB.NET years ago somehow still keeping VB 6.0 alive?

    No clue what your point is....
  27. Re: System.Net.Dns.GetHostEntry Not Returning Consistent Hostname

    The fact that you are seeing this as a result of running VB.NET code doesn't make it a VB.NET issue.

    We have no idea how your LAN DNS is set up, how your local PC name/DNS suffix is configured,...
  28. Replies
    7
    Views
    327

    Re: Prime number generator for big number

    That being said, if you define "prime number generator" as a function that does this (in very simplified pseudocode)

    function PrimeNumberGenerator As BigInteger
    n = randomWholeNumber
    do...
  29. Replies
    7
    Views
    327

    Re: Prime number generator for big number

    "Generated" implies that a prime number is the result of some mathematical function where you plug in a number x and f(x) is prime. Prime numbers are not generated.

    That being said, a randomly...
  30. Re: Should we push VB6 forward or hinder VB6 and let it die soon?

    I think as stated, the premise is nonsensical.

    Here's three programmers:

    The first uses VB 6.0 with RC5 and all kinds of other 3rd party OCX files.
    The second uses VB 6.0 with no 3rd party OCX...
  31. Re: Passing a ParamArray from one routine to another

    For the record (not that it helps much), but this works:


    Call ProcTwo(varValues(0), varValues(1), varValues(2))

    Not sure of all the nuances with usage of a ParamArry, but perhaps things need...
  32. Re: Visual studio will not load a project file...

    Probably not what you want to hear, but to me, the likelihood that Visual Studio installed properly with the exception of file types not being associated is essentially zero. Said another way, it is...
  33. VS 2019 Re: How can I split a string and get the value of the entire other side?

    If there is always a "|" separating the values, use "|" as the Split character.

    Note: Based on your example there will be a leading space in the second value (and a trailing space in the first...
  34. VS 2019 Re: New value not setting in For each statement

    Debug your code. Read through it line by line as it would be executed. You will see that each time the loop is executed, topVal is getting (re)set to 30, so pb.Top is going to be 30 for all of the...
  35. VS 2019 Re: Attempting to re-coup memory by erasing arrays between calls.

    You haven't indicated why you seem convinced that the slowdown is taking place specifically with the snippets of code you included. You yourself stated in your opening post that you have 4000 lines...
  36. Re: Rules for UserControl getting grayed/disabled at design time?

    Easily reproducible.

    Create a new standard exe project.
    In that new project, add a user control.
    Close the newly created user control window.
    Add an instance of this user control to the form. ...
  37. Re: Setting up SQL Server on a remote server

    You yourself said this is a "test server". The suggestion I offered was to assist with that testing, no more, no less.

    If you have a domain the other obvious option is to join this test database...
  38. Re: Setting up SQL Server on a remote server

    Good luck getting more help when you complain about the 5 people who already each spent their own time voluntarily trying to help you out.





    ...

    I was going to try to assist by...
  39. Replies
    7
    Views
    274

    VS 2012 Re: HUGE issue with EWS!!

    From your browser you should be able to get the details of the certificate installed. How that is done varies from browser to browser but it should tell you the valid dates. If it is valid, is it...
  40. Replies
    7
    Views
    274

    VS 2012 Re: HUGE issue with EWS!!

    What happens when you try to manually navigate to the URL referenced in your code with a web browser?

    https:// SERVERADDRESSXXXXXX.XX/EWS/Exchange.asmx

    (Using the actual URL of course)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width