Search:
Type: Posts; User: PlausiblyDamp
Search:
Search took 0.09 seconds.
-
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...
-
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...
-
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...
-
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.
-
vbproj is the extension for a VB.Net project rather than a VB6 project.
-
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...
-
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.
-
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...
-
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...
-
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?
-
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 /...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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!
-
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...
-
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...
-
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.
-
I much prefer the C# syntax as well.
-
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...
-
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...
-
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.
-
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...
-
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...
-
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...
-
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...
-
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.
-
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...
-
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...
-
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...
-
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...
-
Or if you want to really mix things up https://www.peachpie.io/
-
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...
-
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.
-
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...
-
https://github.com/dotnet - I would say that is pretty "Open".
-
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....
-
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...
|
Click Here to Expand Forum to Full Width
|