Search:

Type: Posts; User: si_the_geek

Page 1 of 13 1 2 3 4

Search: Search took 5.90 seconds.

  1. Re: windows 10: how disable Just-In-Time on programs execution?

    We can only guess, there are far too many possibilities and we don't have any information to narrow it down.

    I recommend trying to work out what is different when it works (eg: do you have...
  2. Replies
    6
    Views
    241

    Re: Optimise a For loop VB.net

    The ideas from Niya and jmcilhinney are definitely worth considering, but you can also get big improvements from your current style by optimising the Ucase calls (or equivalent).

    You are running...
  3. Replies
    3
    Views
    143

    Re: Datagridview data from SQL database

    You haven't got the syntax right there, this section:

    DgUnitsUp.Rows(i).Cells(0).Value & "'" And Units = DgUnitsUp.Rows(i).Cells(1).Value
    ...should be:

    DgUnitsUp.Rows(i).Cells(0).Value & "'...
  4. Re: windows 10: how disable Just-In-Time on programs execution?

    The program crashed before the JIT Debugger was involved (if you hadn't got that message, you would have got a normal "program crashed" error message).

    The JIT Debugger just gives you a chance to...
  5. Re: SQL Connection to different database based on username

    Welcome to VBForums :wave:

    Instead of doing the Declaration and the Initialisation together, separate them out, eg:


    Public SQLCon As SqlConnection
    Dim currentUser As String =...
  6. VS 2019 Re: Numeric Up Down Autosize not changing size

    A NumericUpDown can only contain numbers, so there is no option for text in it.

    A fairly standard way for a user to indicate an infinite number of loop iterations is to use -1 as the value; but...
  7. Re: Can't Access Properties Of Declared Instance Of A Class

    This looks like a typo:

    x,DataProviderName = "System.Data.SqlClient"
    It is presumably meant to be:

    x.DataProviderName = "System.Data.SqlClient"
  8. Replies
    411
    Views
    50,218

    Re: Hamilton 5x World Champion ?

    The Indy scandal was bad, too much politics going on to allow the race to happen properly.

    The highlight of that race was somebody throwing beer in front of Schumi's car.
  9. Replies
    411
    Views
    50,218

    Re: Hamilton 5x World Champion ?

    That race day was painful to watch... I'm glad I only saw the highlights.

    Thankfully the teams etc are getting together to try to change the rules so that it can't happen again. The governing...
  10. Replies
    8
    Views
    376

    Re: Can this be made 'cleaner'?

    One option that might work is:

    for i = 1 to n
    For j = 1 To limit
    If test_is_false Then Exit For
    Next j
    If j <= limit Then
    <do stuff> ' because test was true limit times
    End...
  11. Replies
    8
    Views
    376

    Re: Can this be made 'cleaner'?

    Here is one way it could be done:

    for i = 1 to n
    Dim AllTrue as Boolean = True
    For j = 1 To limit
    If test_is_false Then
    AllTrue = False
    Exit For
    End If
    Next j
  12. Re: how to delete rows based on calculation

    You actually want our Office Development forum, so I have moved this thread there. :)
  13. Re: Establish sub-forums for vbRichClient and twinBasic

    This site was created for discussing VB, so the various versions of VB (and things included with it like WPF) all belong here.

    Other languages/tools/libraries/etc are debatable, and are basically...
  14. Thread: TwinBasic

    by si_the_geek
    Replies
    476
    Views
    40,700

    Re: TwinBasic

    There were several, to varying degrees.

    No, that would be a waste of my time. Not only would they be out of context, but there were also some attacks in there.


    It is time for these off-topic...
  15. Thread: TwinBasic

    by si_the_geek
    Replies
    476
    Views
    40,700

    Re: TwinBasic

    Keep it on topic folks, and stay away from personal attacks.

    I have deleted most of the posts from today (and a few from a couple of days ago).

    Due to the large quantity of posts today, some...
  16. Replies
    3
    Views
    220

    Re: Is This Ciode Correct?

    The Microsoft site allows you to pick a language (C# or VB, and sometimes others) via a drop-down at the top-right of the page.

    In this case, if you select VB on that page the examples are:

    '...
  17. Thread: TwinBasic

    by si_the_geek
    Replies
    476
    Views
    40,700

    Re: TwinBasic

    It is fine to create multiple threads in Other Basic, then if/when a twinBASIC forum is created I (or other moderators) will move the threads across.
  18. VS 2019 Re: textfileparser not working as expected - vb.net 4.6 - vs 2019 - mysql

    For an explanation of why you should be using parameters (and links to code examples), see the article Why should I use Parameters instead of putting values into my SQL string? from our Database...
  19. Replies
    5
    Views
    471

    Re: Code each item of ComboBox

    Welcome to VBForums :wave:

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

    by si_the_geek
    Replies
    476
    Views
    40,700

    Re: TwinBasic

    While TwinBasic is similar to VB6, it is different - so the VB6 forum is not right, and OtherBasic is the place.

    If it becomes popular (as it looks like it might), we would certainly consider a...
  21. Re: Application interperting textbox context as SQL Code

    The ' character (and various other characters, or combinations of characters) can cause problems - including severe security issues.

    You can avoid all of those issues by using Parameters to pass...
  22. Re: bad reply from esp32 on rfcomm bluetooth

    Welcome to VBForums :wave:

    Thread moved from the 'VB.Net' forum to the 'C#' forum
  23. Replies
    20
    Views
    942

    Re: HTML sub directory problem

    No they aren't - they can be, but it depends on the server, as Niya mentioned:



    While in one particular example you found that they seemed to be linked, that does not mean that all (or even...
  24. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    That is the dirty spelling (used for the liquid that shows a man has "finished" being excited)... you were thinking of: come
  25. Replies
    411
    Views
    50,218

    Re: Hamilton 5x World Champion ?

    A 'demolition' race would certainly make the news if it happened!

    I suspect the penalties for attempting it would be rather harsh tho.
  26. Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

    The big difference is the scale of selfishness... drink-driving and hygiene etc are about being lazy/cheap/etc, whereas the vaccines can cause health issues (such as those more likely to have blood...
  27. Re: How to Update and Remove the .xaml Image.Source Property using Visual Basic code

    Welcome to VBForums :wave:

    Thread moved from the 'CodeBank VB.Net' forum (which is for you to post working code examples, not questions) to the 'WPF, WCF, WF' forum
  28. Re: adding data to a combobox.list.controlset

    Thread moved from the 'CodeBank VB.Net' forum (which is for you to post working code examples, not questions) to the 'VB.Net' forum
  29. Re: VB.net + ASP.net dropdownlist selection the first item per default

    Thread moved from the 'VB.Net' forum to the 'ASP.NET And ASP.NET Core' forum
  30. Replies
    411
    Views
    50,218

    Re: Hamilton 5x World Champion ?

    The Sprint race seems to be a good idea, it just needs some adjustments - I'm expect they'll try other ways to do it later in the year (2 more sprints are planned).

    The crash between Max and Lewis...
  31. Re: how to save data from text box at same time all data in data grid view

    Thread moved from the 'CodeBank VB.Net' forum (which is for you to post working code examples, not questions) to the 'VB.Net' forum
  32. Replies
    13
    Views
    816

    Re: How to hide cursor?

    The MouseMove event of the form will only fire if the mouse is directly over the form itself - and wont fire if the mouse is in front of one of the controls that is on the form (such as textboxes and...
  33. Replies
    411
    Views
    50,218

    Re: Hamilton 5x World Champion ?

    It was a good race, and seeing Bristol-born Lando do well is always nice (and is becoming more expected).


    That is where Lando got his name - his dad is a Star Wars fan :)


    The first one was...
  34. Re: Setup file created with downloaded from website shows error : Unknown Publisher

    Thread moved to the 'Application Deployment' forum, which is where questions about installing/distributing your software belong
  35. Re: Chauvin murder trial verdict / consequences

    While the sentence might not be as long as some people would understandably like, it is a decent length of sentence - and it is good to see that somebody is being held properly accountable.
    ...
  36. Replies
    13
    Views
    660

    Re: Progress bar while running .exe

    Welcome to VBForums :wave:

    Thread moved from the 'CodeBank VB.Net' forum (which is for you to post working code examples, not questions) to the 'VB.Net' forum


    Unfortunately a ProgressBar is...
  37. Replies
    2
    Views
    315

    VS 2010 Re: syntax needed

    You are thinking of With/End With:

    With WindowsApplication1.My.Resources
    x = .BUG_STRAIGHT_RED
    y = .BUG_STRAIGHT_green
    End With
  38. Re: Error 91 VBscript parsing html text to excel

    Unfortunately there are lots of variations of VB, and the naming is definitely not obvious.

    VBScript is .vbs files (mainly for web based things), VB6 is an independent program (which can be used...
  39. Re: Any better method to incorporate particular Range from Excel Sheet to ListView

    Things like the version of Office etc don't matter (because this is a separate thing for programs to use), what matters is whether your program is 32-bit or not.

    Unfortunately it isn't just your...
  40. Re: Any better method to incorporate particular Range from Excel Sheet to ListView

    It seems that you need to install the ACE provider, you can find it here:
    https://www.microsoft.com/en-gb/download/details.aspx?id=13255

    There are two versions, the x64 is for 64 bit apps, and...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width