Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Re: error while returning values from API after passing parameters

    You have defined a route to the API with


    <Route("api/HandlerVBLoadterm/GetCustomersJSON/{customerid}/{customerid2}")>


    This means you need to provide a url that matches this pattern, the url...
  2. Re: In a very large project, how to deal with thousands of interface classes?

    According to http://codebetter.com/patricksmacchia/2008/03/18/number-of-types-in-the-net-framework/ it looks like the entire .Net 3.5 framework only had about 1,700 public interfaces - I suspect...
  3. Replies
    15
    Views
    719

    Re: Sorting Array

    I am guessing this is VB.Net from the syntax rather than VB Script...

    Firstly what error where you getting? VB.Net throws exceptions, "Error 424" doesn't really mean anything - what was the error...
  4. Replies
    3
    Views
    320

    Re: Testing references to Me

    Me just refers to the current instance of the class, that is the same if it is a Form, Control, or any other kind of Class.
  5. Re: Help With Error: Subscript out of range

    vbproj is the extension for a VB.Net project rather than a VB6 project.
  6. Re: It's a separate and more important source control question

    If you are using Git then your local working folder would also be a repository.

    You would then need some sort of remote Git server to push your changes to. There are several free options you could...
  7. Re: It's a separate and more important source control question

    If you are storing your code in a git repo, you probably don't want to also have it on a one drive. Not entirely sure how well that would handle the various hidden files etc. that go into git.
  8. VS 2017 Re: VB .NET BC30002 VB.NET Type is not defined

    It might be a lot easier if you could get rid of the circular dependency, otherwise this is going to be a recurring issue.

    Without knowing any more about the specifics though it is pretty hard to...
  9. Replies
    6
    Views
    382

    Re: Virtual Drive Question

    https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd might be useful as well. If the laptop hard drives are already setup correctly that tool can convert the physical hard drive to a...
  10. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    So .Net has the entirety of nuget.org as a major feature, so you can't forsee how powerful .Net is because you can't foresee what other nuget packages will appear. Who is ignorant?
  11. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    If you consider an owner drawn control easier than a few lines of XML to modify the appearance of an existing control then good for you. Your familiarity with VB6 and lack of familiarity with .Net /...
  12. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    This may come as a shock, but an owner drawn control can draw any UI even in WPF! Could you owner draw a control, that looks like a combobox, behaves like a combobox, and actually is exactly a...
  13. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    So show an example of using your component to customise the drop down of a combobox, rather than just putting a grid onto a form. Just a combobox, that when you click on the drop down will display...
  14. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    But you are comparing a 3rd party component, that isn't actually doing the same thing anyway.

    The WPF sample showed how to do a simple thing, customise the look of a combobox's drop down - that...
  15. Re: Windows 7 and Windows 10 compile differences.

    Simple concepts...

    You say they are different but haven't actually checked to prove this or identify what those differences are. So how do you know they are different? Belief is something for...
  16. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    That is because they are entirely different things, I am guessing mySpread is a spreadsheet component and a ComboBox.ItemTemplate is a way of changing the appearance of a combobox.

    Plus the WPF...
  17. Re: Windows 7 and Windows 10 compile differences.

    So two files with the same size are identical? Wow, I should be able to save on disk space by deleting all but one file for each unique file size!
  18. Re: Windows 7 and Windows 10 compile differences.

    Build a version on Windows 10, build a version from the same source on Windows 7 and do a binary file compare. If they come out the same then they are the same, if there are differences then at least...
  19. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    The later versions have improved a lot, the sql generation is certainly better although by no means perfect. The ability to integrate stored procs etc. with EF make a good compromise, use Linq when...
  20. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    It was more off the top of my head assuming I was using Entity Framework - would probably work though if you used VS to generate the context for you.
  21. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I much prefer the C# syntax as well.
  22. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Or working with Linq and an ORM it could be as simple as


    dim db as new AdventureWorksContext

    dim products = (from p in ctx.Products select p).ToList()
    dim cheapProducts = (from p in...
  23. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I can probably manage to do that, although the source file is only a 3 or 4 thousand lines, not really enough for a decent performance comparison.

    If we are always going to be aiming for the best...
  24. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Also if you are holding the data as a collection of objects, the objects can contain functionality above and beyond a simple in memory data store.
  25. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Unless the performance difference is significant I would go for the easier to read and write option every time. If performance is an issue (proven by benchmarking) then a more performance targeted...
  26. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    My previous reply was before I saw you asking for an example.

    Just knocked up a quick one using a file I had on my hard drive from some benchmarks I was running


    Imports System
    Imports...
  27. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Or I could use Linq with an in memory database, as part of the built in framework, often with comparable performance.

    Linq provides a lot more than just querying databases, the fact you get...
  28. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    The point with Linq is that I can use NoSQL (which has some good use cases), I can use files (when appropriate), databases, webservices, in memory collections, etc. and abstract out the underlying...
  29. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Also don't forget about the entire Async / Await approach that is built into the compiler / framework now, an absolute game changer compared to handling your own threading etc.
  30. Replies
    229
    Views
    8,587

    Re: Should i learn VB6?

    I remember reading some comments from a senior MS employee regarding this and apparently the usage of VB.Net with MVC was tiny. It just wasn't worth their dev time to continue supporting it in .Net...
  31. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    VS 2019 handles it really well, when you start typing an identifier it highlights the match in the intellisense but doesn't autocomplete it for you. Once it has highlighted an entry though you can...
  32. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Don't forget the built in refactoring hints, renaming of identifiers, support for .editorconfig, integrated unit tests, live unit testing, git integration, code lens, and it showing you all errors...
  33. VS 2019 Re: Anyone deployed .NET 5 app in Mac & Linux?

    Winforms is only going to be supported on Windows, later this year we should get https://devblogs.microsoft.com/dotnet/introducing-net-multi-platform-app-ui/ which will allow for proper multiplatform...
  34. Re: Is the VB6 community capable to grab the bull by its horns?

    Or if you want to really mix things up https://www.peachpie.io/
  35. Re: Is the VB6 community capable to grab the bull by its horns?

    VSCode - https://github.com/microsoft/vscode - core IDE, core language support for VB etc

    If I was going cross platform I would probably consider https://github.com/AvaloniaUI/Avalonia rather...
  36. Re: What are the ideal dimensions of a button

    https://docs.microsoft.com/en-us/windows/win32/uxguide/ctrl-command-buttons#recommended-sizing-and-spacing

    Not sure how useful that is but it is MS' recommendation.
  37. Replies
    229
    Views
    8,587

    Re: Should i learn VB6?

    Hard to say without knowing exactly what you are meaning, if you are simply talking about using a class to access an array then it is possible that the performance would be very similar. If you are...
  38. Re: Is the VB6 community capable to grab the bull by its horns?

    https://github.com/dotnet - I would say that is pretty "Open".
  39. Replies
    229
    Views
    8,587

    Re: Should i learn VB6?

    Generalisations are not a good idea, choosing the correct tool for the job is a good idea.

    If the overheads for a Collection don't work in specific scenario then don't use them in that scenario....
  40. Replies
    229
    Views
    8,587

    Re: Should i learn VB6?

    Collections are generally easier than arrays, performance is often comparable unless you are dealing with very large amounts of data. Resizing arrays however can be a lot slower than adding to a list...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width