Search:

Type: Posts; User: OptionBase1

Page 1 of 13 1 2 3 4

Search: Search took 0.37 seconds.

  1. Re: How to view OCX, DLL and DCR files in embedded Documents, using object and embed

    Better ask Microsoft directly, since no one here has control over how IE is coded.
  2. Replies
    14
    Views
    196

    Re: Prevent Form_Activate

    Sounds like you are trying to solve the wrong problem. If you have code in Form_Activate that you don't want to run when that event happens, then it probably doesn't belong in Form_Activate.

    As...
  3. Replies
    8
    Views
    179

    Re: Trying to identify the *.BAS file

    Are the 80 projects 80 previous versions of this same program? If your instinct is to ask, "How would I know that?" in response to that question, then the next question is, do the .vbp files have...
  4. Replies
    16
    Views
    266

    Re: Calculate Age-February issue

    Fantastic. That example doesn't address my post at all.

    Good luck.
  5. Replies
    16
    Views
    266

    Re: Calculate Age-February issue

    If cur_day < Dy Then
    If cur_month = 2 Then
    cur_day += 31
    Else
    cur_day += DateTime.DaysInMonth(cur_Year, cur_month)
    End If
    cur_month -= 1
    End If
    ...
    rest_day =...
  6. Replies
    16
    Views
    266

    Re: Calculate Age-February issue

    I've never come across anything that assumes February has 31 days.

    It is hard to help you fix your function when you don't post any code.
  7. Re: Structuring a Select Case Block (With a Single Data Type testexpression)

    Should work, but probably not the best solution:


    Select Case mySingle
    Case Is < 12
    '
    Case 12
    '
    Case 24
    '
  8. Replies
    16
    Views
    343

    Re: Stupid Things Developers Do

    They write crappy code that results in horrendous security vulnerabilities.

    Of course, they are probably being paid to do so by government agencies - domestic and foreign. After all, software has...
  9. Replies
    10
    Views
    356

    Re: Unique System Code

    You've done a poor job of explaining your goal and problem. You say you want to ensure that the app runs only on selected systems, so why do you care which user uses it? Or do you want to allow...
  10. Re: How to implement chart - Cairo/RC5 or other?

    My snark was not at all directed at you.

    Also,





    References this:
  11. Re: How to implement chart - Cairo/RC5 or other?

    I'm sure the OP is very pleased with all this helpful discussion. :rolleyes:

    Looking forward to Notepad++++++++++
  12. Re: Start Service on remote computer using different credentials

    I don't have an answer to your specific question, but can offer several alternate options:

    1. Configure the service so that it will restart automatically if the service fails.

    2. Configure a...
  13. Replies
    5
    Views
    359

    VS 2010 Re: Failed to detect process

    Always read the documentation:

    https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.getprocessesbyname?view=net-5.0

    "The process name is a friendly name for the process, such...
  14. Replies
    46
    Views
    1,004

    Re: join three tables to get Sum

    If all you are wanting out of those two tables is the total sum of one column from each, then I don't understand why there is a need to do any unions or any complex queries that try to get both all...
  15. Replies
    46
    Views
    1,004

    Re: join three tables to get Sum

    As I pointed out in your other similar thread, this is exactly why you need to specify your exact needs in the first post. The number of people willing to help you will decrease significantly if you...
  16. Replies
    46
    Views
    1,004

    Re: join three tables to get Sum

    Just a heads up - this is likely a carryover from this other thread:

    https://www.vbforums.com/showthread.php?890347-Sum-data-from-two-tables

    where, in that thread, the OP also continued to...
  17. Replies
    5
    Views
    280

    Re: Simple NAS Appliances

    If you haven't checked out the thread below, it might be worth a look. There are a few workarounds to get Flash to still work.
    ...
  18. Replies
    5
    Views
    280

    Re: Simple NAS Appliances

    Consolidation is probably a small factor, but everything going cloud is likely the main reason.
  19. Replies
    9
    Views
    342

    Re: Turn On and Off the printer spooler

    From command line


    net stop spooler
    net start spooler


    That being said, I'm not actually sure what the user experiences if they try to print while the spooler is stopped. Also, if the user...
  20. Replies
    2
    Views
    7,850

    Re: [JAVASCRIPT] - Calculating Pi

    Technically, the OP code is a Monte Carlo simulation that will generate a reasonable approximation of pi. But every time that code is ran, a slightly different result is likely to be returned.
    ...
  21. Replies
    311
    Views
    28,622

    Re: Hamilton 5x World Champion ?

    Hamilton signed a 1 year contract for 2021. Darn. Russell in that seat would have made the entire season more exciting.

    Now its going to be Hamilton winning 15+ races, locking up the driver and...
  22. Re: Instantiate internal class object with name in string

    :thumb::thumb::thumb::thumb:

    A lot to read there, but very well worth it.
  23. Replies
    18
    Views
    650

    Re: Get external file path

    Good luck then.
  24. Replies
    18
    Views
    650

    Re: Get external file path

    I'm not following the logic behind your code at all. The registry setting that you posted indicates that you are passing the filename that was right-clicked as a parameter to your program (that's...
  25. Replies
    18
    Views
    650

    Re: Get external file path

    Is the filename being passed to your application as a parameter? If so, then in Form_Load you should be able to add something like this:


    txtFile.Text = Command$
  26. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    But, according to "Eastern Media", China hasn't had any cases of Covid in something like 8 months, so if that is true, then you have nothing to worry about. Perhaps "hemispherical media" are quite...
  27. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    That makes it sound like a "programming master" doesn't need to actually create it, just have the idea to do so. Seems oddly fitting.
  28. Replies
    12
    Views
    449

    Re: Help with IO.DirectoryInfo

    Remember - accessing a share on a remote server requires you have permissions in TWO places:

    1. The "Share" permissions.
    2. The "Folder" permissions.

    If all you've changed is the "Folder"...
  29. Re: Looking for Microsoft's ExcelADO Sample Files

    This should be the file you are looking for. Added code tags to prevent it from being a hyperlink so that it can't be accidentally executed.

    ...
  30. Replies
    4
    Views
    422

    Re: Ghost shortcut

    Assuming Windows 10 still has a functional command prompt (I don't use W10), navigate to your desktop folder from the command prompt and try to delete the file from the command prompt.
  31. Re: VB.NET DataGridView pick Max NEGATIVE Number under 0 or Above

    I'm not sure if I'm fully following your goal, but it sounds like what you are looking for is .Min rather than .Max.
  32. VS 2019 Re: Need help with DrawEllipse() and Me.Refresh() and Label1.text

    For the sake of the thread, if your issue is resolved, then you should mark the thread as resolved.

    If your issue isn't resolved, then you need to explain what isn't working yet, and, more...
  33. Re: Windows 7 and Windows 10 compile differences.

    I think we can all read. I can read this post:
  34. Replies
    5
    Views
    220

    Re: When enter is not Enter

    Right, and the Enter function has nothing to do with detecting the pressing of the Enter key.

    One way is to check for a KeyCode value of 13 inside of the KeyDown event.
  35. Replies
    5
    Views
    220

    Re: When enter is not Enter

    You seem to be confused. That Sub has nothing to do with the Enter key being pressed. It will execute when the TextBox is "entered", like when the cursor is moved to that textbox.
  36. Re: Windows 7 and Windows 10 compile differences.

    Absolutely, 100%, and provably so, when you write this:



    when asked if you've done a file comparison. That's the equivalent of saying two books must be identical if they have the same number...
  37. Re: Windows 7 and Windows 10 compile differences.

    Have you examined the resulting .exe files from your Windows 7 compile and your Windows 10 compile to see if they actually differ?
  38. Re: Windows 7 and Windows 10 compile differences.

    If you suspect that the resulting exe files from compiling on Windows 7 vs. compiling on Windows 10 are different, if it were me, the first thing I would do is a bit comparison of the exe files to...
  39. Replies
    22
    Views
    578

    Re: Attemping to pull in lines from a DT

    Your select statement is returning 3 columns of data, so .GetValue(n) is only valid when n = 0, 1, or 2. Anything greater than 2 is going to be an index out of bounds.

    Beyond that... Well, not...
  40. Replies
    32
    Views
    687

    Re: Sum data from two tables

    Why would you think that those column names in the query are suddenly accessibly by name as VB variables?

    You seemed capable of accessing values inside of a recordset in earlier code, and now you...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width