Search:

Type: Posts; User: si_the_geek

Page 1 of 13 1 2 3 4

Search: Search took 1.94 seconds.

  1. Replies
    16
    Views
    260

    Re: IDE0017 - Should I simplify all these?

    If I was the successor I would prefer it had been changed, but would understand if it wasn't.

    Doing a few at a time (and potentially giving up after a while) is certainly a valid approach :)
  2. Replies
    16
    Views
    260

    Re: IDE0017 - Should I simplify all these?

    Those two code blocks can be changed to these variations:

    frmCustomerService frmCustomerService = new frmCustomerService(txtCustNo.Text, tab, sdc)
    {
    StartPosition =...
  3. Replies
    27
    Views
    5,292

    Re: How to Save a TreeView to Text File?

    Debugging is examining what happens as the code runs, for example seeing which parts of the code actually run (due to If statements etc), what the values of variables etc are, and so on.

    There is...
  4. Replies
    365
    Views
    6,972

    Re: The US fragile democracy Exposed

    I'm fairly certain he wont do anything dangerous himself (he doesn't want to look bad), but I am concerned about what he will inspire his fans to do.

    The amount of weaponry they turned up with the...
  5. Replies
    365
    Views
    6,972

    Re: The US fragile democracy Exposed

    I think that is one of the features you get as a PowerPoster (2000+ posts)
  6. Replies
    365
    Views
    6,972

    Re: The US fragile democracy Exposed

    Time for some good news... Twitter has permanently banned Trumps account.

    I wonder what he'll do with his time now, does he still have access to the Nukes? :eek:
  7. Re: Best way to read a random line from a text file ?

    If you only call it once in total then it doesn't matter.

    If you might ever call it more than once while the program is running, then Delaney's suggestion is better (and the other is dodgy).

    ...
  8. Re: Best way to read a random line from a text file ?

    If the length of text on each line can be different, you do basically need to read the whole file (and store the data, at least temporarily), so your method is certainly valid.

    A List is a...
  9. Replies
    9
    Views
    406

    [VB.NET] Re: Games in Vb.net

    The signature is the bottom part of the post (in my case starting with the MVP logo, in Jacobs case starting with "Useful Forum Tips:").

    If you can't see them, at the top-right of the page click...
  10. Re: ASP NET Core on Apache Servers

    Neither of them are wrong.

    .Net Core can be installed on those different platforms.

    it is not installed on Vodahost.


    If your host doesn't have it installed (and wont allow you to install...
  11. Replies
    3
    Views
    518

    Re: Create OutlookFolder

    Our 'Office Development/VBA' forum is more appropriate for this question, so I've moved the thread there.
  12. Replies
    8
    Views
    312

    Re: Legacy Conversion Fun

    The good news is that for VB6 you can edit the watch so that you automatically break when the value changes, it makes the hunting much easier.
  13. VS 2019 Re: Trouble populating then updating a text box

    You will repeatedly get values from the same record, unless you use .Read to move to the next record.
  14. Replies
    3
    Views
    192

    Re: Donation Problem

    It certainly doesn't look very modern... hopefully that is because they are focussing all their efforts on the software they make, but it isn't ideal.
  15. Replies
    3
    Views
    192

    Re: Donation Problem

    Welcome to VBForums :wave:

    I'm afraid this is nothing to do with VBForums, it seems that you are referring to this site: http://nuke.vbcorner.net/default.aspx
    (which has a link to VBForums, but...
  16. Replies
    303
    Views
    26,660

    Re: Hamilton 5x World Champion ?

    The drivers market seems to have settled now, and there are some potentially interesting things there, especially with the new people and the returning Alonso.


    In terms of teams, things are...
  17. VS 2019 Re: Trouble populating then updating a text box

    Actually the IsNull function used there is basically "If (field) Is Null Then 0 Else (field)"

    So it is just a way to avoid returning Null - any rows that are Null will be treated as 0 instead. In...
  18. Re: Is there a bug in the latest upgrade ?

    I've moved this thread to the .NET Architecture & Design forum
  19. VS 2017 Re: In vb.net error Command text was not set for the command object

    Welcome to VBForums :wave:

    Your seem to have missed an SQL statement, or got confused with your variables.

    This is the important section of code:
    You assign an SQL statement to sqlStr
    You...
  20. VS 2019 Re: DataTable Adding Pirmary Key Values when adding a new row

    Rather than generating the number yourself, set the field to be an Identity field (or called AutoNumber in Access based databases). The details of how you do that vary based on the database system...
  21. Replies
    303
    Views
    26,660

    Re: Hamilton 5x World Champion ?

    George had a brilliant race - shame about the team (radio fail led to the wrong tyres), and the bad luck (the puncture).

    He is certainly a star of the future, and will get a good chance soon...
  22. Replies
    10
    Views
    543

    Re: I need help, please.

    Welcome to VBForums :wave:

    Due to our spam protection features, posts from some new members don't become visible until they are manually approved by moderators - and the system has chosen you to...
  23. Replies
    303
    Views
    26,660

    Re: Hamilton 5x World Champion ?

    I expect George Russell to be a bit slower than Bottas, but it is a good chance for him to show off his skills - and if he does perform better than Bottas, it could boost his career a lot (maybe even...
  24. Replies
    7
    Views
    472

    Re: Syntaxe sql - multi table

    In that case you just need to use the same kind of code for each of the tables you want to add data to (so for 3 tables, you would have 3 blocks of code like that, one for each table).


    As...
  25. Replies
    303
    Views
    26,660

    Re: Hamilton 5x World Champion ?

    It's hard to keep the driver away from others, for example if there is a crash (even a small one) then the marshals are likely to need close contact with the driver.

    There are also several...
  26. Replies
    303
    Views
    26,660

    Re: Hamilton 5x World Champion ?

    The crash was certainly horrific, video here for those who haven't seen it: ...
  27. Re: MYSQL data adapter update data table via datagridview from another form

    Our automatic spam prevention measures mean that some new members need to wait for their first few posts to be manually approved, and unfortunately the system decided you belong to that group.

    The...
  28. Replies
    29
    Views
    1,244

    Re: Using Visual Basic to update excel file

    There are a wide variety of technologies and coding methods you could be using to interact with an Excel file, so we aren't going to tell you the possible solutions for each of them.

    If you show...
  29. Re: Need help with visual basic

    Welcome to VBForums :wave:

    I have moved this thread from the 'VB.Net' forum to the 'Office Development/VBA' forum (for the VB editor in Excel etc).
  30. Replies
    15
    Views
    1,081

    Re: Edit a text file.

    You've mi-interpreted there, the array is of multiple List(of String)

    The issue is that those lists need to be initialised (and can't be in the declaration line), but thankfully it isn't too hard...
  31. Re: How to generalize the name of a DataGridView object?

    Thread moved from the 'VB.Net' forum to the 'C#' forum
  32. Replies
    303
    Views
    26,660

    Re: Hamilton 5x World Champion ?

    It certainly does hold a lot of promise - and in addition to the rain and start positions, there is the issue of the track surface being new and slippery in the dry (so even if things are going well,...
  33. VS 2017 Re: DataGridView Lock/Unlock Editing Issue

    You can stop the current cell being editable by either ending the edit (to save the current value):

    DataGridView1.EndEdit()...or by cancelling (so no change is made):

    DataGridView1.CancelEdit()...
  34. Replies
    4
    Views
    895

    Re: How To Update The Client Program?

    Thread moved from the 'VB.Net' forum to the 'Application Deployment' forum
  35. Re: Access form control from a class

    It sounds like the module shouldn't have access to the form, and probably shouldn't have access to the DataGridView either... but in order to determine whether or not that is the case, and to advise...
  36. Replies
    15
    Views
    1,081

    Re: Edit a text file.

    Resources are put into the executable when you compile, so your app will contain the resources at the time you compiled that particular version of the app.

    Clicking "start" re-compiles, and adds...
  37. Replies
    1,678
    Views
    94,181

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

    There are several vaccines being developed by different companines, and they have different supply chains. There is a good chance that between them they will be able to provide enough stock of...
  38. Replies
    1,678
    Views
    94,181

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

    We have good news... a vaccine seems to prevent 90% of infections, and could be available to some people (medical staff etc) within a couple of months:
    https://www.bbc.co.uk/news/health-54873105
  39. Replies
    303
    Views
    26,660

    Re: Hamilton 5x World Champion ?

    Most of them are likely, especially as the rules are basically staying the same (which should help Red Bull and Ferrari catch up).

    The least likely are Alonso (probably a bit too old now) and the...
  40. VS 2019 Re: Changing rowcolour base on current value

    As you haven't indicated which line the error is occurring on we have to guess, but I'm assuming it is on the If statement.

    If I'm right, you can avoid the error by putting the check for Null...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width