Search:

Type: Posts; User: PlausiblyDamp

Page 1 of 13 1 2 3 4

Search: Search took 0.34 seconds.

  1. Re: Use VB6 to develop a tool similar to AstExplorer.net

    The very last section on that github page is "Build your own version for development". You will need git, nodejs, and yarn installed locally to be able to do those steps though. If you have both of...
  2. Re: Use VB6 to develop a tool similar to AstExplorer.net

    The github link even includes instructions for running locally, that might solve the OPs problem.
  3. Re: how to add Vb.net Usercontrol to vb6 Forms?

    That just sounds like you are getting the worst of both tools.
  4. Re: Install .NET CORE 5 Windows 98 or XP

    https://github.com/dotnet/core/blob/main/release-notes/5.0/5.0-supported-os.md indicates that nothing older than Windows 7 SP1 is supported, so it look like you are out of luck.
  5. Re: How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform (Win, Li

    Although mainly a Windows user, I really do find the linux package manager approach to installing software so much easier than a typical windows installation... Finding the download location,...
  6. Re: How to remove internet marks on a project item

    There isn't a C# version of Visual Studio, it is just Visual Studio (unless you are talking about one of the older Express versions)

    If it was a C# version why would you have a .vbproj anyway as...
  7. VS 2019 Re: Placing Graphics Functionality into a library class

    Have you added a reference to the System.Drawing.dll as well? If you want to use classes defined in a classlibrary you need to reference that library.
  8. VS 2019 Re: Placing Graphics Functionality into a library class

    Have you added a reference to System.Drawing? If not you will need to do that, you should also remove the lines


    Namespace System.Drawing
    Public Class Point
    End Class
    Public Class Color
    End...
  9. Re: UDP Server & Client -- Server is not saving packets!

    Might be worth doing a .Close on the FileStream you are writing to, IIRC not closing a FileStream can lead to data loss due to internal buffering.
  10. VS 2019 Re: Placing Graphics Functionality into a library class

    Might help if you told us what the error is, there are a lot of possible errors and the solution will obviously depend on the error.
  11. Re: Does New-Basic really need class inheritance?

    Interfaces tend to be a lot more useful compared to inheritance, however inheritance can make solving certain types of problem so much easier. then again even when I use a base class I still tend to...
  12. Re: Access to the path "C:\Program Files (x86)\....\MyFile.txt" is denied.

    By default you need admin permissions to write to anything under the Program files folder, you really shouldn't be writing anything there. Windows provides several locations you should be using...
  13. Re: centralized file reading and writing

    If you are just after a means of writing a log file (or some other form of logging) it might be easier to use an already existing solution such as Serilog, NLog, or Log4Net rather than trying to...
  14. 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...
  15. 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...
  16. Replies
    15
    Views
    952

    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...
  17. Replies
    3
    Views
    375

    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.
  18. Re: Help With Error: Subscript out of range

    vbproj is the extension for a VB.Net project rather than a VB6 project.
  19. 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...
  20. 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.
  21. 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...
  22. Replies
    6
    Views
    414

    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...
  23. 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?
  24. 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 /...
  25. 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...
  26. 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...
  27. 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...
  28. 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...
  29. 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...
  30. 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!
  31. 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...
  32. 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...
  33. 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.
  34. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I much prefer the C# syntax as well.
  35. 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...
  36. 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...
  37. 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.
  38. 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...
  39. 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...
  40. 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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width