Search:

Type: Posts; User: K3JAE

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. VS 2022 Re: Sending email from a specified account (Outlook)

    I did see this article prior to posting my original message but was unsure if that would even work. Especially when MS decides to force update Office 365 (and windows for that matter) and reset...
  2. VS 2022 Sending email from a specified account (Outlook)

    I have struggled to understand how to set my program to send email from a specified account in Outlook. I have multiple accounts and need to send email from a specific account so replies (if any are...
  3. Replies
    10
    Views
    1,729

    Re: Concatenating DV, TA

    I'll be more specific.

    I am setting this up to do a search of the correct table to pull a requested record. I cannot pre-load every record into a DV as that would take a considerable amount of...
  4. Replies
    10
    Views
    1,729

    Re: Concatenating DV, TA

    @jmcilhinney Fine, I am doing it wrong. This I already know thus why the original post. How do I correctly do what I asked in my original posting? Your assuming and making flippant, opinion based...
  5. Replies
    10
    Views
    1,729

    Concatenating DV, TA

    I need a fluid TableAdapter, BindingSource and Dataset that will change based on the then current year so I or someone else is not forced to have to re-code the program each year.

    I was hoping to...
  6. Replies
    6
    Views
    1,249

    Re: there is no row at position error

    It adds it to a DT.


    This is exactly what I am attempting to do yet all my attempted 'solutions' have failed. I am not exactly sure where to turn the LoadForm (renamed to isLoading) to TRUE when...
  7. Replies
    6
    Views
    1,249

    Re: there is no row at position error

    This is the exception:

    Event Type Moniker Event Time Duration Thread
    Activated Historical Code Context Exception thrown: 'System.IndexOutOfRangeException' in System.Data.dll ("There is no row at...
  8. Replies
    6
    Views
    1,249

    there is no row at position error

    I have a pretty extensive code and need a little guidance on one item:

    All works well until I want to add a record by using the 'add record' button.
    As soon as I do this I get a message 'there is...
  9. Replies
    22
    Views
    6,281

    VS 2019 Re: ARRAY summing issue

    Totally understand what your saying... !! :rolleyes: :D
  10. Replies
    22
    Views
    6,281

    VS 2019 Re: ARRAY summing issue

    Shaggy

    Thank you for the additional information and will look to incorporate those ideas....

    In relation to your negative tax in a state - this is for Truckers who have to pay fuel tax even if...
  11. Replies
    22
    Views
    6,281

    VS 2019 Re: ARRAY summing issue

    That resolved the issue. Many thanks Paul. Well done.

    Sorry I am not very good at manipulating arrays... I'm still trying to figure all the nuances out!
  12. Replies
    22
    Views
    6,281

    VS 2019 Re: ARRAY summing issue

    Taking away allowcurrencysymbol brings back a 0.00 as the result. Again, it appears it is totally ignoring the negative values or assigning a 0 instead of the true negative value. Using the numbers...
  13. Replies
    22
    Views
    6,281

    VS 2019 Re: ARRAY summing issue

    The above, as sent, produced a '$0.00'

    Added back into the new offer 'Globalization.NumberStyles.AllowCurrencySymbol' still came back with $641.91 i.e. still not using the negative numbers.
  14. Replies
    22
    Views
    6,281

    VS 2019 Re: ARRAY summing issue

    OK, Paul;

    Your 2nd solution at least brings back a value. However the expected value should be -$371.01 and I am returning back +$641.91

    There are many Negative numbers (sorry, should have...
  15. Replies
    22
    Views
    6,281

    VS 2019 Re: ARRAY summing issue

    Appreciate the quick response.

    However your adjusted offering still results in a result of '0.00'.

    Being arrays are a serious weakness for me, I do see the values in the array. What happens in...
  16. Replies
    22
    Views
    6,281

    VS 2019 ARRAY summing issue

    I cannot get this piece of code to give me a sum - it is only returning '0.00.' :blush: Can someone please look at it and tell me where I am dropping the ball?

    ALL items in the array have a value...
  17. Replies
    0
    Views
    609

    VS Code In a loop and can't stop.

    Please review the following code below.

    My intent is to check if a menu form is open and minimized. If it is, then once the main form is closed bring the minimized menu form back to the screen...
  18. Re: Trying to open a form if minimized and close a child

    I open a MENU program. I chose a particular sub-program. All programs are packaged into one 'program.' The MENU simply calls a separate program contained within the package. Once chosen the sub...
  19. Re: Trying to open a form if minimized and close a child

    That tells me nothing in relation to what I am trying to accomplish. I understand what FormClosing does.
  20. Trying to open a form if minimized and close a child

    Hoping I explain this properly.

    I have a form that opens a menu. With this menu I can open any one of 4 other 'sub programs' within.

    The menu Program is called PETS CONSOLE

    If I click on the...
  21. Re: Opening a Program from a minimized state then closing active program

    Not a possibility due to the stand-alone programs are not distributed throughout... thus why they are in multiple pieces... the request is for those with all pieces of the 'puzzle' so to speak.
  22. Opening a Program from a minimized state then closing active program

    Using the following code below I am attempting to close the current program and re-open a minimized program. If the initial program was closed by accident or on purpose, it will reopen it upon...
  23. VS 2019 Re: Populate textboxes with a zero if not included in search criteria.

    Noted and that make complete and total sense to me. Conversion to label will be done this evening!
  24. VS 2019 Re: Populate textboxes with a zero if not included in search criteria.

    Perfect! I will read up on this and study it to see if I am capable of implementing this.

    I am totally unfamiliar with the creation of a CheckedListBox from CheckedItems. This is completely new...
  25. VS 2019 Re: Populate textboxes with a zero if not included in search criteria.

    I'll have to study this in depth as this is beyond my understanding a bit.

    I do like the idea and actually was flirting with the idea of putting little check boxes by each state and checking them...
  26. VS 2019 Re: Populate textboxes with a zero if not included in search criteria.

    There are 3 text boxes that have formulas used to calculate totals and display them. Those would be TOTAL MILES, TOTAL GALLONS and MPG calculations. I could change those to labels if need be.
    The...
  27. VS 2019 Populate textboxes with a zero if not included in search criteria.

    If it can be done: Is there a way to put a '0' in all the textboxes of States that were not included in a search criteria?

    For Clarification...
    Assume I search Tennessee (TN) (for Miles driven...
  28. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT

    Good idea.... Thanks for those who assisted and it is much appreciated. I have learned a LOT and will utilize that new knowledge in my many other forms where required.

    Hats off to ALL for the...
  29. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT

    Just as a tid-bit add-on of a clarification... MILES can never be '0' if there is ANY gallons purchased. To put it simply one cannot by fuel in a state if one has not entered into said state.
  30. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT

    Let me clarify my request:

    I am look to populate 2 pieces of data : Miles and Gallons into 2 separate textboxes for each state.

    First step:
    If the data returned is NULL convert to a '0'.
    ...
  31. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT

    Your code results in the same thing I initially submitted above that appears to work the same. Please understand, I am not being argumentative, just trying to understand what functionally is...
  32. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT

    The above handles the issue of a null return but NOT the issue of a "0" return. The intended goal is to color a returned "0" to gray. There is no reason to color a null return which is what your code...
  33. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT

    That is perfect. I forgot about doing it that way... DOH!

    I did make a modification somewhat so my form did not crash on a NULL return for a state... Wondering if this is a solid way to get around...
  34. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT - RESOLVED

    I do have another question:

    Is there a quick and dirtly way to do the following as opposed to coding in every state text field?



    Private Sub StateColor()
    tbALMiles.ForeColor =...
  35. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT - RESOLVED

    I have resolved my issue by utilizing jmcilhinney's 3rd option. Thank you sir. :D:thumb: I literally just deleted near 1000 lines of code by utilizing that method which works flawlessly. Much...
  36. Replies
    22
    Views
    2,675

    Re: Attemping to pull in lines from a DT

    OK, I had originally created a SQL for each state. This worked fine, but was lengthy code requiring multiple open/closing of SQL connections, as you can imagine. What I was hoping to do is get the...
  37. Replies
    22
    Views
    2,675

    Attemping to pull in lines from a DT

    I am trying to populate 2 fields on a VB form based on a return of the SQL. The SQL brings back exactly what I want.
    I cannot get passed the 1st state before I get a Index out of bounds. I normally...
  38. Replies
    42
    Views
    5,959

    VS 2019 Re: Trouble populating then updating a text box

    Actually, this is exactly what I want... I need to continually update the values of the INVOICE_TOTAL and the WARRANTY_TOTAL of that record as long as I am in that record and an edit is made or...
  39. Replies
    42
    Views
    5,959

    VS 2019 Re: Trouble populating then updating a text box

    The message just above refers to this post... Sorry, thought I had done a quote.
  40. Replies
    42
    Views
    5,959

    VS 2019 Re: Trouble populating then updating a text box

    OK, in relation to the above.. This confuses me then...

    When I run the SQL in MSSMS it returns the 2 proper values side by side. I tried coding initially this way and this did not work...
Results 1 to 40 of 98
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width