Search:

Type: Posts; User: si_the_geek

Page 1 of 13 1 2 3 4

Search: Search took 1.46 seconds.

  1. Replies
    7
    Views
    271

    Re: Overload error

    There are different versions of Fill that accept different parameters. As the message is telling you, the parameter can either be a DataSet or a DataTable.

    I'm assuming this will do what you...
  2. Replies
    7
    Views
    299

    Re: Reading XML

    If you do need to check the items, a re-arrangement of the loop (so you set Offline first, and in the loop only set Live) is a better idea:

    LiveCheck.Text = "Stream Offline"
    For...
  3. Re: I need help with creating web server ?

    Welcome to VBForums :wave:

    I have moved this thread from the 'CodeBank VB.Net' forum (which is for you to post working code examples, not questions) to the 'VB.Net' forum
  4. Replies
    1,546
    Views
    67,426

    Re: Corona virus, China major city lockdowns, etc.

    They have the best health care (in Europe at least), and were properly prepared for a pandemic - the UK prepared poorly for a different kind of pandemic (Flu based, and the stock was out of date).
    ...
  5. Replies
    13
    Views
    483

    Re: Need a little help with vb2017...

    Welcome to VBForums :wave:

    I have moved this thread from the 'Other Basic' forum to the 'VB.Net' (VB2002 and later) forum
  6. VS Code Re: Filter by Date not working on DatagridView_vb_vs2019

    That is correct... and if you know the language(s) involved well enough you can tell how it will be interpreted, but it is best to specify the order yourself with brackets (for the sake of...
  7. VS Code Re: Filter by Date not working on DatagridView_vb_vs2019

    When you post code please put it inside code tags so it is displayed in a more readable way - either using the # or VB buttons in the post editor screen (or at the top of the Quick Reply box), or by...
  8. Replies
    1,546
    Views
    67,426

    Re: Corona virus, China major city lockdowns, etc.

    There are new tests becoming available which can apparently give results in under an hour, and are based on a simple saliva swab.

    I don't know how many will be available, or whether they'll make...
  9. Replies
    7
    Views
    273

    Re: To discuss: Native Compiler

    Lots of developers I have known over the years liked the idea of cross-platform, and saw it as one of the reasons to switch... but very few of them actually cared about it enough to do anything after...
  10. Re: Code to Display Data Matrix Barcode Reading With Separators

    Reversing the order is a common problem when altering text in a Change event, because it isn't just the text that is being altered - there is also the Selection (the cursor position plus any...
  11. Re: My macro keep on running even though it should stop

    Welcome to VBForums :wave:

    I have moved this thread from the 'VB.Net' forum to the 'Office Development/VBA' forum.

    I have also added Code tags to post 1 (using the # button).
  12. Replies
    42
    Views
    1,095

    VS 2019 Re: MySQL Populate 2nd Dropdown

    You seem to have added a typo... you previously had a MySqlConnection etc (for MySQL) and now have an SqlConnection etc (for SQL Server)

    While those database systems are somewhat similar, you need...
  13. Re: [RESOLVED] Dim form as variable not working with latest windows update?

    You just need to prefix the word Form with the library it comes from. If memory serves, that would be:

    Dim fm As System.Windows.Forms.Form

    edit: you beat me to it! :)
  14. VS 2019 Re: Create DGV column names based on a ComboBox items, Help!

    You don't need to use two loops (or anything like a List), you can just add the columns using the first loop with some modifications, eg:

    'Private Sub Citas_Form_Load(sender As Object,...
  15. Replies
    3
    Views
    258

    Re: Depreciated Join Syntax

    You are correct, it is an Inner Join :)
  16. Replies
    2
    Views
    212

    Re: How to solve IO error?

    Instead of having this:

    Dim itemSize As Long= drive.TotalSize
    ...
    ListView1.Items(i).SubItems.Add(itemSize)
    You could do something like this:

    ...
  17. Replies
    1
    Views
    198

    VS 2017 Re: Check If Server is Online

    Rather than performing multiple steps like that, it would probably be best to just attempt to connect to it, using whichever method you would be connecting with (FTP or TCP or ADO.Net etc).
    ...
  18. Replies
    250
    Views
    20,536

    Re: Hamilton 5x World Champion ?

    I think that was the most impressive crash-fest for at least a decade!

    It's one of those races where you expect the minor players like Russell to do well (and that would have been great), but it...
  19. Re: [RESOLVED] DataGridViewCheckBoxColumn from SQL bit type

    The data is remembered because it not stored in the grid columns, it is stored in a DataTable (via the DataSource property of the grid). The grid just displays the relevant parts of the DataTable...
  20. VS 2015 Re: declaring "e" as BigInteger

    Most events (such as Button Click) have a parameter called e, and you cannot use the same name for a parameter and a variable.

    Depending on circumstances you might be able to rename the parameter...
  21. Replies
    250
    Views
    20,536

    Re: Hamilton 5x World Champion ?

    :lol:

    That's not how I feel about him (he does do bad things sometimes), but you've clearly got a strong opinion on this particular situation - and as you are much more aware of what happened than...
  22. Replies
    250
    Views
    20,536

    Re: Hamilton 5x World Champion ?

    The drivers do all kinds of things during red flags... my favourite was Kimi in a hot race, where he went to get his shorts on then grab an ice-cream. :D

    I don't know the timelines of what...
  23. Replies
    250
    Views
    20,536

    Re: Hamilton 5x World Champion ?

    Max's issue was "power unit", but that's all I found out with all the beeping when he talked - he wasn't a happy chap!

    Bottas apparently had damage from the first lap, which made his car much...
  24. Replies
    250
    Views
    20,536

    Re: Hamilton 5x World Champion ?

    Well that was a lovely race with lots of action all over the place, even the polystyrene blocks had some excitement!

    It was great to see that most people there (no matter which team) cheered the...
  25. VS 2019 Re: Adjusting an image (from Memory) to a PictureBox

    DrawImage has several overloads, and the one you are using (Image, RectangleF) "Draws the specified Image at the specified location and with the specified size." and "The image represented by the...
  26. VS 2019 Re: 10 Text Boxes differ by a number at the end of the name

    Welcome to VBForums :wave:

    I'm afraid you cannot access a control (or any other kind of object) just by building a string that represents the name of it.

    Thankfully however there is a built-in...
  27. Re: Hong Kong, Portland and the Moral Low Ground

    Yep, but you won the race we didn't know we were having :lol:
  28. Re: Hong Kong, Portland and the Moral Low Ground

    Yep, the world is finally waking up to various injustices and problems that have been brewing for a long time - and several of them are now making progress.

    The environment issues certainly...
  29. Re: Hong Kong, Portland and the Moral Low Ground

    The good news is that the message got thru to politicians before the pandemic, and they were starting to act... now that the world has changed (lots of jobs are currently gone or are "unsafe") there...
  30. Re: Hong Kong, Portland and the Moral Low Ground

    Greta has said that while the attacks on her aren't nice, it makes her feel good because it shows the message is getting through - and that is what matters. Many people (especially children and...
  31. Re: Hong Kong, Portland and the Moral Low Ground

    I don't see all protest as violent, but rather as attacks.

    There are various ways those attacks can happen, ranging from Greta Thunberg's non-confrontational style (which has yielded great results...
  32. Thread: vba6 error

    by si_the_geek
    Replies
    3
    Views
    438

    Re: vba6 error

    Welcome to VBForums :wave:

    Thread moved from the 'VB.Net' forum to the 'Office Development/VBA' forum. (which is the most apt forum we have for VBA)
  33. Replies
    49
    Views
    1,875

    VS 2019 Re: Old man needs help

    It turns out I made I mistake, this line:

    timeDiff.Add(New TimeSpan(24, 0, 0))
    ..should have been:

    timeDiff += New TimeSpan(24, 0, 0)
  34. Re: Hong Kong, Portland and the Moral Low Ground

    Does that mean the NBA would be a better president than Trump? :lol:

    Ah yes, I didn't read that part carefully enough "intend to" invite :sick:
  35. Re: Hong Kong, Portland and the Moral Low Ground

    Well there are some quite famous strikes happening apparently, for most major sports in the US (basketball, baseball, tennis, ...):
    https://www.bbc.co.uk/sport/basketball/53926764

    It has resulted...
  36. Replies
    49
    Views
    1,875

    VS 2019 Re: Old man needs help

    Welcome to VBForums :wave:

    An alternative way to do it is to just assume that a shift is a positive amount of time, less than 24 hours. You can then add 24 hours until the value is positive:
    ...
  37. Re: How to do dBASE string case insensitive (ignore case) search? VB6

    Depending on what built-in functions the database system has, one of these is likely to work:

    SQL = "SELECT * FROM PTDBF WHERE Ucase("LASTNAME") LIKE Ucase('" & SearchString & "')"

    SQL =...
  38. Re: If Not list.Contains(variable) not working

    You also set nxtNum twice, once before the If and again a couple of lines after it... remove the second line that sets it, and it will probably be fine.
  39. Re: Hong Kong, Portland and the Moral Low Ground

    I agree with the protestors (the police should be accountable, and avoid bad methods etc), I just think that there are too many people taking the protests too far - and in the process making things...
  40. Re: Hong Kong, Portland and the Moral Low Ground

    It's another messed up situation... the fact he is alive is obviously good (the long term damage to him isn't), but there is surprisingly little "official" information, and from the video I can't...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width