Search Results - VBForums

Search:

Type: Posts; User: dbasnett

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds.

  1. Re: Loop through array to get min and max values

    WOW! Let me guess. This is the only question you intend on asking here.
  2. Replies
    21
    Views
    374

    VS 2012 Re: DbProviderFactory - Experiences

    Thanks. Once I overcame the ________ of the underlying systems it went quickly. Most of the SQL statements are the same, and the ones that aren't were covered by the underlying configuration system...
  3. Replies
    2
    Views
    65

    VS 2008 Re: Need help with decimals and currency!

    Replace this line, lstContents.Items.Add(strGrossPay) with



    Dim grossPay As Decimal
    'verify that the line is a number
    If Decimal.TryParse(strGrossPay, grossPay) Then
    ...
  4. Replies
    21
    Views
    374

    VS 2012 Re: DbProviderFactory - Experiences

    So my first application is being tested by the end user, and FWIW it is capable of running on DB2, MS-SQL, and MariaDB just by flipping a switch.

    During the install I did have difficulty. I...
  5. VS 2010 Re: Math Question (Discounts and such)

    'based on the example
    'cash discount - x
    Dim cashDisc As Decimal

    'item price
    Dim itemPrice As Decimal = 100D

    'total off
    Dim totOff As Decimal = 44D
  6. VS 2010 Re: Math Question (Discounts and such)

    Checked at...
  7. Thread: Faking Time?

    by dbasnett
    Replies
    19
    Views
    316

    Re: Faking Time?

    Here is the same code with two alternatives. Option A doesn't show seconds, option B runs the timer at a higher interval.


    Dim gameYear As TimeSpan = TimeSpan.FromHours(12) '12 hours = 1...
  8. VS 2010 Re: Weather app and website information gatherer

    If you live in the US NOAA has an XML version of the weather. If you click on these two links
    ...
  9. Thread: Faking Time?

    by dbasnett
    Replies
    19
    Views
    316

    Re: Faking Time?

    Can the calculation be based on one assumption; 12 hours = 1 gameyear?


    ' 730.485 hours in the average month, 30.436875 avg. days per month
    Dim gameYear As TimeSpan =...
  10. Replies
    3
    Views
    77

    Re: Too many mysql connections

    Are you closing the connections after using them? Show your code.
  11. Replies
    8
    Views
    145

    Re: [RESOLVED] Stop MethodInvoker

    I agree with ident, use IsBackGround and do NOT use .Abort. When I write code that uses threads I use the following pattern. It creates a structure that contains the thread and a...
  12. Re: Validation -- is there a more steamlined method?

    This example has three textboxes for numeric input, and three labels with error messages


    Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles Me.Shown
    'setup errors
    ...
  13. Thread: Toshiba

    by dbasnett
    Replies
    8
    Views
    220

    Re: Toshiba

    Up to 5 this morning already.
  14. Thread: Toshiba

    by dbasnett
    Replies
    8
    Views
    220

    Re: Toshiba

    One sounds great!
  15. Thread: Toshiba

    by dbasnett
    Replies
    8
    Views
    220

    Re: Toshiba

    What TG said.
  16. Thread: Toshiba

    by dbasnett
    Replies
    8
    Views
    220

    Re: Toshiba

    Ad is at the bottom. I do have cookies enabled. How many times? Enough that I created this thread. It seems to show on almost every page for a period of time, then it stops.
  17. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    "The aircraft deliberately skirted Indonesian airspace as it went off the grid and veered off course, a senior Malaysian government source told CNN."

    Has CNN had a 'source' that actually appeared...
  18. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    I thought twitter was, "Sources close to CNN..."
  19. Thread: Toshiba

    by dbasnett
    Replies
    8
    Views
    220

    Toshiba

    Do I have to see the Toshiba ad all the time? Well not all the time, but more often than not.
  20. Re: vb2010 Button Disable When TextBox is Empty

    That is good to know. I think it is about style and perception. When I see this:


    If SomeCheckBox.Checked = True Then

    End If
    'or
    If SomeCheckBox.Checked <>...
  21. Re: vb2010 Button Disable When TextBox is Empty

    if you are checking a boolean, which is what the if needs for the condition then this will suffice:



    If somecheckbox.Checked Then
  22. Re: vb2010 Button Disable When TextBox is Empty

    That makes sense.



    The comparison wasn't 'If someBoolean = True (or False)', though you are correct that it isn't needed.
  23. Re: vb2010 Button Disable When TextBox is Empty

    I am confused by this.
  24. Replies
    7
    Views
    201

    VS 2012 Re: Slow drawing DataGridView

    Are the columns autosized? Recently I had a DataGridView with < 10 columns that took a noticeable amount of time to populate. After setting each columns width specifically it was dramatically...
  25. Replies
    1
    Views
    89

    [RESOLVED] Textbox Selection

    When selecting the entire text of a textbox, where the text is longer than the width of the textbox, is there a way to have the beginning of the text shown.

    For example: If the textbox can show 4...
  26. Replies
    9
    Views
    240

    Re: Debug

    Winner, winner, chicken dinner! Would rep you if I could :( Thanks!

    I have no idea of how this happened. It has been some time since I ever looked at this, but it must have been me.
  27. Replies
    9
    Views
    240

    Re: Debug

    I'll check that. I did say that I was running a debug build.
  28. Replies
    9
    Views
    240

    Re: Debug

    Yes I do but I tried restarting and created a simple app to test with after with no luck.
  29. Replies
    9
    Views
    240

    Re: Debug

    It is forms. I'll try console.
  30. Replies
    9
    Views
    240

    [RESOLVED] Debug

    Not sure what I did but I can't use

    Debug.WriteLine

    I have checked the usual places. I am running a debug build and I have changed the output from the immediate window to the output window and...
  31. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    Right.
  32. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    There may be many changes as a result of this incident. Other small countries will learn that updating the families in private has to happen, and that the answer to reporters questions is, "It is to...
  33. Re: Loading/Saving Data From DataGrideview To Text File?

    For simple data try this



    Dim resultsDT As New DataTable
    Dim filename As String

    Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles Me.Shown

    filename =...
  34. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    It isn't news then is it? I agree with TG. When (if) they release the actual recording the staff proctologist at CNN will be busy.
  35. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    To ATC, yes. English is the standard. Since they have apparently released the transcripts (using CNN as a source is problematic) the actual tape will probably follow.
  36. Re: VB 2010 Changing an Image in a Picture Box at Run Time

    The good ol' days http://social.msdn.microsoft.com/Forums/vstudio/en-US/a0016d16-9fac-4bd8-88de-b2959b1827e9/exceptions-in-form-load-event-do-not-get-thrown-on-vista?forum=vbgeneral
  37. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    Surely having a high-level functionary saying these words



    were the last words from MA370, when this was the actual transmission



    can't be meaningful. If they are then the conspiracy...
  38. Re: How do I get an absolute value in VB.NET ?

    One of the first bookmarks in my browser is

    http://social.msdn.microsoft.com/Search/en-US?query=vb%20.net&emptyWatermark=true&searchButtonTooltip=Search%20MSDN&ac=2

    and if I am coding it is...
  39. Thread: KeyUp event

    by dbasnett
    Replies
    10
    Views
    188

    Re: KeyUp event

    I wonder if this would have made your code simpler and less buggy?

    http://msdn.microsoft.com/en-us/library/system.windows.forms.form.acceptbutton%28v=vs.110%29.aspx
  40. Replies
    115
    Views
    1,714

    Re: Malaysia flight 370

    Here is what I think is "known".


    The plane and occupants are missing.
    The transponder(s) stopped functioning.
    The automated data transmission worked at some capacity. Depending on where...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.