Search:

Type: Posts; User: OptionBase1

Page 1 of 13 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    4
    Views
    163

    VS 2019 Re: vb webview2 new window

    We know two things about members: their chosen name, and their own words. I truly feel sorry for someone who believes that racism is the root of all slights, even when it is provably impossible for...
  2. Re: Modifying an array based on a structure within a function

    Did you read the documentation for Replace?

    https://docs.microsoft.com/en-us/dotnet/api/system.string.replace?view=net-5.0

    "Returns a new string ..."
  3. Replies
    8
    Views
    281

    VS 2019 Re: Protecting files from theft

    The OP indicated that this is to be used on remote devices in an offline mode, so there wouldn't be a connection back to the server to perform the bolded action.
  4. Replies
    16
    Views
    382

    Re: Loop and search in bin file for bytes?

    That's a pretty cavalier attitude for several reasons. Its not for you to tell others why they participate on this website.

    Good luck.
  5. Replies
    4
    Views
    179

    Re: VB6 Windows Server Migration

    My understanding is that you need as many RDS CAL's as you have total users. If you have 5 users, you need 5 CAL's, even if all 5 won't ever be connected at the same time.

    I used to work for a...
  6. Re: Losing picture on command button

    Why can't you post the code of these functions you mentioned in your opening post?
  7. Replies
    5
    Views
    190

    VS 2019 Re: .net windows frameworks

    Are you asking if there is a shortcut way to do this calculation by using some sort of built-in properties of a radio button? If so, the answer is no.

    Presumably, this homework assignment has...
  8. Replies
    8
    Views
    402

    Re: PDF Control

    Got it (I think...). So the true point (0, 0) on the image might not even be on screen if the person is scrolled over to the right and down a bit. And the "as-is currently displayed" visible...
  9. Replies
    8
    Views
    402

    Re: PDF Control

    Unless I'm missing something, it seems like this is a relatively simple solution.

    If x and y are screen coordinates, then to turn them into coordinates within the control itself:


    xControl = x...
  10. Re: Anyone who have the "Additional Visual Basic 5.0 & 6.0 Samples" files?

    Can't help you there. Maybe you could try accessing that page through a proxy or something.

    Is there a specific sample from that page you are wanting to download?
  11. Re: Anyone who have the "Additional Visual Basic 5.0 & 6.0 Samples" files?

    Visit that page on the Wayback machine. You should find what you are looking for.
    ...
  12. Re: Searching Active Directory Sub OU's with script

    https://devblogs.microsoft.com/scripting/how-can-i-list-all-the-sub-ous-in-an-ou/

    https://stackoverflow.com/questions/23899716/vbscript-for-nested-ous
    ...
  13. Re: [RESOLVED] Help with Geometric Median formula

    Just to add one final note to this, the approach of locating the point in the set such that the total distance to all other points is how the geometric medoid is found.

    So, in your program, you...
  14. Re: Unable to connect to any of the specified MySQL hosts

    One other possibility is that your server is set up to allow connections in to the database from the Internet, but your ISP (from the device running your VB.NET) application is blocking outbound...
  15. Re: Unable to connect to any of the specified MySQL hosts

    I imagine that the database is only directly accessible from the server itself. It works via the web interface because presumably the web interface you are connecting to is on that same server.
    ...
  16. Re: Running VB6 and VB6 apps on Raspberry Pi, or any Linux

    FWIW, this thread has motivated me to install a copy of Delphi that I won in a programming contest over 20 years ago. It was a C++ programming contest, and I also won a copy of Borland C++ Builder...
  17. Replies
    322
    Views
    30,993

    Re: Hamilton 5x World Champion ?

    Great race. Hamilton deserved that win. Red Bull with gremlins in both cars in the first race is a bit disappointing. If only they had the rock solid stability of Mercedes...

    Bottas just has to...
  18. Replies
    322
    Views
    30,993

    Re: Hamilton 5x World Champion ?

    :rolleyes: :rolleyes: :rolleyes:
  19. Replies
    322
    Views
    30,993

    Re: Hamilton 5x World Champion ?

    Max, with damage, still on the pole by a fairly wide margin. The midfield was super tight. Should be a really good race tomorrow. Hopefully it isn't ruined by Mazepin doing something idiotic.
  20. Re: How to code to run VB6 app without needing "run as administrator" in Win 7

    This is probably the culprit. Where do the ini file(s) exist?
  21. Replies
    12
    Views
    430

    Re: Simulate Enter key pressed

    The KeyPress Sub is defined as Private by default. To call it from another form, you would need to change it to Public.
  22. Replies
    12
    Views
    430

    Re: Simulate Enter key pressed

    The ugly way of doing it is to just do something like this:



    Private Sub YourSub()
    'Some code
    'Some other code
    'More code
    'Hey, I need to simulate Enter in my Textbox using the next...
  23. Replies
    12
    Views
    430

    Re: Simulate Enter key pressed

    Explain why my suggestion won't work for you.
  24. Replies
    12
    Views
    430

    Re: Simulate Enter key pressed

    Do you actually need to do that or do you just need to be able to run the same code that normally runs when enter is pressed? If so, then just do something like this:


    Private Sub...
  25. Replies
    322
    Views
    30,993

    Re: Hamilton 5x World Champion ?

    Cautiously optimistic that Max can be battling Hamilton for the win on Sunday. He looked good in FP1 and FP2. I'm a bit disappointed in the gap from Max to Perez, but it is very early obviously.
    ...
  26. Replies
    9
    Views
    334

    Re: Boolean function

    That's not going to work.

    It should be like:


    ElseIf Integer.TryParse(TxtNumber.Text, DecNumber) = False Then


    And because of that faulty code, once fixed you will likely have an extra End...
  27. Re: Combobox Multiple Conditions

    It should work if you enclose the conditions after Not with parenthesis:


    If Not (CmbProcess.SelectedItem = "Winding" Or CmbProcess.SelectedItem = "Gap Seal" Or CmbProcess.SelectedItem =...
  28. Re: Detecting and avoiding duplicate data stored in a loaded CSV

    Having worked in a place a while ago that had convoluted nonsense happening on a large scale, I can only assume that is what you are having to work with here.

    I think I understand your goal, but...
  29. Re: [RESOLVED] Help with Geometric Median formula

    No, you haven't misunderstood, I did. I was under the mistaken impression that it would need to be a point within the set. After further reading of the Wikipedia page discussing the Geometric...
  30. Thread: TempPE

    by OptionBase1
    Replies
    5
    Views
    338

    Re: TempPE

    Rather than doing a full system wipe/reinstall of everything, simply reinstalling Visual Studio may solve the problem.

    But if you do anything with any sensitive information with that computer...
  31. Thread: TempPE

    by OptionBase1
    Replies
    5
    Views
    338

    Re: TempPE

    A Google search for vseqrntn.bin does lead to results all seeming to involve a virus infection.

    What is happening now is almost certainly nothing that is directly related to Visual Studio itself,...
  32. VS 2019 Re: Console application that declares 2 classes Employee(base) and Receptionist(deriv

    Code is just text, which is easily copied and pasted. Please don't post screenshots of code. It makes it impossible for us to copy/paste to modify to offer suggested changes, and makes it very...
  33. Re: Help with Geometric Median formula

    I keep an eye on the CodeBank threads, so I'll take a look once you post it.

    If many could be 1,000,000, then the brute force method is problematic, since for each point you are calculating...
  34. Re: Help with Geometric Median formula

    How many potential points are you dealing with? As the Wikipedia article points out, there isn't a plug and chug formula for this.

    One option is to just brute force it. For each point in the...
  35. Replies
    2
    Views
    163

    Re: VB6 Circle Method

    The parameters are:


    Circle (x, y), radius, [color, start, end]

    Since everything after radius is optional, your call is valid, but 0 is ending up being the color and pi the start point. Start...
  36. VS 2010 Re: Character insertion process is very slow

    Stop using a timer for this, it is pure insanity. This is obviously related to a previous thread of yours where you were looking to replace characters in a pattern, like replace the first 8 spaces...
  37. Re: Can someone check my algorithms? (cubic mean and power mean)

    Ok. You haven't. Multiplying a term by a value that varies simply by the location of said term in the series (as you are doing when you use the value of x anywhere in your calculation) is wrong.
    ...
  38. Re: Can someone check my algorithms? (cubic mean and power mean)

    Unless I'm missing something, the calculations are not correct.

    Use {1, 2, 3} as an example.

    Taking the individual "sum" terms:

    CDec(1 * (3 / (0 + 1))) = 3
    CDec(2 * (3 / (1 + 1))) = 3...
  39. Re: How to have an automated href hyperlink on a local domain server of mine???

    Ask the people who told you that you can do that how to do that. I doubt it was anyone from this site.
  40. Re: Minimum Top and left movements restricted to 1?

    I believe the .Top and .Left values are Integers, so adding something like 0.3 to them will leave the value unchanged.

    One fix is to use variables that are singles, modify the values of those...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width