Search:

Type: Posts; User: si_the_geek

Page 1 of 13 1 2 3 4

Search: Search took 0.41 seconds.

  1. Replies
    11
    Views
    309

    Re: newer VS versions and subscriptions

    From what I understand, the Community edition is almost identical to the Professional edition, just with different license terms (free for personal use and small business).

    They have a decent...
  2. Replies
    11
    Views
    309

    Re: newer VS versions and subscriptions

    Modern versions of VS (since 2017 or possibly earlier) do have the option to log in, but I think you don't actually need to log in. I did log in (so settings get shared wherever I use VS), but the...
  3. Replies
    241
    Views
    3,942

    Re: Musk buys Twitter

    As a general rule "far left" messages tend to be along the lines of "treat people from group-x as people", whereas a "far right" message tends to be along the lines of "treat people from group-x...
  4. Replies
    3
    Views
    242

    Re: German Question

    Welcome to VBForums :wave:

    I have moved this thread from our VB.Net forum to our C# forum.
  5. Re: How do I make a color written to file as "RRRGGGBBBAAA", each pixel showing 000-2

    But you didn't delete Dim here if you mean this (In thick letters)?
    [/QUOTE]That line of my post was referring to your save routine... meaning that you should use just the Dim I showed (which...
  6. Re: How do I make a color written to file as "RRRGGGBBBAAA", each pixel showing 000-2

    Your code in post #8 would be changed to this:

    Dim hexString4 As String = Nothing

    Private Sub InvisibleButton_Click(sender As Object, e As EventArgs) Handles InvisibleButton.Click
    ...
  7. Re: How do I make a color written to file as "RRRGGGBBBAAA", each pixel showing 000-2

    The problem there is that you have declared hexString4 inside each of the routines - and variables declared inside a routine only exist inside that routine (the ones inside other routines are...
  8. Re: From Date is okay but values are not showing for To Date

    A date value without a time is counted as being midnight, so your from/to dates are treated as:

    From Date: 5/5/2022 0:00
    To Date: 5/7/2022 0:00

    This means that you will get all rows where...
  9. VS 2019 Re: Combo Box doesn't fetch data from MS Access Database when I apply If Conditions.

    There is a good debugging tutorial (with mini-videos where apt) here:
    https://docs.microsoft.com/en-gb/visualstudio/debugger/navigating-through-code-with-the-debugger

    You probably want to start...
  10. Replies
    18
    Views
    519

    Re: What is our generation's "log table"?

    We wont really need to learn new languages... there is already technology to translate spoken conversation in almost real time (and it will get faster and more accurate), so far fewer people will...
  11. Replies
    18
    Views
    592

    Re: how to get 2st level on vbforums

    You can only do that when you are a PowerPoster (after 2000 posts I think).
  12. Re: Constructors Swallowing Exceptions...sort of.

    Presumably the GUID is being interpreted as an index to the Dictionary (or perhaps as a parameter to the default method of a dictionary).

    If that is the case, I would expect the item returned by...
  13. Replies
    468
    Views
    77,008

    Re: Hamilton 5x World Champion ?

    How a stopped car is dealt with depends on various factors, primarily can the marshalls remove the car without risking themselves.

    In this case it seems that they had all the...
  14. Replies
    6
    Views
    595

    Re: ARG! The "e" in a function statement

    I have moved this thread from the VB.Net CodeBank forum (which is for working code samples, not questions) to the VB.Net forum
  15. Re: Can't disable verbose setting VS 2022.

    I have moved this thread from the VB.Net CodeBank forum (which is for working code samples, not questions) to the VB.Net forum
  16. Thread: Testing

    by si_the_geek
    Replies
    2
    Views
    225

    Re: Testing

    Are you the Angle of Cod? ;)


    edit: it seems you are: https://www.vbforums.com/showthread.php?895688-problem-with-Microsoft-ACE-OLEDB&p=5561199#post5561199
  17. Re: Cannot pass parameters to report

    I don't know about that, but I have spotted an issue in the error message that is easy to overlook:

    Microsoft.Reporting.WebForms.ReportParameter
    Microsoft.Reporting.WinForms.ReportParameter

    ...
  18. Re: Inserting data into database with autonumber

    You should also specify the names of the fields, eg:

    Insert into Table1 (field1, field2, field3, ...) Values(value1, value2, value3, ...)
    Doing that avoids a wide variety of issues, including...
  19. Re: New to this forum and have a question about posting

    Welcome to VBForums :wave:

    The comments above are correct... as part of our spam prevention measures, new users will often have their first few posts hidden until a moderator checks them.

    That...
  20. Re: Convert exe to apk. Is that possible

    No it isn't, because they are very different technologies.

    You can create Android/Apple apps (including apk etc) using modern versions of Visual Studio, as there are options such as Xamarin (which...
  21. Re: Reset invoice number for every new year vb.net

    Assuming that you have a field in the InvoiceInfo table that indicates the year somehow, you can alter your Select statement to only return the values for that year, eg:

    "SELECT TOP 1 Inv_ID FROM...
  22. Replies
    5
    Views
    555

    Re: Bindingsource filter multiple columns

    Instead of having a simple condition for each field like this:

    Year ='" & ComboBox7.Text & "' AND ...

    ...you can extend them to also allow a blank value, eg:

    (Year ='" & ComboBox7.Text & "'...
  23. Replies
    2
    Views
    284

    Re: Transparent Calendar Appointment

    I haven't used that control much, but I'd recommend simply trying a colour with the Alpha component set to less than 255, eg:

    Dim partlyTransparentRed as Color = Color.FromArgb(100, 255, 0, 0)
  24. Replies
    7
    Views
    1,157

    Re: Unable to rename forum thread

    Done :)
  25. Replies
    7
    Views
    511

    Re: Why we use Constructor in C#

    It is just to initialize things.

    The reason for using it rather than your own function is that it is called automatically (you don't need to know anything about the class, you can just trust that...
  26. Replies
    2
    Views
    328

    Re: VB6 ADODB Question

    Doing it the way you are adds an extra trip to and from the database, which slows it down. In most cases that wont matter, but in larger systems (lots of simultaneous users), or a when there is slow...
  27. Replies
    7
    Views
    1,157

    Re: Unable to rename forum thread

    As it is a CodeBank thread, and therefore a long-term resource, the title is something that matters (especially when adding an extra language), so I have altered it for you. :)
  28. Replies
    15
    Views
    1,423

    MsOf365 Re: ADODB for 64-bit

    What is the actual error you are getting now?
  29. Replies
    15
    Views
    1,423

    MsOf365 Re: ADODB for 64-bit

    That is not the case, ADODB was not an issue at all.

    The previous issue was that the provider Microsoft.OLEDB.12.0 was not registered (and it wasn't, because it doesn't even exist).


    As you...
  30. Re: I am getting either the Errors in ListView1_Click Event

    The Workbooks collection only contains the files that are already open in that instance of Excel, and you haven't opened any.

    What you should do is open the relevant workbook, work with it, and...
  31. Re: I am getting either the Errors in ListView1_Click Event

    Your link is for VBA (rather than VB.Net), so various things are different - including the fact that there is a completely different ListView control (the VBA one has ComctlLib.ListItem as a data...
  32. Replies
    15
    Views
    1,423

    MsOf365 Re: ADODB for 64-bit

    This part is still wrong:

    ...and that will cause the error.


    Make sure you properly copy one of the examples in the link I provided.
  33. Replies
    15
    Views
    1,423

    MsOf365 Re: ADODB for 64-bit

    According to a quick web search, 'Microsoft.OLEDB.12.0' is not a provider at all.

    Presumably you intended to use the JET provider (but you can't, as that is 32-bit only) or more likely the ACE...
  34. Re: How to make Xamarin Android App talk to VB Desktop Application

    In that case something along the line of jmcilhinney's idea is probably the way to go.

    Presumably you currently have two separate databases (one for the VB app, and one for the Xamarin app), so...
  35. VS 2017 Re: [RESOLVED] NAudio - add silence into existing wav file

    The issue is because bytesPerMillisecond is an Integer.

    The value of 176400 / 1000 should be 176.4, but because you are storing it in an Integer only 176 is stored, and that difference creates the...
  36. Replies
    4
    Views
    475

    Re: Just to say ...

    We're happy to help, and we're glad you've joined our community :)
  37. Replies
    8
    Views
    582

    Re: If EndIf 4 possibilities

    Well yes, my caveat of "basically" wasn't really good enough... I was just trying to avoid confusing the thread starter. :)
  38. Replies
    8
    Views
    582

    Re: If EndIf 4 possibilities

    'Is' and 'IsNot' aren't meant for checking values (they are basically for checking if two object-variables have the same pointer).

    Use = and <> as you did in the other parts of the code.


    ...
  39. VS 2010 Re: need help understanding one line of code that does a replacement of text

    Those lines of code (especially the savebutton line) are much longer and more complex than ideal... and that means they are very hard to read, which increases the chances of issues like you are...
  40. VS 2022 Re: Removing the last line carriage from a string

    Not quite, the For loop is set up to start at item 1 (instead of item 0).

    That means for the first item you have no Newline, but you add a NewLine before each of the other items.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width