Search:

Type: Posts; User: si_the_geek

Page 1 of 11 1 2 3 4

Search: Search took 3.79 seconds; generated 59 minute(s) ago.

  1. VS 2013 Re: Set Cursor Position in VB 2013

    The quick fix is the one I suggested - simply moving a few lines of code to another event.


    Moving the cursor wont actually do any good, as the problem is that you are re-running initialization...
  2. VS 2013 Re: Set Cursor Position in VB 2013

    The code you show inside ComboBox1_Click shouldn't be there - it is initialization code, so should happen somewhere else (perhaps in the form shown event), so that it will only run once, rather than...
  3. Replies
    6
    Views
    528

    Re: Duplicates In DGV

    That would definitely give different results for a large percentage of computers in the world.

    Within SQL statements, database systems interpret using US formatting (mm/dd/yyyy), but lots of...
  4. Replies
    12
    Views
    759

    Re: This Forum is meaningless!

    While there are several variations of Basic with a Visual framework included, they are not actually Visual Basic, as that is the name of the Microsoft product.

    Those other variations of Basic are...
  5. Re: Where Get Information on Device Manager Details

    I'm pretty sure Windows 10 dictates that a new style of driver is used, so ones designed for the previous generation of Windows (Vista/7/8) don't work.

    Using a separate computer (or a Virtual...
  6. Re: Where Get Information on Device Manager Details

    Device drivers for Windows have changed significantly a few times over the years, and manufacturers usually don't bother creating a new generation of drivers for devices they don't sell any more - by...
  7. Replies
    7
    Views
    1,039

    Re: Error connecting a SQL local Database

    I've removed your email address and phone number to protect you from spammers etc.

    If people want to contact you via those methods, they can PM you to get the address/number.
  8. 1.0-1.2 Re: Two time thresholds are supposed to trigger two distinct actions without simultan

    You should keep track of whether the actions have been performed yet, using a boolean variable (eg: bool pullDone = false), and mark it as done when it is. When checking if the time has been...
  9. Re: Rename ASP.NET Codebank Sub-forum

    I think it would be best to add Blazor on to the current list, as that way the existing parts (which I think are still valid) will be noticed by people who want to post questions on those topics.
    ...
  10. Replies
    8
    Views
    1,500

    Re: Avalonia MySQL Connection

    As a general rule, you do that by only providing functions for the specific functionality you want - so you create one function that will query a particular table (based on criteria you pass via...
  11. Re: How to fetch maximum record from my table in mySql database

    Aggregate functions like Max() only apply to the field they are on, they do not affect the other fields.

    In order to get just one record you could use various options, including:

    SELECT
    ...
  12. Replies
    9
    Views
    1,095

    Re: Simple Questions?

    String Concatenation should always be & , as that is what that operator means. While using + will sometimes work, at other times give the wrong result or an error (especially likely if the first...
  13. Re: Who has the twinbasic,radbasic,everything software,the author detailed introducti

    The VB6 forum is for VB6 (and earlier).

    RadBasic and TwinBasic etc are not VB6, and they are not the same as VB6. They are similar to VB6 in a lot of ways, but there are differences too, so the...
  14. Re: VB.net Conversion to C# 'cannot convert InvocationExpressionSyntax...' error

    The comment will probably be in the code, just before the line of code specified in the error list.
  15. Re: Convert Windows Desktop Code to Mobile

    That is all correct.

    Accessing via the internet (rather than wifi in the office) is a security risk, but I suspect that a web app rather than a mobile app doesn't make it worse in that respect...
  16. Re: Convert Windows Desktop Code to Mobile

    Ah, it seems I'm a bit behind on the news there... I knew there were Xamarin updates late last year, but didn't know they'd switched paths.

    In that case .NET MAUI is probably a more sensible way...
  17. Re: Convert Windows Desktop Code to Mobile

    Given that you have experience in C#, a good way to go is Xamarin, which uses C# code to create apps (and you can do it in Visual Studio).

    You can target Android and/or Apple, but I'd recommend...
  18. Replies
    10
    Views
    1,899

    Re: Vb.net excel hide gridlines

    When it comes to working out how to do things inside Excel via code, let Excel itself help you out... open Excel, and record a Macro of you performing the task manually, then view the code of the...
  19. Re: C# Can I send a "formatted" SMTP email without using HTML?

    Unfortunately there isn't much you can really do, because each mail client will deal with displaying things differently (eg: different widths for tab), and each font will also display text in...
  20. Thread: TwinBasic

    by si_the_geek
    Replies
    1,808
    Views
    867,787

    Re: TwinBasic

    Mulitple threads is definitely a good idea, and moderators including myself have said it multiple times. For now, they should be placed in the "Other Basic" forum, like this thread... when a...
  21. Replies
    73
    Views
    4,809

    Re: Local TV Dying

    Up until about 20 years ago we had a national system here called TeleText (the BBC version was called Ceefax), which was basically the same as your idea but a little simpler and could only be viewed...
  22. Re: how to format double in custom format

    The way you've phrased things isn't totally clear, are you aiming for something (almost) equivalent to {double}.ToString(strFormat) in C++ ?
  23. Re: Sqlite delete from a table with primary key

    Re-using the ID numbers is generally not a good idea, as explained in this FAQ article: Database - Why don't AutoNumber/Identity/etc re-use deleted numbers?

    If after reading that you still want to...
  24. Re: Error when selecting other columns which are not part of the CellClick event

    You haven't mentioned which line the error occurs on, but I suspect it might be on the second half of the If statement.

    Your If statement checks if the column is "Expand", and whether the value in...
  25. Re: OleDbCommand Query Using Parameters Not Quite Working

    A quick web search shows:


    So what is happening is that the DateTime value is being converted to a String (to be passed to DateValue), and then DateValue converts it back to a Date... which may...
  26. Re: how to import & export Excel files in VB.Net

    That's a good point, I'd managed to forget about that option.

    It should be noted however that it only allows you to read/write the data (not the formatting etc), and that it only works if the data...
  27. Re: how to import & export Excel files in VB.Net

    That is correct I'm afraid.

    If you use Late Binding you should be able to use whichever version the user has installed (for most versions anyway), so for the people most likely to want it you can...
  28. Re: how to import & export Excel files in VB.Net

    In order for your code to use .xls files the user must have Excel installed, as it is a proprietary file format. You might be able to make it work for multiple versions of Excel (to allow whichever...
  29. Replies
    12
    Views
    2,986

    Re: GIF profile picture for all?

    It is (or at least has been) possible to use animated GIFs, but there are limitations on the type of animated GIF that can be used.

    There were relevant chit-chat threads a few years back where it...
  30. Replies
    1
    Views
    1,460

    Re: How Stable is VS 2022 and WPF?

    I have had similar issues with the XAML designer, for both WPF and Xamarin apps.

    The issue can happen due to editing the XAML while it is still rendering the previous change, but that certainly...
  31. VS 2022 Re: Beginner in need of help trying to write a volume converter

    The last part of the post hints at it:


    A Narrowing conversion is going from a "larger" data type to a "smaller" one (eg: from an integer based data type with a maximum value of 2.1 billion to an...
  32. VS 2019 Re: Compacting Row.HasVersion(DataRowVersion.Proposed) use?

    In modern versions of VB you don't need to use IIF, you can use IF in the same way instead:

    Debug.WriteLine("Proposed = " & If(e.Row.HasVersion(DataRowVersion.Proposed), e.Row.Item(col,...
  33. Replies
    15
    Views
    3,856

    Re: 125 new bots?

    I'm used to spotting that for new users, but wouldn't have looked in your posts (if you had bad intentions, you'd create far bigger issues than links!).

    People are very unlikely to click them, I...
  34. Replies
    15
    Views
    3,856

    Re: 125 new bots?

    It looks that way... but they were all in the "Registering" phase, and a check on a few of those names shows that they didn't manage to register.
  35. Re: [RESOLVED] Can the "Today's Birthdays" section of the home page be deactivated fo

    Wildcard characters for various popular systems include these: % * _ @ #
  36. VS 2008 Re: How to make walls that when the player touches them, game is over

    I had assumed that Option Infer was On, which would automatically set the data type for you.

    You can specify the data type yourself, eg:

    Dim walls as PictureBox() = {wall1, wall2, wall3, ...}I...
  37. Re: BC30456 'Computer' is not a member of [Solution / Project name].My

    Welcome to VBForums! :wave:

    I have moved this thread from our "CodeBank - Visual Basic .NET" forum to our "Visual Basic .NET" forum
  38. VS 2008 Re: How to make walls that when the player touches them, game is over

    Welcome to VBForums :wave:

    One way to shorten that code is to put the wall objects into an array, then loop over the array, eg:


    Dim walls = {wall1, wall2, wall3, ...}

    For each wall in...
  39. Re: Unhide selected datagridrows based upon condition

    Change this:

    End If
    If DGV_Docs.CurrentCell.Value.ToString = "-" Then
    to:

    ElseIf DGV_Docs.CurrentCell.Value.ToString = "-" Then

    That way if the first If...
  40. Replies
    5
    Views
    2,251

    Re: what the? pr e ss - re l eas e banned?

    A quick web search shows there are various companies with that name, so it is likely that at some point one of them was spamming, so got added to our bad-words list.
Results 1 to 40 of 436
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width