Search:

Type: Posts; User: si_the_geek

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. VS 2022 Re: Get the BackColor from the selected DataGridView row when clicked.

    One possible issue is that DataGridView1.CurrentRow.Index might not return the correct value (as clicking a cell might not set CurrentRow before the event is fired), so you should be making use of...
  2. Replies
    9
    Views
    271

    VS 2010 Re: How to make new font() black

    There are some fonts (such as Arial) which have a 'black' (ultra-bold) variation.

    You can only use the 'black' variation if the font already contains it - you can't create it with .Net (except...
  3. Replies
    24
    Views
    857

    VS 2015 Re: WebBrowser not loading phpmyadmin

    There is actually an issue with attachments on the forum at the moment.

    If you use the features in the "Quick Reply" area they don't attach properly, but you can add attachments via "Go Advanced"...
  4. VS 2019 Re: Adding Tables to a Dataset with Primary Key Relationships

    For Access-based databases you need to write the joins in a slightly different way to most database systems, and put brackets around each join, like this:

    .. FROM (TableMain Main INNER JOIN...
  5. Replies
    4
    Views
    340

    Re: Unverified Publisher

    I have moved this thread to our 'Application Deployment' forum
  6. Replies
    7
    Views
    517

    Re: UnhandledException Doesn't Work

    You generally should not write to the app directory, and generally wont be able to - as Windows will block writing to protected folders (such as ProgramFiles etc), because that is what malware will...
  7. Replies
    11
    Views
    548

    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...
  8. Replies
    11
    Views
    548

    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...
  9. Replies
    241
    Views
    6,319

    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...
  10. Replies
    3
    Views
    311

    Re: German Question

    Welcome to VBForums :wave:

    I have moved this thread from our VB.Net forum to our C# forum.
  11. 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...
  12. 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
    ...
  13. 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...
  14. 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...
  15. 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...
  16. Replies
    18
    Views
    677

    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...
  17. Replies
    18
    Views
    778

    Re: how to get 2st level on vbforums

    You can only do that when you are a PowerPoster (after 2000 posts I think).
  18. 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...
  19. Replies
    469
    Views
    80,877

    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...
  20. Replies
    6
    Views
    647

    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
  21. 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
  22. Thread: Testing

    by si_the_geek
    Replies
    2
    Views
    254

    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
  23. 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

    ...
  24. 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...
  25. 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...
  26. 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...
  27. 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...
  28. Replies
    5
    Views
    606

    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 & "'...
  29. Replies
    2
    Views
    312

    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)
  30. Replies
    7
    Views
    1,292

    Re: Unable to rename forum thread

    Done :)
  31. Replies
    7
    Views
    562

    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...
  32. Replies
    2
    Views
    355

    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...
  33. Replies
    7
    Views
    1,292

    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. :)
  34. Replies
    15
    Views
    1,586

    MsOf365 Re: ADODB for 64-bit

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

    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...
  36. 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...
  37. 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...
  38. Replies
    15
    Views
    1,586

    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.
  39. Replies
    15
    Views
    1,586

    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...
  40. 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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width