Search:

Type: Posts; User: OptionBase1

Page 1 of 13 1 2 3 4

Search: Search took 0.36 seconds.

  1. Replies
    8
    Views
    206

    Re: Date Format

    Ok, I'll bite.

    I've just entered a date of "03/06/2021". Is that a correct format? Yes?

    Well, guess what. I entered that to represent June 3rd, 2021. In other words, I entered "DD/mm/yyyy"....
  2. Replies
    2
    Views
    114

    Re: Adding variables in HTML emails

    In your first block of code you are never assigning a value to emailmessage.Body
  3. Replies
    14
    Views
    654

    VS 2010 Re: [RESOLVED] Form2 is opened repeatedly

    Yes, of course the introduction of a new variable that isn't actually used in your code fixed it...
    ...and not the fact that you also changed the logic of your If statement just like was suggested...
  4. Replies
    15
    Views
    308

    VS 2019 Re: Printing form on 8 1/2 x 11 paper

    Easily found by searching for what e is.

    https://docs.microsoft.com/en-us/dotnet/api/system.drawing.printing.printpageeventargs.marginbounds?view=dotnet-plat-ext-5.0
  5. Replies
    6
    Views
    191

    Re: Connector ODBC Wizard

    Look at the variable names in your Line Input statements and compare them to the variable names in your SQL connection string.

    Good luck.
  6. VS 2010 Re: Incremental generation is slow even for small values

    Also, since you have struggled with assigning values to a BigInteger object in numerous past threads over the course of the past couple years, and have been shown the proper way to assign values to...
  7. VS 2010 Re: Incremental generation is slow even for small values

    The way you are doing it now - updating TextBox4.Text for every iteration of the loop - is extremely inefficient for a multitude of reasons.

    Use a StringBuilder object to build your concatenated...
  8. 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.
  9. Replies
    35
    Views
    721

    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...
  10. Replies
    10
    Views
    309

    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...
  11. Re: Calculate Age-February issue

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

    Good luck.
  12. 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 =...
  13. 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.
  14. 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
    '
  15. Replies
    16
    Views
    554

    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...
  16. Replies
    10
    Views
    431

    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...
  17. Re: How to implement chart - Cairo/RC5 or other?

    My snark was not at all directed at you.

    Also,





    References this:
  18. 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++++++++++
  19. 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...
  20. Replies
    5
    Views
    397

    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...
  21. Replies
    46
    Views
    1,174

    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...
  22. Replies
    46
    Views
    1,174

    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...
  23. Replies
    46
    Views
    1,174

    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...
  24. Replies
    7
    Views
    478

    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.
    ...
  25. Replies
    7
    Views
    478

    Re: Simple NAS Appliances

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

    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...
  27. Replies
    2
    Views
    7,873

    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.
    ...
  28. Replies
    311
    Views
    29,063

    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...
  29. Re: Instantiate internal class object with name in string

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

    A lot to read there, but very well worth it.
  30. Replies
    18
    Views
    709

    Re: Get external file path

    Good luck then.
  31. Replies
    18
    Views
    709

    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...
  32. Replies
    18
    Views
    709

    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$
  33. 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...
  34. 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.
  35. Replies
    12
    Views
    495

    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"...
  36. 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.

    ...
  37. Replies
    4
    Views
    475

    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.
  38. 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.
  39. 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...
  40. Re: Windows 7 and Windows 10 compile differences.

    I think we can all read. I can read this post:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width